| Path : /var/www/html/thb_loan_system/storage/framework/views/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : /var/www/html/thb_loan_system/storage/framework/views/c5c2e1259e4c64b1347552b07a1a910f952e960a.php |
<?php $__env->startSection('title'); ?>
<?php echo e(translate('journal entry')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<div class="panel panel-white">
<div class="panel-heading">
<h6 class="panel-title">
<?php echo e(translate('journal entry')); ?>
<?php if(!empty($start_date)): ?>
for period: <b><?php echo e($start_date); ?> to <?php echo e($end_date); ?></b>
<?php endif; ?>
</h6>
<div class="heading-elements">
</div>
</div>
<div class="panel-body hidden-print">
<?php echo Form::open(array('url' => Request::url(), 'method' => 'post','class'=>'form-horizontal', 'name' => 'form')); ?>
<div class="row">
<div class="col-md-4">
<?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.forms.date-range-picker','data' => ['name' => 'date_range','startDate' => $start_date,'endDate' => $end_date]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('forms.date-range-picker'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'date_range','start-date' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($start_date),'end-date' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($end_date)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
</div>
<div class="col-md-4">
<?php echo Form::label('account_id',translate('chart_of_account'),array('class'=>'')); ?>
<?php echo Form::select('account_id',$chart_of_accounts,$account_id, array('class' => 'form-control select2', 'placeholder'=>translate('select'))); ?>
</div>
</div>
<div class="panel-body">
<div class="row">
<div class="col-xs-12">
<button type="submit" class="btn btn-success"><?php echo e(translate('search')); ?>!
</button>
<a href="<?php echo e(Request::url()); ?>"
class="btn btn-danger"><?php echo e(translate('reset')); ?>!</a>
</div>
</div>
</div>
<?php echo Form::close(); ?>
</div>
<!-- /.panel-body -->
</div>
<!-- /.box -->
<?php if(!empty($start_date)): ?>
<div class="panel panel-white">
<div class="panel-body ">
<div class="table-responsive">
<table id="data-table" class="table table-striped table-condensed table-hover">
<thead>
<tr>
<th>#</th>
<th><?php echo e(translate('transaction id')); ?></th>
<th><?php echo e(translate('transaction type')); ?></th>
<th><?php echo e(translate('date')); ?></th>
<th><?php echo e(translate('account')); ?></th>
<th><?php echo e(translate('debit')); ?></th>
<th><?php echo e(translate('credit')); ?></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($key->id); ?></td>
<td><?php echo e($key->reference); ?></td>
<td>
<?php if($key->transaction_type=='disbursement'): ?>
<?php echo e(translate('disbursement')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='accrual'): ?>
<?php echo e(translate('accrual')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='deposit'): ?>
<?php echo e(translate('deposit')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='withdrawal'): ?>
<?php echo e(translate('withdrawal')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='manual_entry'): ?>
<?php echo e(translate('manual_entry')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='pay_charge'): ?>
<?php echo e(translate('pay')); ?> <?php echo e(translate('charge')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='transfer_fund'): ?>
<?php echo e(translate('transfer_fund charge')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='expense'): ?>
<?php echo e(translate('expense')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='payroll'): ?>
<?php echo e(translate('payroll')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='income'): ?>
<?php echo e(translate('income')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='penalty'): ?>
<?php echo e(translate('penalty')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='fee'): ?>
<?php echo e(translate('fee')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='close_write_off'): ?>
<?php echo e(translate('write waiver')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='repayment_recovery'): ?>
<?php echo e(translate('repayment')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='repayment'): ?>
<?php echo e(translate('repayment')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='interest_accrual'): ?>
<?php echo e(translate('interest accrual')); ?>
<?php endif; ?>
<?php if($key->transaction_type=='fee_accrual'): ?>
<?php echo e(translate('fee accrual')); ?>
<?php endif; ?>
</td>
<td><?php echo e($key->date); ?></td>
<td>
<?php if(!empty($key->chart)): ?>
<?php echo e($key->chart->name); ?>
<?php endif; ?>
</td>
<td class="credit"><?php echo e(currency_converter($key->debit)); ?></td>
<td class="credit"><?php echo e(currency_converter($key->credit)); ?></td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
<!-- /.panel-body -->
</div>
<?php endif; ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('footer-scripts'); ?>
<script>
$('#data-table').DataTable({
"order": [[0, "asc"]],
"columnDefs": [
{"orderable": false, "targets": []}
],
"language": {
"lengthMenu": "<?php echo e(translate('lengthMenu')); ?>",
"zeroRecords": "<?php echo e(translate('zeroRecords')); ?>",
"info": "<?php echo e(translate('info')); ?>",
"infoEmpty": "<?php echo e(translate('infoEmpty')); ?>",
"search": "<?php echo e(translate('search')); ?>",
"infoFiltered": "<?php echo e(translate('infoFiltered')); ?>",
"paginate": {
"first": "<?php echo e(translate('first')); ?>",
"last": "<?php echo e(translate('last')); ?>",
"next": "<?php echo e(translate('next')); ?>",
"previous": "<?php echo e(translate('previous')); ?>"
}
},
responsive: false
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/thb_loan_system/resources/views/accounting/journal.blade.php ENDPATH**/ ?>