diff --git a/src/private/catalogs/products/AddOrEditProductCollectionForm.jsx b/src/private/catalogs/products/AddOrEditProductCollectionForm.jsx index f27fa51..0b0cb47 100644 --- a/src/private/catalogs/products/AddOrEditProductCollectionForm.jsx +++ b/src/private/catalogs/products/AddOrEditProductCollectionForm.jsx @@ -199,12 +199,13 @@ export default function AddOrEditProductCollectionForm({ initialData, onAdd, onC {/* Name */} - setVal('name', e.target.value)} /> - {/* Status */} - setVal('status', e.target.value)}> - Active - Inactive - + setVal('name', e.target.value)} + sx={{ mt: 1 }} + /> {/* Category / Provider */} - {/* Color / Line / Currency */} - setVal('color', e.target.value)} - > - {loadingTags && Cargando…} - {!loadingTags && options.colors.filter(t => t.status !== 'Inactive').map(tag => ( - {tag.tagName} - ))} - - setVal('line', e.target.value)} - > - {loadingTags && Cargando…} - {!loadingTags && options.lines.filter(t => t.status !== 'Inactive').map(tag => ( - {tag.tagName} - ))} - - setVal('currency', e.target.value)} - > - {loadingTags && Cargando…} - {!loadingTags && options.currencies.filter(t => t.status !== 'Inactive').map(tag => ( - {tag.tagName} - ))} - + + {/* Color */} + + setVal('color', e.target.value)} + > + {loadingTags && Cargando…} + {!loadingTags && options.colors.filter(t => t.status !== 'Inactive').map(tag => ( + {tag.tagName} + ))} + + + {/* Line */} + + setVal('line', e.target.value)} + > + {loadingTags && Cargando…} + {!loadingTags && options.lines.filter(t => t.status !== 'Inactive').map(tag => ( + {tag.tagName} + ))} + + + {/* Material */} + + setVal('attributes.material', e.target.value)} + > + {loadingTags && Cargando…} + {!loadingTags && options.materials.filter(t => t.status !== 'Inactive').map(tag => ( + {tag.tagName} + ))} + + + + + + {/* Price */} + + setVal('price', e.target.value)} /> + + {/* Stock */} + + setVal('stock', e.target.value)} /> + + {/* Currency */} + + setVal('currency', e.target.value)} + > + {loadingTags && Cargando…} + {!loadingTags && options.currencies.filter(t => t.status !== 'Inactive').map(tag => ( + {tag.tagName} + ))} + + + {/* Attributes */} - setVal('attributes.material', e.target.value)} - > - {loadingTags && Cargando…} - {!loadingTags && options.materials.filter(t => t.status !== 'Inactive').map(tag => ( - {tag.tagName} - ))} - - {/* Stock / Price */} - setVal('stock', e.target.value)} /> - setVal('price', e.target.value)} /> + {/* Status */} + setVal('status', e.target.value)}> + Active + Inactive +