@extends('admin.layouts.app') @section('content')
{{ $kharidForm->id_no }}
{{ $kharidForm->purchase_date->format('F d, Y') }}
{{ $kharidForm->user->name ?? 'N/A' }}
{{ $kharidForm->shop_name }}
{{ $kharidForm->shop_address }}
{{ $kharidForm->shop_phone }}
{{ $kharidForm->tax_no ?? 'N/A' }}
| # | Product Name | Specification | Unit | Unit Price (Rs.) | Total Amount (Rs.) | Issued Qty | Remaining Qty | Remarks |
|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $product->maagFormProduct->product_name }} | {{ $product->maagFormProduct->specification ?? 'N/A' }} | {{ $product->maagFormProduct->unit }} | {{ number_format($product->amount, 2) }} | Rs. {{ number_format($product->total, 2) }} | {{ number_format($issuedQty, 2) }} | {{ number_format($remainingQty, 2) }} | {{ $product->remarks ?? 'N/A' }} |
| Grand Total: | Rs. {{ number_format($kharidForm->products->sum('total'), 2) }} | |||||||
| Jinsi ID | Entry Date | Tax Applied | Tax Amount | Other Exp | Total Amount | Status | Actions |
|---|---|---|---|---|---|---|---|
| {{ $jinsiForm->id_no }} | {{ $jinsiForm->entry_date->format('Y-m-d') }} | @if($jinsiForm->is_tax_applied) Yes ({{ $jinsiForm->tax_amount }}%) @else No @endif | Rs. {{ number_format($jinsiForm->tax_amount, 2) }} | Rs. {{ number_format($jinsiForm->other_exp, 2) }} | Rs. {{ number_format($jinsiForm->total_amount, 2) }} | {{ $jinsiForm->status }} | View |
| Total Dispatched Value: | Rs. {{ number_format($kharidForm->jinsiForms->sum('total_amount'), 2) }} | ||||||
{{ $kharidForm->remarks ?? 'No remarks provided.' }}
{{ $kharidForm->created_at->format('F d, Y H:i:s') }}
{{ $kharidForm->created_at->diffForHumans() }}{{ $kharidForm->updated_at->format('F d, Y H:i:s') }}
{{ $kharidForm->updated_at->diffForHumans() }}