@extends('admin.layouts.layout') @section('title', 'Order Code | SureX Admin Panel') @section('content')
{{-- Data Table --}}| Sl | {{--File Name | --}}Batch | Quantity | Status | {{--QR Download | --}}Code | Batch Code | Count Code | {{--Template | --}}Date | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->index + 1 }} | {{--{{ $order->file }} | --}}{{ $order->batch_number }} | {{ $order->quantity }} | @if ($order->status == 'running') {{ ucfirst($order->status) }} @elseif ($order->status == 'pending') {{ ucfirst($order->status) }} @elseif ($order->status == 'finished') {{ ucfirst($order->status) }} @endif | @if ($order->status == 'finished') {{-- download="{{ strpos($order->datapack_name, '_') != false ? explode('_', $order->file, 2)[1] : $order->file }}"> Download --}} CSV @endif | CSV | CSV | {{--QR | --}} {{--Code | --}} {{--{{ $order->template->manufacture . ' ' . $order->template->product . ' ' . $order->template->detail }} | --}}{{ date_format($order->created_at, 'd/m/y - g:i A') }} |