@extends('layouts.public-document') @section('title', ($debitNoteTitle ?? 'Debit Note') . ' ' . $debitNote->debit_note_number) @section('content') @php $documentCopyLabel = $documentCopyLabel ?? ($documentCopies['original'] ?? 'Original Copy'); $debitNoteTitle = $debitNoteTitle ?? \App\Helpers\DebitNoteDocumentSettings::title($company->id ?? null); @endphp
@if($logoSrc ?? null) @endif {{ $company->name }}
@if($company->phone || $company->email) Contact {{ $company->name }} @endif {{ $debitNote->isClient() ? 'Client' : 'Vendor' }} name: {{ $debitNote->partyName() }}
Debit Note # {{ $debitNote->debit_note_number }}
Date {{ $debitNote->debit_note_date?->format('d - M - Y') ?? '—' }}
Amount Due ₹ {{ number_format($debitNote->amount_due, 2) }}
@include('admin.debit-notes.partials._document', [ 'debitNoteTitle' => $debitNoteTitle, 'documentCopyLabel' => $documentCopyLabel, 'layout' => 'a4', 'forPublic' => true, 'logoSrc' => $logoSrc, 'signatureSrc' => $signatureSrc, ])
@endsection @push('styles') @endpush