@extends('layouts.public-document') @section('title', ($challanTitle ?? 'Delivery Challan') . ' ' . $deliveryChallan->challan_number) @section('content') @php $documentCopyLabel = $documentCopyLabel ?? ($documentCopies['original'] ?? 'Original Copy'); $challanTitle = $challanTitle ?? \App\Helpers\DeliveryChallanDocumentSettings::title($company->id ?? null); @endphp
@if($logoSrc ?? null) @endif {{ $company->name }}
@if($company->phone || $company->email) Contact {{ $company->name }} @endif Client name: {{ $deliveryChallan->customer->name }}
Challan # {{ $deliveryChallan->challan_number }}
Shipping Date {{ $deliveryChallan->shipping_date?->format('d - M - Y') ?? '—' }}
Total ₹ {{ number_format($deliveryChallan->grand_total, 2) }}
@include('admin.delivery-challans.partials._document', [ 'challanTitle' => $challanTitle, 'documentCopyLabel' => $documentCopyLabel, 'layout' => 'a4', 'forPublic' => true, 'logoSrc' => $logoSrc, 'signatureSrc' => $signatureSrc, ])
@endsection @push('styles') @endpush