@extends('garage.layouts.app') @section('title', 'New warranty claim') @push('styles') @include('shared.garage-purchase-order-ui-styles') @include('shared.garage-split-form-ui-styles') @include('garage.claims.partials.form-page-styles') @endpush @section('navbar_lead') @include('garage.partials.split-form-navbar-lead', [ 'icon' => 'bi-shield-check', 'title' => 'New warranty claim', 'subtitle' => $claimNo.' — vendor is set here for receive replacement.', ]) @endsection @php $isDiscountLayout = (old('resolution_type') === 'discount_adjustment'); $summaryResolution = old('resolution_type', 'wait_replacement'); $summaryCustomerId = old('customer_ledger_id'); $summarySaleId = old('garage_sale_id', $prefillSaleId); $summaryCustomer = $summaryCustomerId ? $customers->firstWhere('id', (int) $summaryCustomerId) : null; $summarySale = $summarySaleId ? $sales->firstWhere('id', (int) $summarySaleId) : null; @endphp @section('content')