Path : /var/www/html/moneyexchange/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/moneyexchange/storage/framework/views/2c39df9eb0bad45aaa4d6fbc9f1c8b88669f6ce9.php |
<?php $__env->startSection('content'); ?> <div class="page-wrapper"> <div class="page-breadcrumb"> <div class="row"> <div class="col-12 d-flex no-block align-items-center"> <h4 class="page-title"><?php echo e(__('message.bank account transaction')); ?></h4> </div> </div> </div> <div class="container-fluid" style="padding-top: 0px;"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body"> <div class="row"> <form method="get" id="search-form"> <input type="hidden" value="<?php echo e($perpage); ?>" name="perpage"> <div class="col-sm-12 col-xs-12 row"> <div class="col-md-2 col-xs-6"> <input type="text" id="datepicker_start" class="form-control hasDatepicker" name="start_date" title="<?php echo e(__('message.start date')); ?>" value="<?php echo e($start_date); ?>" placeholder="<?php echo e(__('message.start date')); ?>" readonly=""> </div> <div class="col-md-2 col-xs-6"> <input type="text" id="datepicker_end" class="form-control hasDatepicker" name="end_date" title="<?php echo e(__('message.end date')); ?>" value="<?php echo e($end_date); ?>" placeholder="<?php echo e(__('message.end date')); ?>" readonly=""> </div> <div class="col-md-2 col-xs-6"> <select name="bank_account_id" id="pet-select" class="form-control"> <option value=""><?php echo e(__('message.bank account')); ?></option> <?php $__currentLoopData = $bankAccounts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index=>$bankAccount): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($bankAccount->id); ?>" <?php if($bankAccount->id==$bank_account_id): ?> selected <?php endif; ?>> <?php echo e($bankAccount->bank->name); ?> (<?php echo e($bankAccount->bank_username); ?>/<?php echo e($bankAccount->bank_number); ?>) </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="col-md-2 col-xs-6"> <select name="currency_id" id="pet-select" class="form-control"> <option value=""><?php echo e(__('message.currency')); ?></option> <?php $__currentLoopData = $currencies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index=>$currency): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($currency->id); ?>" <?php if($currency->id==$currency_id): ?> selected <?php endif; ?>> <?php echo e($currency->name); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="col-md-2 col-xs-6"> <select name="bank_account_transaction_type_id" id="pet-select" class="form-control"> <option value=""><?php echo e(__('message.exchange money')); ?></option> <?php $__currentLoopData = $bankAccountTransactionTypes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index=>$bankAccountTransactionType): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($bankAccountTransactionType->id); ?>" <?php if($bankAccountTransactionType->id==$bank_account_transaction_type_id): ?> selected <?php endif; ?>> <?php echo e($bankAccountTransactionType->name); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="col-md-2 col-xs-6" style="padding-bottom:10px;"> <button type="submit" class="btn btn-primary btn-sm"> <i class="fa fa-search"></i> <?php echo e(__('message.search')); ?> </button> <a href="<?php echo e(route('bank-account-transactions.index')); ?>" type="reset" class="btn btn-sm"> <i class="fa fa-refresh"></i> <span class="hidden-xs"><?php echo e(__('message.refresh')); ?></span> </a> </div> </div> <div class="col-sm-12 col-xs-12"> <?php echo $__env->make('app.search-button', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <a href="<?php echo e(route('bank-account-transactions.download')); ?>" class="btn search-date btn-sm" id="download-button" onclick="return clickdownload()" <?php if(count($bankAccountTransactions)<=0): ?> disabled <?php endif; ?>> <i class="fa fa-download"></i> <?php echo e(__('message.export excel')); ?> </a> </div> </form> </div> <div class="table-responsive"> <table id="zero_config" class="table table-striped table-bordered"> <thead> <tr> <th>#</th> <th><?php echo e(__('message.bank name')); ?></th> <th><?php echo e(__('message.bank account')); ?></th> <th><?php echo e(__('message.type')); ?></th> <th><?php echo e(__('message.transaction type')); ?></th> <th><?php echo e(__('message.amount')); ?></th> <th><?php echo e(__('message.credit before transaction')); ?></th> <th><?php echo e(__('message.credit after transaction')); ?></th> <th><?php echo e(__('message.note')); ?></th> <th><?php echo e(__('message.created by')); ?></th> <th><?php echo e(__('message.created date')); ?></th> </tr> </thead> <tbody> <?php $currency=''; $cashin = 0; $cashout = 0; ?> <?php $__currentLoopData = $bankAccountTransactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $bankAccountTransaction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $currency = $bankAccountTransaction->bankAccount->currency??''; if($bankAccountTransaction->transaction_type=='in'){ $cashin = $cashin + $bankAccountTransaction->amount; } else{ $cashout = $cashout + $bankAccountTransaction->amount; } ?> <tr class="cash_<?php echo e($bankAccountTransaction->transaction_type); ?>"> <td><?php echo e($index+1); ?></td> <td><?php echo e($bankAccountTransaction->bankAccount->bank->name??''); ?></td> <td> <?php echo e($bankAccountTransaction->bankAccount->bank_username); ?> <br/> <?php echo e($bankAccountTransaction->bankAccount->bank_number); ?> </td> <td> <?php echo e($bankAccountTransaction->transaction_type=='in'?__('message.cash in'):__('message.cash out')); ?> </td> <td> <?php echo e($bankAccountTransaction->bankAccountTransactionType->name??__('message.exchange money')); ?> </td> <td class="credit"> <?php echo e($currency->name); ?> <?php echo e(number_format($bankAccountTransaction->amount,$currency->decimal_precision)); ?> </td> <td class="credit blur"> <?php echo e($currency->name); ?> <?php echo e(number_format($bankAccountTransaction->credit_before_transaction,$currency->decimal_precision)); ?> </td> <td class="credit blur"> <?php echo e($currency->name); ?> <?php echo e(number_format($bankAccountTransaction->credit_after_transaction,$currency->decimal_precision)); ?> </td> <td><?php echo e($bankAccountTransaction->note); ?></td> <td><?php echo e($bankAccountTransaction->user->name??''); ?></td> <td title="<?php echo e($bankAccountTransaction->created_at); ?>"> <?php echo e($bankAccountTransaction->created_at->format('d/m/Y H:i:s')); ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php if(isset($currency->name)): ?> <?php if($bank_account_id && $currency!=null): ?> <thead class="footer"> <tr> <th colspan="3" rowspan="2"> </th> <th colspan="2"> <?php echo e(__('message.cash in')); ?> </th> <th colspan="6"> <?php echo e(__('message.cash out')); ?> </th> </tr> <tr> <th colspan="2"> <?php echo e($currency->name); ?> <?php echo e(number_format($cashin,$currency->decimal_precision)); ?> </th> <th colspan="6"> <?php echo e($currency->name); ?> <?php echo e(number_format($cashout,$currency->decimal_precision)); ?> </th> </tr> </thead> <tr style="background-color: #B8860B;color:white"> <th colspan="5" style="text-align: center;"> <?php echo e(__('message.total')); ?> </th> <th colspan="6" style="font-weight:bold;"> <?php echo e($currency->name); ?> <?php echo e(number_format($cashin-$cashout,$currency->decimal_precision)); ?> </th> </tr> <?php endif; ?> <?php endif; ?> </tbody> </table> <div class="rows"> <?php echo e($bankAccountTransactions->appends($_GET)->links()); ?> <?php if($bankAccountTransactions->hasPages()): ?> <select name="perpage" style="display: inline;border:1px solid #CCC;" onchange="loadPerPage();"> <option value="25" <?php if(isset($perpage) & $perpage==25): ?> selected <?php endif; ?>>25</option> <option value="50" <?php if(isset($perpage) & $perpage==50): ?> selected <?php endif; ?>>50</option> <option value="100" <?php if(isset($perpage) & $perpage==100): ?> selected <?php endif; ?>>100</option> <option value="150" <?php if(isset($perpage) & $perpage==150): ?> selected <?php endif; ?>>150</option> <option value="200" <?php if(isset($perpage) & $perpage==200): ?> selected <?php endif; ?>>200</option> <option value="250" <?php if(isset($perpage) & $perpage==250): ?> selected <?php endif; ?>>250</option> <option value="300" <?php if(isset($perpage) & $perpage==300): ?> selected <?php endif; ?>>300</option> <option value="350" <?php if(isset($perpage) & $perpage==350): ?> selected <?php endif; ?>>350</option> <option value="400" <?php if(isset($perpage) & $perpage==400): ?> selected <?php endif; ?>>400</option> <option value="1000" <?php if(isset($perpage) & $perpage==1000): ?> selected <?php endif; ?>>1000</option> <option value="1500" <?php if(isset($perpage) & $perpage==1500): ?> selected <?php endif; ?>>1500</option> </select> <?php endif; ?> </div> </div> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection("scripts"); ?> <script> jQuery("#datepicker_start").datepicker({ format: 'yyyy-mm-d', autoclose: true, todayHighlight: true }); jQuery("#datepicker_end").datepicker({ format: 'yyyy-mm-d', autoclose: true, todayHighlight: true }); </script> <?php $__env->stopSection(); ?> <?php $__env->startSection('meta'); ?> <title><?php echo e(__('message.bank account transaction')); ?></title> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/moneyexchange/resources/views/bankAccountTransaction/bankAccountTransactionList.blade.php ENDPATH**/ ?>