@if ($hasSearched) SERIAL INVOICE DATA TABLE ( No of Packages to scan : {{ $packageCount }} ) @elseif ($materialInvoice) MATERIAL INVOICE DATA TABLE @else @if ($completedInvoice) @if ($isSerial) SERIAL INVOICE DATA TABLE ( No of Packages to scan : {{ $packageCount }} ) @else MATERIAL INVOICE DATA TABLE @endif @else INVOICE DATA TABLE ( No of Packages to scan : {{ $packageCount }} ) @endif @endif


{{-- Modal for completed invoice--}} @if ($completedInvoice)

@if ($isSerial) Completed the scanning process for serial invoice number {{ $invoiceNumber }}. @else Completed the scanning process for material invoice number {{ $invoiceNumber }}. @endif

@endif {{-- Modal for empty invoice--}} @if ($emptyInvoice)

No data found for invoice number {{ $invoiceNumber }}.

@endif {{-- Modal for serial invoice--}} @if ($hasSearched)
{{-- --}} {{--
--}}
@forelse ($invoiceData as $index => $row) @empty @endforelse
No Material Code Serial Number Motor Scanned Status Pump Scanned Status Capacitor Scanned Status Scanned Status Set Scanned Status Time Stamp Operator ID Panel Box Supplier Panel Box Serial Number
{{ $index + 1 }} {{ $row['code'] ?? 'N/A' }} {{ $row['serial_number'] ?? 'N/A' }} {{ $row['motor_scanned_status'] ?? '' }} {{ $row['pump_scanned_status'] ?? '' }} {{ $row['capacitor_scanned_status'] ?? '' }} {{ $row['scanned_status_set'] ?? '' }} {{ $row['scanned_status'] ?? '' }} {{ $row['created_at'] ?? '' }} {{ $row['operator_id'] ?? '' }} {{ $row['panel_box_supplier'] ?? '' }} {{ $row['panel_box_serial_number'] ?? '' }}
No data found for invoice number {{ $invoiceNumber }}.
@endif {{-- Modal for Capacitor Input --}}
@if($showCapacitorInput)

Scan the Panel Box Supplier/Item Code/Serial Number

{{-- Add this script to focus on the input --}} @endif
{{-- Modal for material invoice--}} @if($materialInvoice)
{{-- --}} {{--
--}}
@forelse ($invoiceData as $index => $row) @empty @endforelse
No Material Code Material Type Material Quantity Serial Number Batch Number TimeStamp Operator ID
{{ $index + 1 }} {{ $row['code'] ?? 'N/A' }} {{ $row['material_type'] ?? 'N/A' }} {{ $row['quantity'] ?? 'N/A' }} {{ $row['serial_number'] ?? 'N/A' }} {{ $row['batch_number'] ?? 'N/A' }} {{ $row['created_at'] ?? 'N/A' }} {{ $row['operator_id'] ?? 'N/A' }}
No data found for invoice number {{ $invoiceNumber }}.
@endif
{{-- --}}