@formGroup(
transTitleCase('generic.financial.ingredient_costs'),
html()->number('ingredient_costs', $product->ingredient_costs, 0, null, 0.01)->attribute('tabindex', $tabIndex++)->disabled(),
$product->ingredient_costs,
true,
[
'prepend-text' => currencySymbol('lg'),
'class' => 'advanced-input',
'style' => 'display: none;'
]
)
@formGroup(
transTitleCase('generic.financial.base_costs'),
html()->number('base_costs', $product->base_costs, 0, null, 0.01)->attribute('tabindex', $tabIndex++),
$product->base_costs,
true,
[
'prepend-text' => currencySymbol('lg'),
'class' => 'advanced-input',
'style' => 'display: none;'
]
)
@formGroup(
transTitleCase('generic.financial.base_price'),
html()->number('price', $product->price, 0, null, 0.01)->attribute('tabindex', $tabIndex++),
$product->price,
true,
[
'prepend-text' => currencySymbol('lg'),
'class' => 'advanced-input',
'style' => 'display: none;'
]
)
@formGroup(
transTitleCase('models.stock_item.vat'),
html()->number('vat_pct', null, 0, null, 0.01)->attribute('tabindex', $tabIndex++),
$product->vat_pct,
true,
['prepend-icon' => 'percent']
)