@extends('print.layout') @section('title', 'Product_Cost_' . ($product['article_no'] ?? 'N/A') . '_' . ($product['name'] ?? 'N/A')) @section('content')
| Sr. | Employee / Vendor | Cost Head | Amount |
|---|---|---|---|
| {{ $loop->index + 1 }} | @if($item->employee_no) {{ $item->employee_no }}{{ $item->name ? ' - ' . $item->name : '' }} @elseif($item->vendor_no) {{ $item->vendor_no }}{{ $item->name ? ' - ' . $item->name : '' }} @else General Cost @endif | {{ $item->hname ?? 'N/A' }} | {{ number_format($item->amount ?? 0, 2) }} |
| Total Cost: | {{ number_format($totalCost, 2) }} | ||
No cost information has been recorded for this product.