@extends('admin.layouts.app') @section('title', 'Wastage Details') @section('page_title', 'Wastage Details') @section('content')
| ID: | {{ $wastage->id }} |
|---|---|
| Wastage No: | {{ $wastage->wastage_no }} |
| Date: | {{ date('d-m-Y', strtotime($wastage->date)) }} |
| Total Quantity: | {{ $wastage->items->sum('quantity') }} |
| Total Amount: | {{ number_format($wastage->items->sum('amount'), 2) }} |
| Sl | Shipment Number | Product | Unit | Quantity | Rate | Amount |
|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $item->shipment_number ?? '-' }} | {{ $item->product->name ?? 'N/A' }} | {{ $item->product->unit->short_name ?? 'N/A' }} | {{ $item->quantity }} | {{ number_format($item->rate, 2) }} | {{ number_format($item->amount, 2) }} |
| Total: | {{ number_format($wastage->items->sum('amount'), 2) }} | |||||
{{ $wastage->notes }}
@endif