Batch Details
Token: {{ $batch->token }}Raw Items (Consumed)
| # | Category | Sub Category | Unit | Qty Used | CPI | Total Cost |
|---|---|---|---|---|---|---|
| {{ $i+1 }} | {{ $r->category->title_en ?? $r->cat_id }} | {{ $r->sub_category->title_en ?? ($r->scat_id ?? '—') }} | {{ $r->unit->title_en ?? $r->unit_id }} | {{ number_format($r->qty_used ?? 0, 2) }} | {{ number_format($r->cpi ?? 0, 4) }} | {{ number_format($r->total_cost ?? 0, 2) }} |
| No raw items. | ||||||
| Total | {{ number_format($rawTotalQty, 2) }} | {{ number_format($rawTotalCost, 2) }} | ||||
Outputs (Finished Goods)
| # | Category | Sub Category | Unit | Weight | Qty Produced | CPI | SPI | Total Cost |
|---|---|---|---|---|---|---|---|---|
| {{ $i+1 }} | {{ $o->category->title_en ?? $o->cat_id }} | {{ $o->sub_category->title_en ?? ($o->sub_cat_id ?? '—') }} | {{ $o->unit->title_en ?? $o->unit_id }} | {{ $o->weight->title_en ?? ($o->weight_id ?? '—') }} | {{ number_format($o->qty_produced ?? 0, 2) }} | {{ number_format($o->cpi ?? 0, 4) }} | {{ number_format($o->spi ?? 0, 2) }} | {{ number_format($o->total_cost ?? 0, 2) }} |
| No outputs. | ||||||||
| Total | {{ number_format($outTotalQty, 2) }} | {{ number_format($outTotalCost, 2) }} | ||||||