Viewing file: 2f971520e48291caaf299b551a0fdcf8aa150539.php (3.65 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title',trans('layout.billings')); ?>
<?php $__env->startSection('main-content'); ?> <div class="row page-titles mx-0"> <div class="col-sm-6 p-md-0"> <div class="welcome-text"> <h4><?php echo e(trans('layout.billings')); ?></h4> <p class="mb-0"><?php echo e(trans('layout.billings')); ?></p> </div> </div> <div class="col-sm-6 p-md-0 justify-content-sm-end mt-2 mt-sm-0 d-flex"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="#"><?php echo e(trans('layout.home')); ?></a></li> <li class="breadcrumb-item active"><a href="javascript:void(0)"><?php echo e(trans('layout.billings')); ?></a></li> </ol> </div> </div> <!-- row -->
<div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-body"> <div class="table-responsive"> <table class="table dt-responsive nowrap w-100" id="orderTable">
<thead class="text-center"> <tr> <th>#</th> <th><strong><?php echo e(trans('layout.name')); ?></strong></th> <th><strong><?php echo e(trans('layout.restaurant')); ?>/<?php echo e(trans('layout.table')); ?></strong></th> <th><strong><?php echo e(trans('layout.amount')); ?></strong></th>
<th><strong><?php echo e(trans('layout.billing_status')); ?></strong></th> <th></th>
</tr> </thead> <tbody class="text-center"> <?php $__currentLoopData = $orders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $order): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($order->id); ?></td> <td><?php echo e($order->name); ?></td> <td><?php echo e($order->restaurant->name .'(' .$order->table->name . ')'); ?></td> <td> <?php echo e(formatNumberWithCurrSymbol($order->total_price)); ?>
</td> <td> <?php if($order->payment_status=='paid'): ?> <button class="btn-sm btn badge-success light"><?php echo e(trans('layout.paid')); ?></button> <?php else: ?> <button class="btn btn-sm badge-danger light"><?php echo e(trans('layout.unpaid')); ?></button> <?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> </div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/pcolfjqt/qr.picotech.app/resources/views/billing/index.blade.php ENDPATH**/ ?>
|