Warenwirtschaft: Rohstoffbestand — Default „Nur aus Herstellerrezepturen" (Kundenentscheid 17.07.2026)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
4f9dca88de
commit
e6af987237
5 changed files with 16 additions and 13 deletions
|
|
@ -23,7 +23,8 @@ class RawMaterialStockController extends Controller
|
|||
public function index(Request $request): View
|
||||
{
|
||||
// AP-20: Modus „alle" / „nur aus Herstellerrezepturen (aktiver Produkte)"
|
||||
$scope = $request->query('scope') === 'recipe' ? 'recipe' : 'all';
|
||||
// Kundenentscheid 17.07.2026: Default = nur Rohstoffe aus Herstellerrezepturen
|
||||
$scope = $request->query('scope') === 'all' ? 'all' : 'recipe';
|
||||
|
||||
$ingredients = Ingredient::query()
|
||||
->where('active', true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue