@stack('actions_td_start')
@stack('actions_button_start')
@stack('actions_button_end')
|
@stack('actions_td_end')
@stack('name_td_start')
has('item.' . $item_row . '.name') ? 'class="has-error"' : '' !!}>
@stack('name_input_start')
{!! $errors->first('item.' . $item_row . '.name', ' :message ') !!}
@stack('name_input_end')
|
@stack('name_td_end')
@stack('quantity_td_start')
has('item.' . $item_row . '.quantity') ? 'class="has-error"' : '' }}>
@stack('quantity_input_start')
{!! $errors->first('item.' . $item_row . '.quantity', ' :message ') !!}
@stack('quantity_input_end')
|
@stack('quantity_td_end')
@stack('price_td_start')
has('item.' . $item_row . 'price') ? 'class="has-error"' : '' }}>
@stack('price_input_start')
{!! $errors->first('item.' . $item_row . 'price', ' :message ') !!}
@stack('price_input_end')
|
@stack('price_td_end')
@stack('taxes_td_start')
has('item.' . $item_row . '.tax_id') ? 'class="has-error"' : '' }}>
@stack('tax_id_input_start')
{!! Form::select('item[' . $item_row . '][tax_id][]', $taxes, (empty($item) || empty($item->taxes)) ? setting('general.default_tax') : $item->taxes->pluck('tax_id'), ['id'=> 'item-tax-' . $item_row, 'class' => 'form-control tax-select2', 'multiple' => 'true']) !!}
{!! $errors->first('item.' . $item_row . '.tax_id', ' :message ') !!}
@stack('tax_id_input_end')
|
@stack('taxes_td_end')
@stack('total_td_start')
@stack('total_input_start')
@if (empty($item) || !isset($item->total))
0
@else
@money($item->total, $invoice->currency_code, true)
@endif
@stack('total_input_end')
|
@stack('total_td_end')