File manager - Edit - /var/www/payraty/accounting_main/storage/framework/views/b1c093437aceb43aa14fc3fea5ff411d.php
Back
<?php $__env->startSection('breadcrumb'); ?> <li class="breadcrumb-item"><a href="<?php echo e(route('dashboard')); ?>"><?php echo e(__('Dashboard')); ?> </a></li> <li class="breadcrumb-item active"><?php echo e(__('Bank Balance Transfer')); ?></li> <?php $__env->stopSection(); ?> <?php $__env->startSection('action-btn'); ?> <div class="float-end"> <!-- <a class="btn btn-sm btn-primary" data-bs-toggle="collapse" href="#multiCollapseExample1" role="button" aria-expanded="false" aria-controls="multiCollapseExample1" data-bs-toggle="tooltip" title="<?php echo e(__('Filter')); ?>"> <i class="ti ti-filter"></i> </a> --> <div class="d-flex justify-content-between"> <a href="#" data-url="<?php echo e(route('transfer.create')); ?>" data-ajax-popup="true" data-title="<?php echo e(__('Create Transfer')); ?>" data-bs-toggle="tooltip" title="<?php echo e(__('Create')); ?>" class="btn btn-outline-primary-dark d-flex align-items-center"> <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"> <path d="M12 5V19" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M5 12H19" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span class="ms-2">Add New Transfer</span> </a> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class="col-sm-12"> <div class=" multi-collapse mt-2 " id="multiCollapseExample1"> <div class="card"> <div class="card-body"> <?php echo e(Form::open(['route' => ['transfer.index'], 'method' => 'GET', 'id' => 'transfer_form'])); ?> <div class="d-flex align-items-center justify-content-end"> <div class="col-xl-3 col-lg-3 col-md-6 col-sm-12 col-12 mr-2"> <div class="btn-box"> <?php echo e(Form::label('date', __('Date'), ['class' => 'text-type'])); ?> <?php echo e(Form::text('date', isset($_GET['date']) ? $_GET['date'] : date('Y-m-d'), ['class' => 'form-control month-btn', 'id' => 'pc-daterangepicker-1', 'placeholder' => 'YYYY-MM-DD'])); ?> </div> </div> <div class="col-xl-3 col-lg-3 col-md-6 col-sm-12 col-12 mr-2"> <div class="btn-box"> <?php echo e(Form::label('f_account', __('From Account'), ['class' => 'text-type'])); ?> <?php echo e(Form::select('f_account', $account, isset($_GET['f_account']) ? $_GET['f_account'] : '', ['class' => 'form-control'])); ?> </div> </div> <div class="col-xl-3 col-lg-3 col-md-6 col-sm-12 col-12"> <div class="btn-box"> <?php echo e(Form::label('t_account', __('To Account'), ['class' => 'text-type'])); ?> <?php echo e(Form::select('t_account', $account, isset($_GET['t_account']) ? $_GET['t_account'] : '', ['class' => 'form-control'])); ?> </div> </div> <div class="col-auto float-end ms-2 mt-4"> <a href="#" class="btn btn-sm btn-primary" onclick="document.getElementById('transfer_form').submit(); return false;" data-bs-toggle="tooltip" title="Apply" data-original-title="<?php echo e(__('apply')); ?>"> <span class="btn-inner--icon"><i class="ti ti-search"></i></span> </a> <a href="<?php echo e(route('transfer.index')); ?>" class="btn btn-sm btn-danger" data-bs-toggle="tooltip" title="<?php echo e(__('Reset')); ?>"> <span class="btn-inner--icon"><i class="ti ti-refresh text-white-off "></i></span> </a> </div> </div> <?php echo e(Form::close()); ?> </div> </div> </div> </div> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-body table-border-style"> <h5></h5> <div class="table-responsive"> <table class="table"> <thead> <tr> <th> <?php echo e(__('Date')); ?></th> <th> <?php echo e(__('From Account')); ?></th> <th> <?php echo e(__('To Account')); ?></th> <th> <?php echo e(__('Amount')); ?></th> <th> <?php echo e(__('Reference')); ?></th> <th> <?php echo e(__('Description')); ?></th> <?php if(Gate::check('edit transfer') || Gate::check('delete transfer')): ?> <th width="10%"> <?php echo e(__('Action')); ?></th> <?php endif; ?> </tr> </thead> <tbody> <?php if($transfers->isEmpty()): ?> <tr> <td colspan="10" class="text-center"> <img src="<?php echo e(asset('assets/images/no-data.png')); ?>" alt="No Data" style="max-width: 350px; margin-bottom: 50px; margin-top: 150px;"> <p><?php echo e(__('Oops, no transfers yet.')); ?></p> <a href="#" data-url="<?php echo e(route('transfer.create')); ?>" data-ajax-popup="true" data-title="<?php echo e(__('Create Transfer')); ?>" data-bs-toggle="tooltip" title="<?php echo e(__('Create')); ?>" class="btn" style="background-color: #002C77; color: white;"> <i class="ti ti-plus"></i> <span class="ms-2"><?php echo e(__('Create New Transfer')); ?></span> </a> </td> </tr> <?php else: ?> <?php $__currentLoopData = $transfers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $transfer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="font-style"> <td><?php echo e(\Auth::user()->dateFormat($transfer->date)); ?></td> <td><?php echo e(!empty($transfer->fromBankAccount()) ? $transfer->fromBankAccount()->bank_name . ' ' . $transfer->fromBankAccount()->holder_name : ''); ?> </td> <td><?php echo e(!empty($transfer->toBankAccount()) ? $transfer->toBankAccount()->bank_name . ' ' . $transfer->toBankAccount()->holder_name : ''); ?> </td> <td><?php echo e(\Auth::user()->priceFormat($transfer->amount)); ?></td> <td><?php echo e($transfer->reference); ?></td> <td><?php echo e($transfer->description); ?></td> <?php if(Gate::check('edit transfer') || Gate::check('delete transfer')): ?> <td class="Action"> <span> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('edit transfer')): ?> <div class="action-btn bg-info ms-2"> <a href="#" class="mx-3 btn btn-sm align-items-center" data-url="<?php echo e(route('transfer.edit', $transfer->id)); ?>" data-ajax-popup="true" title="<?php echo e(__('Edit')); ?>" data-title="<?php echo e(__('Edit Transfer')); ?>" data-bs-toggle="tooltip" data-original-title="<?php echo e(__('Edit')); ?>"> <i class="ti ti-edit text-white"></i> </a> </div> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('delete transfer')): ?> <div class="action-btn bg-danger ms-2"> <?php echo Form::open([ 'method' => 'DELETE', 'route' => ['transfer.destroy', $transfer->id], 'id' => 'delete-form-' . $transfer->id, ]); ?> <a href="#" class="mx-3 btn btn-sm align-items-center bs-pass-para" data-bs-toggle="tooltip" data-original-title="<?php echo e(__('Delete')); ?>" title="<?php echo e(__('Delete')); ?>" data-confirm="<?php echo e(__('Are You Sure?') . '|' . __('This action can not be undone. Do you want to continue?')); ?>" data-confirm-yes="document.getElementById('delete-form-<?php echo e($transfer->id); ?>').submit();"> <i class="ti ti-trash text-white text-white"></i> </a> <?php echo Form::close(); ?> </div> <?php endif; ?> </span> </td> <?php endif; ?> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </tbody> </table> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/payraty/accounting_main/resources/views/transfer/index.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings