From fcb88cef800a2ce5d19bf15ba13aa4096f862ed9 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 11 Feb 2026 14:25:28 +0530 Subject: [PATCH 1/2] Updated table alignment towards center and display quantity value as integer for individual or bundle material type --- .../views/livewire/invoice-data-table.blade.php | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/resources/views/livewire/invoice-data-table.blade.php b/resources/views/livewire/invoice-data-table.blade.php index c68f9d6..d1c1db4 100644 --- a/resources/views/livewire/invoice-data-table.blade.php +++ b/resources/views/livewire/invoice-data-table.blade.php @@ -220,10 +220,10 @@ {{-- Modal for material invoice--}} @if($materialInvoice) + {{--
--}}
- {{-- --}} - {{--
--}} -
+ {{--
--}} +
@@ -242,7 +242,14 @@ - + {{-- --}} + From bd0e6b7c2ebbcf349a24024654d6375202276f32 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 11 Feb 2026 14:27:14 +0530 Subject: [PATCH 2/2] Removed commented code --- resources/views/livewire/invoice-data-table.blade.php | 1 - 1 file changed, 1 deletion(-) diff --git a/resources/views/livewire/invoice-data-table.blade.php b/resources/views/livewire/invoice-data-table.blade.php index d1c1db4..ffb73e1 100644 --- a/resources/views/livewire/invoice-data-table.blade.php +++ b/resources/views/livewire/invoice-data-table.blade.php @@ -242,7 +242,6 @@ - {{-- --}}
No{{ $index + 1 }} {{ $row['code'] ?? 'N/A' }} {{ $row['material_type'] ?? 'N/A' }}{{ $row['quantity'] ?? 'N/A' }}{{ $row['quantity'] ?? 'N/A' }} + @if(($row['material_type'] ?? '') === 'Individual' || ($row['material_type'] ?? '') === 'Bundle') + {{ number_format((float)($row['quantity'] ?? 0), 0) }} + @else + {{ $row['quantity'] ?? 'N/A' }} + @endif + {{ $row['serial_number'] ?? 'N/A' }} {{ $row['batch_number'] ?? 'N/A' }} {{ $row['created_at'] ?? 'N/A' }}{{ $index + 1 }} {{ $row['code'] ?? 'N/A' }} {{ $row['material_type'] ?? 'N/A' }}{{ $row['quantity'] ?? 'N/A' }} @if(($row['material_type'] ?? '') === 'Individual' || ($row['material_type'] ?? '') === 'Bundle') {{ number_format((float)($row['quantity'] ?? 0), 0) }}