@extends('layouts.mop_master') @section('css') @endsection @section('title') Order @endsection @section('content')

ORDER DETAILS

Go Back
ORDER CODE

{{ $order->order_code }}

ORDER DATE

{{ \Carbon\Carbon::parse($order->order_date)->format('d M Y') }}

Customer

{{ $order->debitLedger?->name }}

Production Date

{{ $order->production_date ? \Carbon\Carbon::parse($order->production_date)->format('d M Y') : '--' }}

Deliverey Date

{{ $order->delivery_date ? \Carbon\Carbon::parse($order->delivery_date)->format('d M Y') : '--' }}

REMARKS

{{ $order->remarks ?? '--' }}

ITEMS

@php $totalTaxableValue = 0; @endphp @foreach ($orderItems as $item) @endforeach
Item Qty Unit Remarks
{{ $item->stockItem->name }}@if ($item->variant_id != null)
({{ $item->variant->name }}) @endif @if ($item->getFirstMedia('image') != null) @endif
{{ $item->quantity }} {{ $item->unit->symbol }} {{ $item->remarks }}
@endsection @section('script') @endsection