@if ($step === 1) {{ __('Job finished, any extra costs?') }} @else {{ __('Bill the client for the difference?') }} @endif @if ($step === 1) {{-- Step 1, capture costs beyond the estimate the invoice was priced on. --}}

{{ __('This job was invoiced on an estimate. If the actual costs ran higher, add the extra costs now so profitability stays accurate. You can bill the client for the difference in the next step.') }}

@foreach ($lines as $i => $line)
{{-- Phone: one control per row (type, then what, then how much beside its remove button) instead of four controls crushed into a twelfth of a screen each. --}}
@endforeach
{{ __('Extra costs total') }} {{ $baseCurrency }} {{ number_format($this->pendingTotal, 2) }}
@else {{-- Step 2, offer a supplementary invoice for the recorded difference. --}}

{{ __('You recorded :cur :amt in extra costs on this job.', ['cur' => $baseCurrency, 'amt' => number_format($extraTotal, 2)]) }}

{{ __('Raise a supplementary invoice to :who for the difference, or leave it as is.', ['who' => $customerName ?: __('the client')]) }}

{{ __('Pre-filled with the extra costs (pass-through). Adjust to the figure agreed with the client.') }}

@endif
@if ($step === 1) {{ __('No extra costs') }} {{ __('Save costs') }} @else {{ __('Leave it') }} @if ($canBill) {{ __('Create invoice') }} @endif @endif