@extends('operations.layout.mainlayout') @section('content') {{--@if(session('role') != 4 && session('role') != 2 && session('role') != 5 && session('role') != 9 && session('role') != 1) {{exit("

Unauthorized access

")}} @endif--}}

P.O # {{$order->ID}} - {{$order->STATUSDETAILS->NAME}} @if($order->EMAIL_SENT) Mail Sent @endif

Purchase Number. {{$order->ID}} | WH: {{$order->LOCATION->text ?? ''}}


@if(!empty($error)) @endif
Vendor Information
  • {{$order->VENDOR->NAME}}
  • {{$order->VENDOR->ADDRESS_COUNTRY}}
  • {{$order->VENDOR->ADDRESS_CITY}}
  • {{$order->VENDOR->MOBILE}}
  • {{$order->VENDOR->LEAD_TIME}}
Order Information
  • {{$order->VENDOR->NAME}}
  • Subtotal : {{$order->BASE_AMOUNT}} @if(isset($global_symbol['is_html']) && $global_symbol['is_html'] && isset($global_symbol['currency'])) {!! $global_symbol['currency'] !!} @else {{ $global_symbol['currency'] ?? 'SAR' }} @endif
  • Total Items : {{$order->order_items_count}}
  • {{$global_symbol['tax'] ?? 'TAX'}}: {{$order->TAX}} @if(isset($global_symbol['is_html']) && $global_symbol['is_html'] && isset($global_symbol['currency'])) {!! $global_symbol['currency'] !!} @else {{ $global_symbol['currency'] ?? 'SAR' }} @endif
  • Net total : {{$order->TOTAL_AMOUNT}} @if(isset($global_symbol['is_html']) && $global_symbol['is_html'] && isset($global_symbol['currency'])) {!! $global_symbol['currency'] !!} @else {{ $global_symbol['currency'] ?? 'SAR' }} @endif
Reference: {{ $order->REFERENCE_NUMBER }} @if($order->STATUS != \App\Models\PURCHASEORDER::REVISED && $duplicates > 1) - {{ $duplicates }} @endif

  • Date : {{$order->PO_DATE}}
  • Status : {{$order->STATUSDETAILS->NAME}}
  • Payment Status : {{ $order->PAYMENTSTATUS->NAME_EN }}
PO2020/08/0011 https://sma.tecdiary.net/admin/purchases/view/9
Item (ID) Item (Code - Name) Unit Net Unit Cost Quantity Quantity Received Product {{$global_symbol['tax'] ?? 'TAX'}} Subtotal (@if(isset($global_symbol['is_html']) && $global_symbol['is_html'] && isset($global_symbol['currency'])) {!! $global_symbol['currency'] !!} @else {{ $global_symbol['currency'] ?? 'SAR' }} @endif)
Total Amount (@if(isset($global_symbol['is_html']) && $global_symbol['is_html'] && isset($global_symbol['currency'])) {!! $global_symbol['currency'] !!} @else {{ $global_symbol['currency'] ?? 'SAR' }} @endif)
Refunded (@if(isset($global_symbol['is_html']) && $global_symbol['is_html'] && isset($global_symbol['currency'])) {!! $global_symbol['currency'] !!} @else {{ $global_symbol['currency'] ?? 'SAR' }} @endif)
Paid (@if(isset($global_symbol['is_html']) && $global_symbol['is_html'] && isset($global_symbol['currency'])) {!! $global_symbol['currency'] !!} @else {{ $global_symbol['currency'] ?? 'SAR' }} @endif)
Balance (@if(isset($global_symbol['is_html']) && $global_symbol['is_html'] && isset($global_symbol['currency'])) {!! $global_symbol['currency'] !!} @else {{ $global_symbol['currency'] ?? 'SAR' }} @endif)
@if($order->TOTAL_PAID != null)
@endif @if($order->PURCHASE_RECEIVED_COUNT != 0)
@endif
@if($order->STATUS == \App\Models\PURCHASEORDER::CONFIRMED) @else @endif
@if($order->STATUS == \App\Models\PURCHASEORDER::CONFIRMED) @else @endif
@endsection @section('warehouse_scripts') @endsection