[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 40a8457ce18639cd973c2ec044809cec.php
<?php $__env->startSection('title', translate('common.payment_method')); ?> <?php $__env->startSection('content'); ?> <?php if (isset($component)) { $__componentOriginala766c2d312d6f7864fe218e2500d2bba = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginala766c2d312d6f7864fe218e2500d2bba = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.container','data' => ['title' => 'payment method','buttonRoute' => ''.e(route('payment_method.create')).'','buttonTitle' => 'Add New']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('container'); ?> <?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(['title' => 'payment method','buttonRoute' => ''.e(route('payment_method.create')).'','buttonTitle' => 'Add New']); ?> <div class="table-responsive"> <table class="table"> <thead> <tr> <th><?php echo e(translate('common.sn')); ?></th> <th><?php echo e(translate('common.name')); ?></th> <th><?php echo e(translate('common.balance')); ?></th> <th><?php echo e(translate('common.option')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $collection; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($loop->iteration); ?></td> <td><?php echo e($row->name); ?></td> <td><?php echo e(priceFormat($row->total_balance)); ?></td> <td class="d-flex gap-1"> <button type="button" class="edit-button btn btn-sm btn-success" data-bs-toggle="modal" data-bs-target="#addBalanceFor<?php echo e($row->id); ?>"> <i class="fa fa-plus"></i> </button> </td> </tr> <div class="modal fade" data-bs-backdrop="static" id="addBalanceFor<?php echo e($row->id); ?>" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered"> <div class="modal-content"> <div class="modal-header"> <h1 class="modal-title fs-5"><?php echo e(translate('common.Add Balance')); ?></h1> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="modal-body"> <form action="<?php echo e(route('payment_method.add_balance')); ?>" method="post"> <?php echo csrf_field(); ?> <input type="hidden" name="method_id" value="<?php echo e($row->id); ?>"> <?php if (isset($component)) { $__componentOriginal5c2a97ab476b69c1189ee85d1a95204b = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5c2a97ab476b69c1189ee85d1a95204b = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.form.input','data' => ['type' => 'number','col' => 'col-lg-12','name' => 'balance','label' => 'Amount']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('form.input'); ?> <?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(['type' => 'number','col' => 'col-lg-12','name' => 'balance','label' => 'Amount']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal5c2a97ab476b69c1189ee85d1a95204b)): ?> <?php $attributes = $__attributesOriginal5c2a97ab476b69c1189ee85d1a95204b; ?> <?php unset($__attributesOriginal5c2a97ab476b69c1189ee85d1a95204b); ?> <?php endif; ?> <?php if (isset($__componentOriginal5c2a97ab476b69c1189ee85d1a95204b)): ?> <?php $component = $__componentOriginal5c2a97ab476b69c1189ee85d1a95204b; ?> <?php unset($__componentOriginal5c2a97ab476b69c1189ee85d1a95204b); ?> <?php endif; ?> <div class="col-lg-12 text-end"> <button type="submit" class="btn btn-primary"><?php echo e(translate('common.Submit')); ?></button> </div> </form> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <tr> <td></td> <td class="text-end bg-warning fw-bold"><?php echo e(translate('Total Balance ')); ?></td> <td><strong><?php echo e(priceFormat($total_balance)); ?></strong></td> </tr> </tbody> </table> <h3 class="mt-2"><?php echo e(translate('Added Balance History')); ?></h3> <table class="table"> <thead> <tr> <th><?php echo e(translate('common.sn')); ?></th> <th><?php echo e(translate('common.name')); ?></th> <th><?php echo e(translate('common.balance')); ?></th> <th><?php echo e(translate('common.created at')); ?></th> <th><?php echo e(translate('common.updated at')); ?></th> <th><?php echo e(translate('common.option')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $history; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($loop->iteration); ?></td> <td><?php echo e($row->name); ?></td> <td><?php echo e(priceFormat($row->balance)); ?></td> <td><?php echo e($row->created_at); ?></td> <td><?php echo e($row->updated_at); ?></td> <td class="d-flex gap-1"> <?php if (isset($component)) { $__componentOriginalccee3f0bc58db90f213d68f18f5edcc8 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalccee3f0bc58db90f213d68f18f5edcc8 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.action.edit','data' => ['route' => ''.e(route('payment_method.edit', $row->id)).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('action.edit'); ?> <?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(['route' => ''.e(route('payment_method.edit', $row->id)).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalccee3f0bc58db90f213d68f18f5edcc8)): ?> <?php $attributes = $__attributesOriginalccee3f0bc58db90f213d68f18f5edcc8; ?> <?php unset($__attributesOriginalccee3f0bc58db90f213d68f18f5edcc8); ?> <?php endif; ?> <?php if (isset($__componentOriginalccee3f0bc58db90f213d68f18f5edcc8)): ?> <?php $component = $__componentOriginalccee3f0bc58db90f213d68f18f5edcc8; ?> <?php unset($__componentOriginalccee3f0bc58db90f213d68f18f5edcc8); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal2c61e54573e9b9526a74a34c1a381796 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal2c61e54573e9b9526a74a34c1a381796 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.action.delete','data' => ['route' => ''.e(route('payment_method.delete', $row->id)).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('action.delete'); ?> <?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(['route' => ''.e(route('payment_method.delete', $row->id)).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal2c61e54573e9b9526a74a34c1a381796)): ?> <?php $attributes = $__attributesOriginal2c61e54573e9b9526a74a34c1a381796; ?> <?php unset($__attributesOriginal2c61e54573e9b9526a74a34c1a381796); ?> <?php endif; ?> <?php if (isset($__componentOriginal2c61e54573e9b9526a74a34c1a381796)): ?> <?php $component = $__componentOriginal2c61e54573e9b9526a74a34c1a381796; ?> <?php unset($__componentOriginal2c61e54573e9b9526a74a34c1a381796); ?> <?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <div class="pagination"> <?php echo $history->links(); ?> </div> </div> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginala766c2d312d6f7864fe218e2500d2bba)): ?> <?php $attributes = $__attributesOriginala766c2d312d6f7864fe218e2500d2bba; ?> <?php unset($__attributesOriginala766c2d312d6f7864fe218e2500d2bba); ?> <?php endif; ?> <?php if (isset($__componentOriginala766c2d312d6f7864fe218e2500d2bba)): ?> <?php $component = $__componentOriginala766c2d312d6f7864fe218e2500d2bba; ?> <?php unset($__componentOriginala766c2d312d6f7864fe218e2500d2bba); ?> <?php endif; ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eliosofonline/pham.eliosof.com/resources/views/method/list.blade.php ENDPATH**/ ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.7 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002