| Path : /var/www/html/backup/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/backup/jewelry-pos/storage/framework/views/e718be9ac5fa6714e4271e102b1c6783.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" style="text-align:right;">
<a class="btn btn-sm btn-primary" href="<?php echo e(route('product-category.index')); ?>">
<i class="fal fa-arrow-left" aria-hidden="true"></i>
<?php echo e(__('message.go back')); ?>
</a>
</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-50">
<tr class="text-center">
<th>#</th>
<th><?php echo e(__('message.main category')); ?></th>
<th><?php echo e(__('message.to usd exchange rate')); ?></th>
<th><?php echo e(__('message.buying rate')); ?></th>
<th><?php echo e(__('message.selling rate')); ?></th>
<th><?php echo e(__('message.created by')); ?></th>
<th><?php echo e(__('message.created date')); ?></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $product_categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr class="text-center" <?php if(!$category->is_active): ?> class="inactive" <?php endif; ?>>
<td><?php echo e($index+1); ?></td>
<td class="text-center" style="font-family: 'Khmer OS Siemreap'">
<div class="col-sm-8 col-xl-8">
<?php echo e($category->productCategory->name); ?>
</div>
</td>
<td class="credit"><?php echo e(number_format($category->price , 4)); ?></td>
<td class="credit"><?php echo e(number_format($category->buying_price , 4)); ?></td>
<td class="credit"><?php echo e(number_format($category->selling_price , 4)); ?></td>
<td>
<?php echo e($category->user->name??'-'); ?>
</td>
<td><?php echo e(@$category->created_at->format('d/m/y H:i')); ?></td>
</tr>
<div class="modal fade bd-example-modal-lg<?php echo e($category->id); ?>" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<form action="<?php echo e(route('category.update_price' , $category->id)); ?>">
<div class="modal-content">
<div class="row m-0 text-center" style="height: 40px">
<div class="col-xs-12 col-md-12 col-xl-12 bg-info text-center">
<header class="text-center mt-2" style="font-weight: bold;font-size: 18px;color: whitesmoke"><?php echo e(__('message.update price')); ?></header>
</div>
</div>
<div class="content m-4 " style="font-size: 15px;font-family: 'Khmer OS Siemreap';">
<div class="row">
<div class="mt-2 col-xs-2 col-md-2 col-xl-2">
<?php echo e(__('message.to usd exchange rate')); ?> :
</div>
<div class="col-xs-10 col-md-10 col-xl-10 mb-2">
<input type="text" pattern="^[0-9]*$" id="txtUpdate_price" name="update_price" value="<?php echo e($category->selling_to_usd_exchange_rate); ?>" class="form-control" placeholder="<?php echo e(__('message.enter weight')); ?>">
</div>
</div>
</div>
<div class="footer">
<div class="row mb-2">
<div class="col-xs-10 col-md-10 col-xl-10 text-right">
<button class="btn btn-danger" data-dismiss="modal"><?php echo e(__('message.close')); ?></button>
</div>
<div class="col-xs-2 col-md-2 col-xl-2 text-left">
<button class="btn btn-info" id="btn_update_price"><?php echo e(__('message.save')); ?></button>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
<?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($product_categories->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_product_category").addClass('active')
})
</script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('meta'); ?>
<title><?php echo e(__('message.product category')); ?> - <?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/product-categories/product-category-price-history.blade.php ENDPATH**/ ?>