@if (isset($id))
@endif

{{ isset($id) ? 'Edit Delivery Order' : 'Create Delivery Order' }}


@if (!empty($details)) @foreach ($details as $item) @endforeach @else @endif
Product UOM Qty Note
{{ $item->product_code }} - {{ $item->product_name }} {{ $item->unit_name }} {{ $item->qty }} note == 'FREE GOOD' ? 'disabled' : '' }} type="text" id="note" class="form-control" value="{{ $item->note }}"> {{-- --}}
{{-- --}}
{{-- --}}
{{--
Total Qty: {{ $data->total_qty ?? 0 }}
--}}

@php $disabled = ''; $canPostJurnal = false; if (isset($id)) { if ($data->status != 'DRAFT') { $disabled = 'disabled'; } if (empty($data->post_date) && in_array($data->status, ['CONFIRMED', 'PACKED']) && isset($akses->delivery_order) && $akses->delivery_order->update == 1) { $canPostJurnal = true; } } @endphp @if ($canPostJurnal) @endif