File manager - Edit - /var/www/payraty/accounting_main/storage/framework/views/d5c544171260191a54956e9280ca069e.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 Statement Import')); ?></li> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class="col-sm-12"> <div class="card mt-2"> <div class="card-header"> <h5><?php echo e(__('Upload Bank Statement')); ?></h5> <p class="text-muted"><?php echo e(__('Supported file types: CSV & XLSX.')); ?></p> </div> <div class="card-body"> <?php echo e(Form::open(['route' => ['bankStatement.upload'], 'method' => 'POST', 'enctype' => 'multipart/form-data'])); ?> <div class="row align-items-center"> <div class="col-md-8"> <div class="form-group"> <?php echo e(Form::label('file', __('Choose File'), ['class' => 'form-label'])); ?> <?php echo e(Form::file('bank_statement', [ 'class' => 'form-control', 'accept' => '.csv, .xlsx', ])); ?> </div> </div> <div class="col-md-4 text-end"> <button type="submit" class="btn btn-primary"> <?php echo e(__('Upload')); ?> </button> </div> </div> <?php echo e(Form::close()); ?> <div class="mt-3"> <a href="https://payraty-files.s3.eu-west-2.amazonaws.com/uploads/673fdfaa54ec6.xlsx" class="text-primary"> <?php echo e(__('Download Sample File')); ?> </a> </div> </div> </div> </div> </div> <div class="row mt-4"> <div class="col-md-12"> <div class="card"> <div class="card-body table-border-style"> <h5></h5> <div class="d-flex flex-row justify-content-between align-items-center margin-bottom-big"> <!-- All Employees Header --> <div class="flex-grow-1"> <h2 class="text-lg font-semibold text-primary">All Bank Statements</h2> </div> <!-- Search Input with Icon --> <div class="flex-grow-1 position-relative mt-4 mt-lg-0"> <div class="input-group" style="max-width: 400px;"> <span class="input-group-text bg-white border-0"> <i class="fas fa-search text-secondary"></i> </span> <input type="search" class="form-control border-0 shadow-sm text-sm bg-white border-grey-light-300" placeholder="Search by name, email or id..." /> </div> </div> <!-- Filters Dropdowns --> <div class="d-flex flex-lg-row flex-column justify-content-end align-items-lg-center align-items-start mt-4 mt-lg-0"> <!-- Pay Group Dropdown --> <div class="mb-3 mb-lg-0 me-lg-4" style="width: 150px;"> <select class="form-select bg-white" aria-label="Pay Group"> <option value="all" selected>Filter</option> <option value="monthly">Monthly</option> <option value="hourly">Hourly</option> </select> </div> <!-- Employment Status Dropdown --> <div class="mb-3 mb-lg-0" style="width: 150px;"> <select class="form-select bg-white" aria-label="Employment Status"> <option value="all" selected>Sort</option> <option value="full-time">New</option> <option value="part-time">Old</option> </select> </div> </div> </div> <div class="table-responsive"> <table class="table"> <thead> <tr> <th><?php echo e(__('Date')); ?></th> <th><?php echo e(__('Withdrawals')); ?></th> <th><?php echo e(__('Deposits')); ?></th> <th><?php echo e(__('Payee')); ?></th> <th><?php echo e(__('Description')); ?></th> <th><?php echo e(__('Reference Number')); ?></th> </tr> </thead> <tbody> <?php if($statements->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 bank statements yet.')); ?></p> </td> </tr> <?php else: ?> <?php $__currentLoopData = $statements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $statement): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e(\Auth::user()->dateFormat($statement->date)); ?></td> <td><?php echo e(\Auth::user()->priceFormat($statement->withdrawals)); ?></td> <td><?php echo e(\Auth::user()->priceFormat($statement->deposits)); ?></td> <td><?php echo e($statement->payee); ?></td> <td><?php echo e($statement->description); ?></td> <td><?php echo e($statement->reference_number); ?></td> </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/bankStatement/index.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings