@if (session()->get('title') == 'success')
{{ __('messages.Success') }}
{{ session()->get('message') }}
@elseif (session()->get('title') == 'error')
Error
{{ session()->get('message') }}
@endif
{{ __('messages.REFERENCE') }} |
{{ __('messages.original_order_reference') }} |
{{ __('messages.qr') }} |
{{ __('messages.NUMBER') }} |
{{ __('messages.BRANCH') }} |
{{ __('messages.CUSTOMER') }} |
{{ __('messages.OrderType') }} |
{{ __('messages.TYPE') }} |
{{ __('messages.STATUS') }} |
{{ __('messages.TOTAL') }}
({{ Auth::user()->business->currency->symbol }}) |
{{ __('messages.BUSINESSDATE') }} |
{{ __('messages.ACTION') }} |
@foreach ($data as $order)
{{ $order->reference ?? '-' }} |
{{ $order->original_order_reference ?? '-' }} |
@if ($order->qr_code != null)
{!! QrCode::size(50)->generate($order->qr_code) !!} |
@else
- |
@endif
{{ $order->number ?? '-' }} |
{{ $order->branch->name ?? '-' }} |
{{ $order->customer_name ?? '-' }} |
{{ $order->orderType->name ?? '-' }} |
@if (\Illuminate\Support\Facades\Auth::user()->lang_type_id == \App\Models\LanguageType::IS_English)
{{ $order->systemOrderStatus->en_name }}
|
@else
{{ $order->systemOrderStatus->ar_name }}
|
@endif
{{-- {{ $order->status }} | --}}
@if (\Illuminate\Support\Facades\Auth::user()->lang_type_id == \App\Models\LanguageType::IS_English)
{{ $order->systemOrderStatus->en_name }}
|
@else
{{ $order->systemOrderStatus->ar_name }}
|
@endif
{{ $order->total ?? '-' }} |
{{ $order->business_date ?? '-' }} |
|
@endforeach