| Path : /var/www/html/jewelry-pos/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/jewelry-pos/storage/framework/views/8982b9e1141d2aea878edacf1d9a501e.php |
<?php $__env->startSection('content'); ?>
<div class="col-lg-12">
<div class="card-body shadow-1">
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-right mb-2" style="text-align: right;">
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('currency-create')): ?>
<a class="btn btn-sm btn-primary" href="<?php echo e(route('currencies.create')); ?>">
<i class="fal fa-plus"></i> <?php echo e(__('message.add new')); ?>
</a>
<?php endif; ?>
</div>
</div>
</div>
<div class="panel-container show">
<div class="d-flex flex-column h-100">
<div class="h-auto">
<table id="example" class="table table-bordered table-hover table-striped w-100">
<thead class="bg-fusion-400">
<tr>
<th>#</th>
<th><?php echo e(__('message.name')); ?></th>
<th><?php echo e(__('message.symbol')); ?></th>
<th><?php echo e(__('message.exchange in rate')); ?></th>
<th><?php echo e(__('message.exchange out rate')); ?></th>
<th><?php echo e(__('message.base currency')); ?></th>
<th><?php echo e(__('message.status')); ?></th>
<th><?php echo e(__('message.created date')); ?></th>
<th><?php echo e(__('message.action')); ?></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $currencies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $currency): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr <?php if(!$currency->is_active): ?> class="inactive" <?php endif; ?>>
<td><?php echo e($index+1); ?></td>
<td><?php echo e($currency->name); ?></td>
<td><?php echo e($currency->currency_symbol); ?></td>
<td class="credit"><?php echo e(number_format($currency->exchange_in_rate,4)); ?></td>
<td class="credit"><?php echo e(number_format($currency->exchange_out_rate,4)); ?></td>
<td>
<input type="checkbox" readonly <?php if($currency->is_based): ?> checked <?php endif; ?>>
</td>
<td>
<?php if($currency->is_active): ?>
<label class="badge badge-success">
<?php echo e(__('message.active')); ?>
</label>
<?php else: ?>
<label class="badge badge-danger">
<?php echo e(__('message.inactive')); ?>
</label>
<?php endif; ?>
</td>
<td>
<?php echo e($currency->created_at->format('d/m/Y H:i')); ?>
<td>
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('currency-edit')): ?>
<?php if($currency->is_active == 1): ?>
<a href="<?php echo e(route('currency.inactive', $currency->id)); ?>" class="btn btn-sm btn-danger" title="Inactive Now"><?php echo e(__('message.deactivate')); ?></a>
<?php else: ?>
<a href="<?php echo e(route('currency.active', $currency->id)); ?>" class="btn btn-sm btn-success" title="Active Now">
<?php echo e(__('message.activate')); ?>
</a>
<?php endif; ?>
<?php if($currency->is_active): ?>
<a class="btn btn-sm btn-info" href="<?php echo e(route('currencies.edit', $currency->id)); ?>"><i
class="fal fa-pen" title="<?php echo e(__('message.edit')); ?>"></i></a>
<?php endif; ?>
<?php endif; ?>
<!-- <form method="POST" action="currencies/<?php echo e($currency->id); ?>" style="display:inline">
<input name="_method" type="hidden" value="DELETE">
<?php echo e(csrf_field()); ?>
<button type="submit" class="btn btn-sm btn-danger" onclick="return confirm('<?php echo e(__('message.do you want to delete')); ?>?')">
<i class="fal fa-trash" style="color: #FFF;"></i>
</button> -->
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
<!-- datatable end -->
</div>
</div>
</div>
</div>
<div class="py-4 mt-4 mx-2 ">
<!-- Pagination bootstrap-->
<?php echo e($currencies->appends($_GET)->links()); ?>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
<script>
$(document).ready(function() {
$("#js-nav-menu").removeClass('active');
$("#js-nav-menu li ul li").removeClass('active');
$("#menu_setup_list").addClass('active open');
$("#collapse_setup").addClass('collapse in')
$("#menu_currency").addClass('active')
})
</script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('meta'); ?>
<title><?php echo e(__('message.currency')); ?> - <?php echo e($settings_->shop_name); ?></title>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin-main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/jewelry-pos/resources/views/currencies/index.blade.php ENDPATH**/ ?>