Table BulkImport

Import tables from CSV or Excel files

Download Sample @if($uploadStage !== 'idle') Start New Upload @endif
@if($uploadStage === 'idle')
1

Import Instructions

Required Columns:

table_code Unique Table Identifier (e.g., T-01)
seating_capacity Number of Seats (e.g., 4)

Note: Rows with empty table codes will be ignored. Duplicate table codes in the same branch will be skipped.

System Data

Available Areas:

@foreach($availableAreas as $area) {{ $area->area_name }} @endforeach
2

Upload File

@if($uploadFile)

File Selected

{{ $uploadFile->getClientOriginalName() }}

@else

Upload CSV File

Drag and drop or click to browse

@endif
3

Select Area

@foreach($availableAreas as $area) @endforeach
4

Proceed

Next: Preview Data
@endif @if($uploadStage === 'preview')

CSV Preview

Map your columns to the database fields.

Cancel

{{ $uploadFile->getClientOriginalName() }}

Column Mapping

@foreach($csvHeaders as $header)
{{ $header }}
@endforeach

Row Preview (First 5)

@foreach($csvHeaders as $header) @endforeach @foreach($previewRows as $row) @foreach($row as $cell) @endforeach @endforeach
{{ $header }}
{{ $cell }}
Start Import Processing...
@endif @if(in_array($uploadStage, ['processing', 'completed']))
@if($uploadStage === 'processing')
{{ $currentStage }}
@endif @if($uploadStage === 'completed')

Import Completed!

{{ $uploadResults['total'] }}
Total
modules.table.bulkImport
{{ $uploadResults['success'] }}
Success
{{ $uploadResults['skipped'] }}
Skipped
@if(!empty($uploadErrors))

Errors

    @foreach($uploadErrors as $error)
  • {{ $error }}
  • @endforeach
@endif
Back to Tables
@endif
@endif