13-05-2026 Waren Wirtschaft
This commit is contained in:
parent
9ce711d6b2
commit
ca3eb663fe
40 changed files with 1000 additions and 189 deletions
|
|
@ -197,7 +197,7 @@ class ProductionService
|
|||
$gram = $ing->pivot->gram;
|
||||
if ($gram === null || $gram === '') {
|
||||
throw ValidationException::withMessages([
|
||||
'product_id' => __('Für „:name“ fehlt Gramm in der Rezeptur.', ['name' => $ing->name]),
|
||||
'product_id' => __('Für „:name“ fehlt der Anteil (%) in der Rezeptur.', ['name' => $ing->name]),
|
||||
]);
|
||||
}
|
||||
$factor = (float) ($ing->pivot->factor ?? 1.1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue