@if ($invoice->contract?->have_retention)
{{__('Retention Available')}} The contract of this invoice have retention: {{$invoice->contract->getPrintableRetentionAmount()}}
| @if($is_editable) @endif DESCRIPTION | COST | QTY | @if ($invoice_total_deducted_amount = $invoice->totalDeductedAmount()) @if($invoice->is_deduction_excluding_vat) {{-- Deduction before VAT --}}DOWN PAYMENT | TAX | @else {{-- Deduction after VAT --}}TAX | DOWN PAYMENT | @endif @else {{-- If no deduction, just show TAX column --}}TAX | @endifAMOUNT |
|---|---|---|---|---|---|---|---|---|
|
@if($is_editable)
{{ $item->name ?: $item->invoiceable->name }}
@if($item->invoiceable && !$item->invoiceable->is_allowable_cost)
{{ formatDateTime($item->invoiceable->start_date, false) }} - {{ formatDateTime($item->invoiceable->due_date, false) }} @endif {{ $item->description }} |
{{ cMoney($item->subtotal, $invoice->currency, true) }} | {{ $item->quantity }} | @if($invoice->is_deduction_excluding_vat) {{-- Deduction before VAT --}} @if($invoice_total_deducted_amount){{-- deduction logic --}} @include('scrumboard::livewire.invoices.partials.rows.deduction', ['item' => $item]) | @endif {{-- TAX --}}@include('scrumboard::livewire.invoices.partials.rows.tax', ['item' => $item]) | @else {{-- TAX --}}@include('scrumboard::livewire.invoices.partials.rows.tax', ['item' => $item]) | @if($invoice_total_deducted_amount){{-- deduction logic --}} @include('scrumboard::livewire.invoices.partials.rows.deduction', ['item' => $item]) | @endif @endif{{ cMoney($item->total, $invoice->currency, true) }} @if($item->total_amount_adjustment) @php $rawTotal = $item->getRawOriginal('total'); $formattedTotal = cMoney(intToMoney($rawTotal), $invoice->currency, true); @endphp * @endif |