@can('crm_lead_invoice-view')
No invoice found for this lead.
@else| Number | Type | product | Levels Count | Total Price | Discount Price | @if($allInvoices->contains(fn($invoice) => !is_null($invoice->promocode_id)))Promocode | @endif @if($allInvoices->contains(fn($invoice) => $invoice->referralActivity))Referral Discount Price | @endifNet Price | status | Paid | Action |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->type }} | @if ($invoice->type == 'product') {{ $invoice->productInvoice?->name_en }} @else {{ $invoice->trackInvoice?->name_en ?? 'Track' }} @endif | {{ $invoice->levels_count ?? 1 }} | {{ $invoice->total_price }} | {{ $invoice->discount_plan_price ?? 0}} {{ $invoice->discount_plan_type == "percentage" ? '%' : '$' }} | @if($allInvoices->contains(fn($inv) => !is_null($inv->promocode_id))){{ $invoice->promocode_price ?? 0 }} {{ $invoice->promocode_type == "percentage" ? '%' : '$' }} | @endif @if($allInvoices->contains(fn($inv) => $inv->referralActivity)){{ $invoice->referral_activity_price ?? 0 }} {{ $invoice->referral_activity_type == "percentage" ? '%' : '$' }} | @endif{{ $invoice->net_price }} | {{ $invoice->payment_status == 'not_paid' ? 'pending' : $invoice->payment_status }} | {{ $invoice->lead_total_paid ?? 0 }} |
@if($invoice->payment_status != 'paid')
@endif
|