From 7b399d516772d2863e88fef2ff30905ee79e2435 Mon Sep 17 00:00:00 2001 From: Ghassan Yusuf Date: Mon, 1 Jun 2026 12:11:54 +0300 Subject: [PATCH] feat: add VAT checkbox column and live breakdown to RFQ portal --- resources/views/rfq/show.blade.php | 55 +++++++++++++++++++++++++----- 1 file changed, 47 insertions(+), 8 deletions(-) diff --git a/resources/views/rfq/show.blade.php b/resources/views/rfq/show.blade.php index 8063f39..03fd45b 100644 --- a/resources/views/rfq/show.blade.php +++ b/resources/views/rfq/show.blade.php @@ -78,6 +78,7 @@ Description Qty Unit + VAT? Unit Price (BD) Total (BD) @@ -89,6 +90,15 @@ {{ $item->description }} {{ rtrim(rtrim(number_format((float)$item->quantity_required, 3), '0'), '.') }} {{ $item->unit ?: '—' }} + + @if($vatRate > 0) + + @else + + @endif + - Grand Total: - BD 0.000 + Subtotal: + BD 0.000 + + + VAT ({{ $vatRate }}%): + BD 0.000 + + + Grand Total: + BD 0.000 @@ -204,17 +222,38 @@