@verbatim @endverbatim @verbatim @endverbatim Proposal @if($targetDoc)
📄 Used in {{ ucfirst($targetDoc->type ?? 'document') }}: @if(isset($targetDoc->estimation_number)) {{ $targetDoc->estimation_number }} @elseif(isset($targetDoc->invoice_number)) {{ $targetDoc->invoice_number }} @endif
@endif

📋 Proposal Details

🔗 Merge Fields
Customer / Lead @if($leadShowUrl) @if(true) @else @endif Lead @else No customer or lead @endif
Date
Valid Until
Total Amount
📊 Status
@if($permissions['canEdit'] ?? false) @foreach(['draft', 'sent', 'open', 'revised', 'declined', 'accepted'] as $status) @endforeach @else @endif
📅 Activity
Created
Sent
Accepted

Content

@if($permissions['canEdit'] ?? false) @endif @if($permissions['canEdit'] ?? false) @endif
{{-- Excel import panel (shown above editor) --}} @if($permissions['canEdit'] ?? false)
file.xlsx
@endif {{-- VIEW MODE --}}
{!! \Modules\SalesManagement\Services\ProposalService::processContentForDisplay($proposal) !!}
Item Qty Unit Rate Tax Discount HSN Amount
Subtotal
Discount-₹
Tax
Total
{{-- EDIT MODE --}} @if($permissions['canEdit'] ?? false)
Available merge fields: {proposal_number} {proposal_date} {proposal_total} {subtotal} {client_company} {client_name} {client_email} {client_phone} {company_name} {company_email} {company_phone} {proposal_items} — These will be replaced with actual values when viewing/printing.
@endif

📝 Proposal Templates

⚙️ Manage
@if($proposalTemplates->count() > 0)
@foreach($proposalTemplates as $template)
📄
{{ $template->name }}
Updated {{ $template->updated_at->diffForHumans() }}
@if($permissions['canEdit'] ?? false) @endif Edit
@endforeach
@else

No templates found

Create Template
@endif
@include('salesmanagement::admin.sales.partials.activity-log', ['timeline' => $timeline])
@if($hasBrands) @endif