@if ($is_editable && $tab != 'tax-report') {!! Form::checkbox('selected_phases[]', $item->id, null, ['class' => 'form-check-input mt-1 d-none']) !!} {!! getIcon('abstract-14', 'fs-4') !!} @can('update invoice item') {!! getIcon('pencil','fs-3') !!} @endcan @endif {{$item->name ? : $item->invoiceable->name}}
{{$item->description}} @if ($item->is_allowable_cost) @cMoney($item->unit_price, $invoice->currency, true) @else @cMoney($item->subtotal, $invoice->currency, true) @endif {{$item->quantity ?? 1}} @cMoney($item->subtotal, $invoice->currency, true) @cMoney($item->subtotal, $invoice->currency, true) {{-- before tax deduction row --}} @includeWhen(@$item->deduction && @$item->deduction->is_before_tax, 'admin.pages.invoices.items.edit.deduction-row') {{-- item subtoital if deduction is before tax --}} @if (@$item->deduction && @$item->deduction->is_before_tax) @include('admin.pages.invoices.items.edit.subtotal-row') @endif {{-- taxes row --}} @include('admin.pages.invoices.items.edit.tax-row') {{-- item subtotal if deduction after tax --}} @if($tab != 'authority-tax' && @$item->deduction && !@$item->deduction->is_before_tax) @include('admin.pages.invoices.items.edit.subtotal-row') @endif @includeWhen($tab != 'authority-tax' && @$item->deduction && !@$item->deduction->is_before_tax, 'admin.pages.invoices.items.edit.deduction-row') @if($invoice->isEditable()) @can('manage invoice item manual total') @if($item->total_amount_adjustment) {{-- remove manual total --}} @endif {{-- edit manual total --}} {!! getIcon('pencil','fs-3') !!} @endcan @endif Item Total total_amount_adjustment) data-bs-toggle="tooltip" title="Calculated amount: {{cMoney($item->getRawOriginal('total') /100, $invoice->currency, true)}}" @endif > @if($tab != 'tax-report') @cMoney($tab == 'summary' ? $item->total : $item->authority_inv_total, $invoice->currency, true) @if($tab == 'summary' && $item->total_amount_adjustment) * @endif @endif