diff --git a/resources/views/livewire/invoice-data-table.blade.php b/resources/views/livewire/invoice-data-table.blade.php index c68f9d60a..d1c1db4f5 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) + {{--
| No | @@ -242,7 +242,14 @@{{ $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' }} |
|---|