Warenwirtschaft: F-02 — getrennter Produktkatalog für Ergebniszeilen
Planung oben bleibt auf produktionsrelevante Produkte gefiltert (AP-47); Ergebniszeilen bieten alle aktiven Einzelprodukte plus bereits gespeicherte Output-Produkte an (Bearbeiten/Kopieren verliert keine Zuordnung mehr). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
9e745d1441
commit
73512897ee
3 changed files with 89 additions and 9 deletions
|
|
@ -182,7 +182,7 @@
|
|||
<div class="form-row align-items-center mb-1 output-row">
|
||||
<div class="col-12 col-sm-5 mb-1">
|
||||
<select name="outputs[__INDEX__][product_id]" class="form-control form-control-sm output-product" required>
|
||||
@foreach($products as $p)
|
||||
@foreach(($outputProducts ?? $products) as $p)
|
||||
<option value="{{ $p->id }}" data-batch-prefix="{{ $p->batch_prefix }}">{{ $p->name }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue