@extends('admin.layouts.app') @section('content')
| ID | Entry Date | Products | Tax Details | Total | Actions |
|---|---|---|---|---|---|
| {{ $form->id_no }} | {{ $form->entry_date->format('Y-m-d') }} | {{ $form->products->count() }} items |
@php
$vatCount = $form->products->where('tax_type', 'vat')->count();
$customCount = $form->products->where('tax_type', 'custom')->count();
@endphp
@if($vatCount > 0)VAT: {{ $vatCount }}@endif
@if($customCount > 0)Custom: {{ $customCount }}@endif
Tax: Rs. {{ number_format($form->total_tax, 2) }} |
Rs. {{ number_format($form->total_amount, 2) }} | View Edit Report |