@include('partials.public-share-meta', [ 'shareTitle' => 'Layaway — '.config('company.name', 'Avi The Jeweler'), 'shareDescription' => 'View your layaway balance and make a secure payment with Avi The Jeweler.', 'shareUrl' => url()->current(), ])
@include('partials.company-checkout-brand')

Layaway checkout

@if($plan->productImageUrl()) {{ trim($plan->description) ?: 'Layaway product' }} @endif @if($plan->formattedOrderNumber())

Order #{{ $plan->formattedOrderNumber() }}

@endif

{{ trim($plan->description) ?: 'Custom layaway plan' }}

@if(session('error'))
{{ session('error') }}
@endif @if(session('success'))
{{ session('success') }}
@endif @if(!empty($remainingBreakdown))

Your order

Item price (before tax)${{ number_format($plan->subtotal, 2) }}
@if($plan->hasTax())
Sales tax ({{ rtrim(rtrim(number_format($plan->tax_rate_percent, 2), '0'), '.') }}%)${{ number_format($plan->tax_amount, 2) }}
@endif
Plan total${{ number_format($plan->total_amount, 2) }}

Already paid

Item paid (before tax)${{ number_format($remainingBreakdown['paid_subtotal'], 2) }}
@if($plan->hasTax())
Sales tax paid${{ number_format($remainingBreakdown['paid_tax'], 2) }}
@endif
Total paid${{ number_format($plan->amount_paid, 2) }}

Still owed

Item balance (before tax)${{ number_format($remainingBreakdown['subtotal'], 2) }}
@if($plan->hasTax())
Sales tax on balance${{ number_format($remainingBreakdown['tax_amount'], 2) }}
@endif
Total you still owe ${{ number_format($remainingBreakdown['total_amount'], 2) }}

@if($plan->hasTax()) Sales tax is included in your plan total. @endif Choose any payment amount up to your remaining balance of ${{ number_format($remainingBreakdown['total_amount'], 2) }}.

@else
Subtotal${{ number_format($plan->subtotal, 2) }}
@if($plan->hasTax())
Tax ({{ rtrim(rtrim(number_format($plan->tax_rate_percent, 2), '0'), '.') }}%)${{ number_format($plan->tax_amount, 2) }}
@endif
Total${{ number_format($plan->total_amount, 2) }}
@endif
@php $paymentPercentBase = $isFirstPayment ? (float) $plan->total_amount : (float) $plan->balance_due; $paymentPercentBaseLabel = $isFirstPayment ? 'plan total' : 'remaining balance'; $minimumPercentLabel = $isFirstPayment ? 'plan total' : 'remaining balance'; $minimumTaxNote = $plan->hasTax() ? ', tax included' : ''; @endphp
Minimum payment ${{ number_format($minimum, 2) }} ({{ rtrim(rtrim(number_format($customMinPercent ?? 10, 2), '0'), '.') }}% of {{ $minimumPercentLabel }}{{ $minimumTaxNote }} via Custom amount)
@if($isFirstPayment)
You have 90 calendar days from your first successful payment to pay the plan in full. @if($invitationExpiresFormatted) This invitation link expires on {{ $invitationExpiresFormatted }}. @endif
@elseif($planExpiresFormatted)
Your layaway must be paid in full by {{ $planExpiresFormatted }}.
@endif
@csrf @php $selectedPaymentOption = old('payment_option'); if ($selectedPaymentOption === null && $options !== []) { $selectedPaymentOption = $options[0]['key'] ?? ''; } @endphp

Choose your next payment

Percent options (20%, 30%, 40%) are calculated on your {{ $paymentPercentBaseLabel }} of ${{ number_format($paymentPercentBase, 2) }}.

@foreach($options as $option) @if(!empty($option['is_custom'])) @else @endif @endforeach
@if(!empty($wizardBackUrl)) Back @endif
@if(!empty($pendingCcafPayments)) @endif @if(!empty($showStorySaveLink)) @endif