@extends('admin.layouts.app') @section('content')

Jinsi Form Details: {{ $jinsiForm->id_no }}

Entry Date: {{ $jinsiForm->entry_date->format('Y-m-d') }}
Kharid Form: {{ $jinsiForm->kharidForm->id_no ?? 'N/A' }}
Maag Form: {{ $jinsiForm->maagForm->id_no ?? 'N/A' }}
@foreach($jinsiForm->products as $product) @endforeach
ProductQtyUnit PriceTotalTax TypeTax %Tax AmountTotal with Tax
{{ $product->kharidFormProduct->maagFormProduct->product_name ?? 'N/A' }} {{ number_format($product->remaining_qty, 2) }} Rs. {{ number_format($product->amount, 2) }} Rs. {{ number_format($product->total, 2) }} @if($product->tax_type == 'vat')VAT @elseif($product->tax_type == 'custom')Custom @elseNo Tax@endif {{ $product->tax_percentage }}% Rs. {{ number_format($product->tax_amount, 2) }} Rs. {{ number_format($product->total_with_tax, 2) }}
Subtotal:Rs. {{ number_format($jinsiForm->subtotal, 2) }}
Total Tax:Rs. {{ number_format($jinsiForm->total_tax, 2) }}
Other Expenses:Rs. {{ number_format($jinsiForm->other_exp, 2) }}
Grand Total:Rs. {{ number_format($jinsiForm->total_amount, 2) }}
Remarks: {{ $jinsiForm->remarks ?? 'N/A' }}
Back
@endsection