@extends('admin.layout') @section('title', 'Garments & measurements') @section('content')
For every garment you make (Shirt, Pant, Panjabi …) you decide two things: the measurement boxes you type numbers into, and the tick-box groups (Collar, Pocket, Cuff …) with the choices inside each group. Whatever you add here appears on the order form for that garment, and whatever you delete disappears. Orders already saved never lose their data.
@foreach($types as $t)Make a group for each kind of choice (Collar, Pocket, Cuff …), then add the options inside it. Turn on “pick only one” when just one option makes sense (e.g. Collar).
@foreach($t->groups as $g)On the order form you can note what the customer bought from you (shirt cloth, pant cloth …) and its price. These prices are counted in the customer’s spend but are not added to the order amount. Add or remove the kinds of products here.
@foreach($products as $p)