{{-- Breadcrumb --}}

{{ __('New job') }}

{{ __('Client, what you’re making, and the stock you’ll use, one screen creates the invoice and the job together.') }}

{{-- ============ CLIENT & JOB ============ --}}

{{ __('Client & job') }}

@if ($customerChoice === '') @endif @error('newCustomerName')

{{ $message }}

@enderror
@error('title')

{{ $message }}

@enderror

{{ __('Who sold this job. Commission follows the rep, not whoever keys it in.') }}

@error('sales_rep_id')

{{ $message }}

@enderror
{{-- ============ LINE ITEMS ============ --}}

{{ __('What you’re making') }}

{{ __('Pick a product or type a one-off') }}
@foreach ($lines as $i => $line)
@error("lines.$i.name")

{{ $message }}

@enderror
@endforeach @error('lines')

{{ $message }}

@enderror
{{-- ============ MATERIALS USED ============ --}}

{{ __('Materials used (optional)') }}

{{ __('Deducts stock when the job is created') }}

{{ __('Grab blanks / media off the shelf for this job. Skip it if the product recipe already handles stock.') }}

@foreach ($materials as $i => $m)
@endforeach
{{-- ============ DEPOSIT ============ --}} @if ($takeDeposit)
@error('deposit_amount')

{{ $message }}

@enderror
@error('deposit_fund_account_id')

{{ $message }}

@enderror
@endif
{{-- ============ STICKY SUMMARY + SUBMIT ============ --}}
{{ __('Subtotal') }} {{ $currency_code }} {{ number_format($totals['subtotal'], 2) }}
{{ __('Total') }} {{ $currency_code }} {{ number_format($totals['total'], 2) }}
{{ __('Cancel') }} {{ __('Create job') }} {{ __('Creating…') }}