| Work Order No | {{ $workOrder->order_no }} | Date | {{ \Carbon\Carbon::parse($workOrder->date)->format('d-m-Y') }} |
|---|---|---|---|
| Valid Upto | {{ \Carbon\Carbon::parse($workOrder->valid_upto)->format('d-m-Y') }} | Created By | {{ $workOrder->creator->name ?? '-' }} |
| Company Name | {{ $workOrder->vendor->company_name ?? '-' }} | GST No | {{ $workOrder->vendor->gst_no ?? '-' }} |
|---|---|---|---|
| Address | {{ $workOrder->vendor->company_address ?? '-' }} | ||
| Contact Person | {{ $workOrder->vendor->contact_person_name ?? '-' }} | Mobile / Email | {{ $workOrder->vendor->contact_person_mobile_no ?? '-' }} / {{ $workOrder->vendor->contact_person_email ?? '-' }} |
| # | Item Code | Item Name | Manufacturer | Quantity | Unit | Total (₹) |
|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ @$item->medicine->item_code }} | {{ @$item->medicine->name ?? $item->name }} | {{ @$item->manufacturer->name }} | {{ @$item->quantity }} | {{ @$item->unit->unit ?? '-' }} | {{ number_format($item->amount, 2) }} |
| Grand Total (₹) | {{ number_format($workOrder->items->sum('amount'), 2) }} | |||||