@if (session()->has('success_message'))
{{ session()->get('success_message') }}
@endif
@if (session()->has('error_message'))
{{ session()->get('error_message') }}
@endif
@if ($orders->count())
{{ $orders->links('vendor.pagination.mobile') }}
@else
@endif
# | {!! __('Order No') !!} | {!! __('Date') !!} | {!! __('Status') !!} |
---|---|---|---|
{{ $loop->index + $orders->firstItem() }} | {!! $order->order_number !!} | {{ $order->created_at->format('Y/m/d - h:i') }} {{ __($order->created_at->format('a')) }} | @php $status = $order->status ?? 0; if ($order->publish == -1) { $status = 9; } @endphp@if (empty($order->publish)) {!! __('Order pending') !!} @elseif ($order->publish == -1) {!! __('Canceled') !!} @else {!! transactionOrdr($order->status) !!} @endif | @endforeach