shell bypass 403
<?php
$modules = 'role_currency_settings';
$role_id = Auth::user()->role_id;
?>
<?php $__env->startSection('content'); ?>
<?php echo $__env->make('admin.breadcrumb', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="row mb-3">
<div class="col-12">
<div class="card border-0 my-3 box-shadow">
<div class="card-body">
<div class="table-responsive">
<table class="table table-striped table-bordered py-3 zero-configuration w-100">
<thead>
<tr class="text-capitalize fw-500 fs-15">
<td></td>
<td>#</td>
<td><?php echo e(trans('labels.name')); ?></td>
<td><?php echo e(trans('labels.currency')); ?></td>
<td><?php echo e(trans('labels.exchange_rate')); ?></td>
<td><?php echo e(trans('labels.status')); ?></td>
<td><?php echo e(trans('labels.default')); ?></td>
<td><?php echo e(trans('labels.created_date')); ?></td>
<td><?php echo e(trans('labels.updated_date')); ?></td>
<?php if(Auth::user()->type == 1 || (Auth::user()->type == 4 && Auth::user()->vendor_id == 1)): ?>
<td><?php echo e(trans('labels.action')); ?></td>
<?php endif; ?>
</tr>
</thead>
<tbody id="tabledetails" data-url="">
<?php
$i = 1;
?>
<?php $__currentLoopData = $getcurrency; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $currency): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr class="fs-7 row1 align-middle" id="dataid<?php echo e($currency->id); ?>"
data-id="<?php echo e($currency->id); ?>">
<td><a tooltip="<?php echo e(trans('labels.move')); ?>">
<i class="fa-light fa-up-down-left-right mx-2"></i>
</a>
</td>
<td><?php
echo $i++;
?> </td>
<td><?php echo e($currency->name); ?></td>
<td>
<?php echo e($currency->currency); ?>
</td>
<td>
<?php echo e($currency->exchange_rate); ?>
</td>
<td>
<?php if($currency->is_available == '1'): ?>
<a tooltip="<?php echo e(trans('labels.active')); ?>"
<?php if(env('Environment') == 'sendbox'): ?> onclick="myFunction()" <?php else: ?> onclick="statusupdate('<?php echo e(URL::to('admin/currency-settings/changestatus-' . $currency->code . '/2')); ?>')" <?php endif; ?>
class="btn btn-sm btn-outline-success hov <?php echo e(Auth::user()->type == 4 ? (helper::check_access('role_currency_settings', Auth::user()->role_id, $vendor_id, 'edit') == 1 ? '' : 'd-none') : ''); ?>">
<i class="fas fa-check"></i>
</a>
<?php else: ?>
<a tooltip="<?php echo e(trans('labels.inactive')); ?>"
<?php if(env('Environment') == 'sendbox'): ?> onclick="myFunction()" <?php else: ?> onclick="statusupdate('<?php echo e(URL::to('admin/currency-settings/changestatus-' . $currency->code . '/1')); ?>')" <?php endif; ?>
class="btn btn-sm btn-outline-danger hov <?php echo e(Auth::user()->type == 4 ? (helper::check_access('role_currency_settings', Auth::user()->role_id, $vendor_id, 'edit') == 1 ? '' : 'd-none') : ''); ?>">
<i class="fas fa-close mx-1"></i>
</a>
<?php endif; ?>
</td>
<td>
<?php if(helper::appdata()->default_currency == $currency->code): ?>
<a <?php if(env('Environment') == 'sendbox'): ?> onclick="myFunction()" <?php else: ?> onclick="statusupdate('<?php echo e(URL::to('admin/currency-settings/setdefault-' . $currency->code . '/2')); ?>')" <?php endif; ?>
class="btn btn-sm btn-outline-success hov <?php echo e(Auth::user()->type == 4 ? (helper::check_access('role_tax', Auth::user()->role_id, Auth::user()->vendor_id, 'edit') == 1 ? '' : 'd-none') : ''); ?>"
tooltip="<?php echo e(trans('labels.active')); ?>"><i class="fas fa-check"></i></a>
<?php else: ?>
<a <?php if(env('Environment') == 'sendbox'): ?> onclick="myFunction()" <?php else: ?> onclick="statusupdate('<?php echo e(URL::to('admin/currency-settings/setdefault-' . $currency->code . '/1')); ?>')" <?php endif; ?>
class="btn btn-sm btn-outline-danger hov <?php echo e(Auth::user()->type == 4 ? (helper::check_access('role_tax', Auth::user()->role_id, Auth::user()->vendor_id, 'edit') == 1 ? '' : 'd-none') : ''); ?>"
tooltip="<?php echo e(trans('labels.inactive')); ?>"><i
class="fas fa-close"></i></a>
<?php endif; ?>
</td>
<td><?php echo e(helper::date_format($currency->created_at)); ?><br>
<?php echo e(helper::date_time_format($currency->created_at)); ?>
</td>
<td><?php echo e(helper::date_format($currency->updated_at)); ?><br>
<?php echo e(helper::date_time_format($currency->updated_at)); ?>
</td>
<td>
<div class="d-flex flex-wrap gap-2">
<a href="<?php echo e(URL::to('admin/currency-settings/currency/edit-' . $currency->id)); ?>"
class="btn btn-info hov btn-sm <?php echo e(Auth::user()->type == 4 ? (helper::check_access('role_currency_settings', Auth::user()->role_id, Auth::user()->vendor_id, 'edit') == 1 ? '' : 'd-none') : ''); ?>"
tooltip="<?php echo e(trans('labels.edit')); ?>">
<i class="fa-regular fa-pen-to-square"></i>
</a>
<?php if(Strtoupper($currency->name) != 'USD'): ?>
<a class="btn btn-danger hov btn-sm<?php echo e(Auth::user()->type == 4 ? (helper::check_access('role_currency_settings', Auth::user()->role_id, $vendor_id, 'delete') == 1 ? '' : 'd-none') : ''); ?>"
tooltip="<?php echo e(trans('labels.delete')); ?>"
<?php if(env('Environment') == 'sendbox'): ?> onclick="myFunction()" <?php else: ?> onclick="statusupdate('<?php echo e(URL::to('admin/currency-settings/delete-' . $currency->id . '/1')); ?>')" <?php endif; ?>>
<i class="fa-regular fa-trash"></i>
</a>
<?php endif; ?>
</div>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.theme.default', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/koreanshop.lk/resources/views/admin/currency_settings/index.blade.php ENDPATH**/ ?>