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/a534227f81243937d9dddc1a2a224169b84b12c2.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.transfer out 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="currency_id" id="pet-select" class="form-control"> <option value=""><?php echo e(__('message.all currencies')); ?></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> <?php if(Auth::user()->role_id==2): ?> <div class="col-md-2 col-xs-6"> <select name="user_id" id="pet-select" class="form-control"> <option value=""><?php echo e(__('message.all staff')); ?></option> <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index=>$user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($user->id); ?>" <?php if($user->id==$user_id): ?> selected <?php endif; ?>> <?php echo e($user->name); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <?php endif; ?> <div class="col-md-3 col-xs-6" style="padding-bottom:10px;"> <button type="submit" class="btn btn-primary"> <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"> <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(); ?> </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 account')); ?></th> <th><?php echo e(__('message.sender name')); ?></th> <th><?php echo e(__('message.sender phone')); ?></th> <th><?php echo e(__('message.receiver name')); ?></th> <th><?php echo e(__('message.receiver phone')); ?></th> <th><?php echo e(__('message.code')); ?></th> <th><?php echo e(__('message.amount')); ?></th> <th><?php echo e(__('message.partner fee')); ?></th> <th><?php echo e(__('message.fee')); ?></th> <th><?php echo e(__('message.note')); ?></th> <th><?php echo e(__('message.created by')); ?></th> <th><?php echo e(__('message.created date')); ?></th> <th><?php echo e(__('message.action')); ?></th> </tr> </thead> <tbody> <?php ?> <?php $__currentLoopData = $transactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $transaction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $currency= $transaction->currency->name; ?> <tr class="disabled-row"> <td><?php echo e($index+1); ?></td> <td> <?php if(isset($transaction->fromBankAccount)): ?> <?php echo e($transaction->bank->name); ?> <?php echo e($transaction->fromBankAccount->currency->name??""); ?> (<?php echo e($transaction->fromBankAccount->bank_username); ?>/<?php echo e($transaction->fromBankAccount->bank_number); ?>) <?php endif; ?> </td> <td> <?php echo e($transaction->sender_name); ?> </td> <td> <?php echo e($transaction->sender_phone); ?> </td> <td> <?php echo e($transaction->receiver_name); ?> </td> <td> <?php echo e($transaction->receiver_phone); ?> </td> <td> <?php echo e($transaction->code); ?> </td> <td class="credit"> <?php echo e($currency); ?> <?php echo e(number_format($transaction->amount,2)); ?> </td> <td class="credit blur"> <?php echo e($currency); ?> <?php echo e(number_format($transaction->partner_fee,2)); ?> </td> <td class="credit"> <?php echo e($currency); ?> <?php echo e(number_format($transaction->fee,2)); ?> </td> <td> <?php echo e($transaction->note); ?> </td> <td><?php echo e($transaction->user->name??''); ?></td> <td title="<?php echo e($transaction->created_at); ?>"> <?php echo e($transaction->created_at->format('d/m/Y H:i')); ?> </td> <td> <!-- <button type="button" class="btn btn-primary" onclick="printInvoice('<?php echo e($transaction->id); ?>')"> <i class="fa fa-print"></i> <?php echo e(__('message.print')); ?> </button> --> <form method="POST" action="<?php echo e(route('transfers.destroy', $transaction)); ?>" style="display:inline"> <input name="_method" type="hidden" value="DELETE"> <?php echo e(csrf_field()); ?> <button type="submit" class="btn btn-danger" onclick="return confirm('<?php echo e(__('message.do you want to delete')); ?>?')"> <i class="fas fa-trash" style="color: #FFF;"></i> </button> </form> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <div class="rows"> <?php echo e($transactions->appends($_GET)->links()); ?> <?php if($transactions->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 }); function printInvoice(transaction_id){ window.open("<?php echo e(route('exchange-invoice')); ?>/"+transaction_id); } </script> <?php $__env->stopSection(); ?> <?php $__env->startSection('meta'); ?> <title><?php echo e(__('message.transfer out 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/transfer/transactions/transferOutTransaction.blade.php ENDPATH**/ ?>