@if ($hasSearched) FG STOCK DATA TABLE @elseif ($isSfg) SFG STOCK DATA TABLE @elseif ($isnonQuanSfg) SFG STOCK DATA TABLE @else STOCK DATA TABLE @endif


@if ($hasSearched)
@forelse ($records as $index => $record) @empty @endforelse
No Material Code Serial Number Motor Scanned Status Pump Scanned Status Scanned Status Set Scanned Status Time Stamp Operator ID
{{ $records->firstItem() + $index }} {{ $record->stickerMasterRelation?->item?->code ?? 'N/A' }} {{ $record->serial_number ?? 'N/A' }} {{ $record->motor_scanned_status ? '1' : '' }} {{ $record->pump_scanned_status ? '1' : '' }} {{ $record->scanned_status_set ? '1' : '' }} {{ $record->scanned_status ?? '' }} {{ optional($record->created_at)->format('d-m-Y H:i:s') }} {{ $record->updated_by ?? '' }}
No scanned data found for location {{ $location }}
{{--
{{ $records->onEachSide(3)->links() }}
--}}
@endif @if($isSfg)
@forelse($scannedSfgData as $index => $row) @empty @endforelse
No Location Bin Item Code Serial Number Batch Document Number Total Quantity Scanned Quantity Operator ID
{{ $index+1 }} {{ $row['location'] }} {{ $row['bin'] }} {{ $row['item_code'] }} {{ $row['serial_number'] }} {{ $row['batch'] }} {{ $row['doc_no'] }} {{ $row['quantity'] }} {{ $row['scanned_quantity'] }} {{ $row['updated_by'] }}
No scanned SFG data
@endif @if($isnonQuanSfg)
@forelse($scannedSerials as $index => $row) @empty @endforelse
No Location Bin Item Code Serial Number Batch Document Number Total Quantity Scanned Quantity Operator ID
{{ $index+1 }} {{ $row['location'] }} {{ $row['bin'] }} {{ $row['item_code'] }} {{ $row['serial_number'] }} {{ $row['batch'] }} {{ $row['doc_no'] }} {{ $row['quantity'] }} {{ $row['scanned_quantity'] }} {{ $row['updated_by'] }}
No scanned SFG data
@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' }} @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' }} {{ $row['operator_id'] ?? 'N/A' }}
No data found for invoice number {{ $invoiceNumber }}.
@endif
{{-- --}}