Commission PO Batch Upload

@if (session()->has('success')) @endif @if (session()->has('error')) @endif
{{-- Batch Name --}}
Leave blank to auto-generate
{{-- Customer Selection --}}
@error('selectedCustomer')
{{ $message }}
@enderror
{{-- File Upload --}}
You can select multiple PO files (PDF, Excel) @error('files')
{{ $message }}
@enderror
{{-- Upload Progress --}} @if($isUploading)
Uploading files and creating batch...
@endif {{-- Selected Files Preview --}} @if(!empty($files))
Selected Files ({{ count($files) }}):
    @foreach($files as $file)
  • {{ $file->getClientOriginalName() }} {{ number_format($file->getSize() / 1024, 2) }} KB
  • @endforeach
@endif {{-- Submit Button --}}
View Batches
{{-- Info Box --}}
How It Works
  1. Select a customer and upload multiple PO files
  2. Files will be processed in the background using AI
  3. Go to "Review Batches" to see progress
  4. Once extracted, review and import each file