@php $item_colspan = in_array(setting('localisation.discount_location', 'total'), ['item', 'both']) ? '6' : '5' @endphp @if (!$hideEditItemColumns) @endif
@stack('move_th_start') @stack('move_th_end') @if (!$hideItems) @stack('name_th_start') @stack('name_th_end') @stack('move_th_start') @stack('move_th_end') @endif @stack('quantity_th_start') @if (!$hideQuantity) @endif @stack('quantity_th_end') @stack('price_th_start') @if (!$hidePrice) @endif @stack('price_th_end') @if (!$hideDiscount) @if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both'])) @stack('discount_th_start') @stack('discount_th_end') @endif @endif @stack('total_th_start') @if (!$hideAmount) @endif @stack('total_th_end') @stack('remove_th_start') @stack('remove_th_end') @include('components.documents.form.line-item') @stack('add_item_td_start') @stack('add_item_td_end')
{{ (trans_choice($textItems, 2) != $textItems) ? trans_choice($textItems, 2) : trans($textItems) }} {{ trans($textQuantity) }} {{ trans($textPrice) }} {{ trans('invoices.discount') }} {{ trans($textAmount) }}