/
home
/
sjslayjy
/
public_html
/
assets
/
storage
/
framework
/
views
/
Upload File
HOME
<?php $__env->startPush('plugin-styles'); ?> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <?php if(Session::has('error')): ?> <div class="alert alert-danger alert-block"> <button type="button" class="close" data-dismiss="alert">×</button> <strong><?php echo e(Session::get('error')); ?></strong> </div> <?php endif; ?> <div class="col-lg-12 grid-margin"> <div class="card"> <div class="card-body"> <div class="row grid-margin"> <div class="col-lg-6"> <h4 class="card-title">All Circle Store List</h4> </div> <div class="col-lg-6 top-tab"></div> <div class="table-responsive"> <table class="table table-striped" id="example"> <thead> <tr> <th> Id </th> <th>Cricle Code</th> <th> Stock</th> <th> Adress</th> <th> GST No</th> </tr> </thead> <tbody> <?php $__currentLoopData = $warehouses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $warehouse): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($warehouse->id); ?></td> <td><?php echo e($warehouse->ware_house); ?></td> <td><a href="<?php echo e(url('admin/view-circle-store-stock/'.$warehouse->ware_house)); ?>">View Stock</a></td> <td><?php echo e($warehouse->address); ?></td> <td><?php echo e($warehouse->gst_no); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('plugin-scripts'); ?> <?php echo Html::script('/assets/plugins/chartjs/chart.min.js'); ?> <?php echo Html::script('/assets/plugins/jquery-sparkline/jquery.sparkline.min.js'); ?> <?php $__env->stopPush(); ?> <?php $__env->startPush('custom-scripts'); ?> <?php echo Html::script('/assets/js/dashboard.js'); ?> <script type="text/javascript"> function delete_now(id){ swal({ title: "Are you sure?", text: "Once deleted, you will not be able to recover this Spare Part!", icon: "warning", buttons: true, dangerMode: true, }).then((willDelete) => { if (willDelete) { var url = window.location.origin+"/admin/delete-spare-part" var data = {}; data.spare_part_id = id; data._token = "<?php echo e(csrf_token()); ?>"; $.ajax({ type: "POST", url: url, data: data, success:function(res){ swal("Poof! Your Spare Part has been deleted!", { icon: "success", }); $('#sp_'+id).remove(); }, error:function(error){ console.log(error); }, dataType: 'json' }); } }); } </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layout.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/assets/resources/views/admin/circle-stores.blade.php ENDPATH**/ ?>