@extends('admin.layouts.app') @section('content')
कुल उत्पादन (Total Products)
कुल परिमाण (Total Quantity)
कुल मूल्य (Total Value)
कुल जम्मा (Grand Total)
| क्र.सं. | जिन्सी फाराम नं. | मिति | उत्पादन कोड | उत्पादनको नाम | स्पेसिफिकेशन | एकाइ | परिमाण | दर (रु.) | जम्मा (रु.) | कर (रु.) | कर सहित (रु.) | अन्य खर्च (रु.) | जम्मा मूल्य (रु.) | रिमार्क्स | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $longTermProducts->firstItem() + $index }} | {{ $product->jinsiForm->id_no ?? 'N/A' }} | {{ $product->jinsiForm->entry_date ?? 'N/A' }} | {{ $kharidProduct->product_code ?? $maagProduct->product_name ?? 'N/A' }} | {{ $kharidProduct->product_name ?? $maagProduct->product_name ?? 'N/A' }} @if($product->is_long_term) Long Term @endif | {{ $kharidProduct->specification ?? $maagProduct->specification ?? 'N/A' }} | {{ $kharidProduct->unit ?? $maagProduct->unit ?? 'N/A' }} | {{ number_format($product->remaining_qty, 2) }} | {{ number_format($product->amount, 2) }} | {{ number_format($product->total, 2) }} | {{ number_format($product->tax_amount, 2) }} | {{ number_format($product->total_with_tax, 2) }} | {{ number_format($product->other_exp, 2) }} | {{ number_format($totalWithOtherExp, 2) }} | {{ $product->remarks ?? '-' }} | |
| कुनै दीर्घकालीन उत्पादनहरू छैनन् (No long-term products found) | |||||||||||||||
| जम्मा (Total): | {{ number_format($longTermProducts->sum('remaining_qty'), 2) }} | {{ number_format($longTermProducts->sum('amount'), 2) }} | {{ number_format($longTermProducts->sum('total'), 2) }} | {{ number_format($longTermProducts->sum('tax_amount'), 2) }} | {{ number_format($longTermProducts->sum('total_with_tax'), 2) }} | {{ number_format($longTermProducts->sum('other_exp'), 2) }} | {{ number_format($longTermProducts->sum('total_with_tax') + $longTermProducts->sum('other_exp'), 2) }} | ||||||||