@extends('layouts.app') @section('stitle', __('messages.Orders')) @section('title', __('messages.Orders')) @section('content')
@if (session()->get('title') == 'success') @elseif (session()->get('title') == 'error') @endif
@include('orders.order_menu')
@foreach ($data as $order) @if ($order->qr_code != null) @else @endif @if (\Illuminate\Support\Facades\Auth::user()->lang_type_id == \App\Models\LanguageType::IS_English) @else @endif {{-- --}} @if (\Illuminate\Support\Facades\Auth::user()->lang_type_id == \App\Models\LanguageType::IS_English) @else @endif @endforeach
{{ __('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') }}
{{ $order->reference ?? '-' }} {{ $order->original_order_reference ?? '-' }} {!! QrCode::size(50)->generate($order->qr_code) !!} - {{ $order->number ?? '-' }} {{ $order->branch->name ?? '-' }} {{ $order->customer_name ?? '-' }} {{ $order->orderType->name ?? '-' }}{{ $order->systemOrderStatus->en_name }} {{ $order->systemOrderStatus->ar_name }} {{ $order->status }} {{ $order->systemOrderStatus->en_name }} {{ $order->systemOrderStatus->ar_name }} {{ $order->total ?? '-' }} {{ $order->business_date ?? '-' }}
@endsection @push('my_scripts') @endpush