@extends('layouts.app') @section('title', 'New Ingredient') @section('content')
@csrf
Ingredient + First Supplier Entry

Enter the total purchase price — the system calculates the unit price automatically (total ÷ quantity). Adding an existing ingredient (same category & name) adds this supplier's quantity to its total.

@foreach($supplierNames as $sn)
Calculated unit price:
Cancel
@endsection