Viewing file: 76b463af880a9f652da426d48003a85f1c47e39b.php (4.27 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
;
<?php $__env->startSection('thecontent'); ?> <div class="actions"> <h2 class="text-white"><?php echo e(__('Orders')); ?></h2> </div><br /> <div class="table-responsive">
<div> <table class="table align-items-center table-dark"> <thead class="thead-dark"> <tr> <th scope="col" class="sort" data-sort="status"><?php echo e(__('ID')); ?></th> <th scope="col" class="sort" data-sort="phone"><?php echo e(__('Client phone')); ?></th> <th scope="col" class="sort" data-sort="budget"><?php echo e(__('Time')); ?></th> <th scope="col" class="sort" data-sort="status"><?php echo e(__('Status')); ?></th> <th scope="col" class="sort" data-sort="status"><?php echo e(__('From')); ?></th> <th scope="col" class="sort" data-sort="status"><?php echo e(__('To')); ?></th> <th scope="col" class="sort" data-sort="driver"><?php echo e(__('Driver')); ?></th> <th scope="col" class="sort" data-sort="status"><?php echo e(__('Distance')); ?></th> <th scope="col" class="sort" data-sort="status"><?php echo e(__('Price')); ?></th> </tr> </thead> <tbody class="list"> <?php $__currentLoopData = $orders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $order): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td class="action"> <a href="<?php echo e(route('orders.show',$order->id )); ?>" class="text-white">#<?php echo e($order->id_formated); ?></a> </td> <th scope="row"> <div class="media align-items-center"> <span class="name mb-0 text-sm"><a href="tel:<?php echo e($order->phone); ?>" class="text-white"><?php echo e($order->phone); ?></a></span> </div> </th> <td class="time"> <?php echo e($order->created_at->diffForHumans()); ?>
</td> <td> <span class="badge badge-dot mr-4"> <i class="bg-warning"></i> <span class="status"><?php echo e(__($order->displayLastStatus())); ?></span> </span> </td> <td class="from"> <?php echo e($order->pickup_address); ?>
</td> <td class="to"> <?php echo e($order->delivery_address); ?>
</td> <td class="driver"> <?php if($order->driver): ?> <a target="_blank" href="<?php echo e(route('drivers.edit',$order->driver->id)); ?>" class="text-white"><?php echo e($order->driver->name); ?></a> <?php endif; ?> </td> <td class="from"> <?php echo e($order->distance); ?> km </td> <td class="to"> <?php echo money($order->delivery_price, config('settings.cashier_currency'),config('settings.do_convertion')); ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <div class="card-footer py-4"> <?php if(count($orders)): ?> <nav class="d-flex justify-content-end" aria-label="..."> <?php echo e($orders->appends(Request::all())->links()); ?>
</nav> <?php else: ?> <h4><?php echo e(__('You don`t have any orders')); ?> ...</h4> <?php endif; ?> </div> </div> </div> <?php $__env->stopSection(); ?>
<?php echo $__env->make('general.master', $setup, \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/wataxi.picotech.app/public_html/modules/Cockpit/Providers/../Resources/views/index.blade.php ENDPATH**/ ?>
|