{{$ingredient->full_name}}
@if(!empty($ingredient->ingredient_line_id))
@endif
@if(!empty($ingredient->mfg_ingredient_group_id))
@endif
@if(isset($ig_index))
@endif
|
{!! Form::text('ingredients[' . $row_index . '][waste_percent]', !empty($ingredient->waste_percent) ? @num_format($ingredient->waste_percent) : 0, ['class' => 'form-control input_number waste_percent input-sm', 'placeholder' => __('lang_v1.waste_percent')]); !!}
|
{!! Form::text('ingredients[' . $row_index . '][quantity]', !empty($ingredient->quantity) ? @format_quantity($ingredient->quantity) : 1, ['class' => 'form-control input_number quantity input-sm', 'placeholder' => __('lang_v1.quantity'), 'required']); !!}
@if(!empty($ingredient->sub_units))
@else
{!! $ingredient->unit !!}
@endif
|
@php
$price = !empty($ingredient->quantity) ? $ingredient->quantity * $ingredient->dpp_inc_tax : $ingredient->dpp_inc_tax;
$price = $price * $ingredient->multiplier;
@endphp
{{@num_format($price)}} |
|