[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 16c203f0c620bf1fb787a47cf0bfbd0c.php
<?php $__env->startSection('content'); ?> <div class="row"> <?php if(!isset($payslips)): ?> <div class="col-lg-4 offset-lg-4"> <div class="card"> <div class="card-header text-center"> <span class="panel-title"><?php echo e(_lang('Make Payment')); ?></span> </div> <div class="card-body"> <form method="post" class="validate" autocomplete="off" action="<?php echo e(route('payslips.make_payment')); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Month')); ?></label> <select type="text" class="form-control auto-select" name="month" data-selected="<?php echo e(old('month', date('m'))); ?>" required> <?php for($m = 1; $m <=12; $m++): ?> <option value="<?php echo e(date('m', mktime(0, 0, 0, $m, 10))); ?>"><?php echo e(date('F', mktime(0, 0, 0, $m, 10))); ?></option> <?php endfor; ?> </select> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Year')); ?></label> <select type="text" class="form-control auto-select" name="year" data-selected="<?php echo e(old('year', date('Y'))); ?>" required> <?php for($y = 2020; $y <=date('Y'); $y++): ?> <option value="<?php echo e($y); ?>"><?php echo e($y); ?></option> <?php endfor; ?> </select> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Debit Account')); ?></label> <select class="form-control auto-select" data-selected="<?php echo e(old('account_id')); ?>" name="account_id" required> <option value=""><?php echo e(_lang('Select One')); ?></option> <?php $__currentLoopData = App\Models\Account::where('currency', request()->activeBusiness->currency)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $account): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($account->id); ?>"><?php echo e($account->account_name); ?> (<?php echo e($account->currency); ?>)</option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Expense Category')); ?></label> <select class="form-control auto-select select2-ajax" data-selected="<?php echo e(old('transaction_category_id')); ?>" name="transaction_category_id" data-table="transaction_categories" data-value="id" data-display="name" data-where="5" data-title="<?php echo e(_lang('New Category')); ?>" data-href="<?php echo e(route('transaction_categories.create')); ?>?type=expense" required> <option value=""><?php echo e(_lang('Select One')); ?></option> </select> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Payment Method')); ?></label> <select class="form-control auto-select select2-ajax" data-selected="<?php echo e(old('method')); ?>" name="method" data-table="transaction_methods" data-value="name" data-display="name" data-where="8" data-title="<?php echo e(_lang('New Method')); ?>" data-href="<?php echo e(route('transaction_methods.create')); ?>" required> <option value=""><?php echo e(_lang('Select One')); ?></option> </select> </div> </div> <div class="col-md-12 mt-2"> <div class="form-group"> <button type="submit" class="btn btn-primary btn-block"><?php echo e(_lang('Next')); ?></button> </div> </div> </div> </form> </div> </div> </div> <?php else: ?> <div class="col-lg-10 offset-lg-1"> <div class="card"> <div class="card-header text-center"> <span class="panel-title"><?php echo e(_lang('Make Payment')); ?></span> </div> <div class="card-body"> <form method="post" class="validate" autocomplete="off" action="<?php echo e(route('payslips.store_payment')); ?>"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-md-12"> <div class="table-responsive"> <table class="table table-bordered"> <thead> <th><?php echo e(_lang('Employee ID')); ?></th> <th><?php echo e(_lang('Name')); ?></th> <th><?php echo e(_lang('Month')); ?></th> <th><?php echo e(_lang('Year')); ?></th> <th class="text-right"><?php echo e(_lang('Net Salary')); ?></th> <th class="text-center"><?php echo e(_lang('Status')); ?></th> <th class="text-center"><?php echo e(_lang('Pay')); ?></th> </thead> <tbody> <?php $__currentLoopData = $payslips; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $payslip): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($payslip->staff->employee_id); ?></td> <td><?php echo e($payslip->staff->name); ?></td> <td><?php echo e(date('F', mktime(0, 0, 0, $payslip->month, 10))); ?></td> <td><?php echo e($payslip->year); ?></td> <td class="text-right"><?php echo e(formatAmount($payslip->net_salary, $currency_symbol)); ?></td> <td class="text-center"><?php echo xss_clean(payroll_status($payslip->status)); ?></td> <td class="text-center"> <label class="switch float-none mb-0"> <input type="checkbox" class="primary product_addon" name="payslip_ids[]" value="<?php echo e($payslip->id); ?>" checked> <span class="slider round"></span> </label> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> <div class="col-md-4 mt-2"> <div class="form-group"> <input type="hidden" name="account_id" value="<?php echo e($account_id); ?>"> <input type="hidden" name="transaction_category_id" value="<?php echo e($transaction_category_id); ?>"> <input type="hidden" name="method" value="<?php echo e($method); ?>"> <button type="submit" class="btn btn-primary"><i class="ti-check-box mr-2"></i> <?php echo e(_lang('Make Payment')); ?></button> </div> </div> </div> </form> </div> </div> </div> <?php endif; ?> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eliosofonline/acc.eliosof.com/resources/views/backend/user/payroll/make_payment.blade.php ENDPATH**/ ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.7 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002