update carton and fcs shipment

This commit is contained in:
tzw
2025-02-17 20:13:30 +06:30
parent ffaa715333
commit 0295a29c44
33 changed files with 171 additions and 2383 deletions

View File

@@ -360,10 +360,10 @@ class _HomePageState extends State<HomePage> {
// if (user.hasShipment()) widgetsFcs.add(pickupBtnFcs);
// if (user.hasInvoices()) widgetsFcs.add(invoicesBtnFcs);
// if (user.hasFcsShipments()) widgetsFcs.add(fcsShipmentBtn);
if (user.hasFcsShipments()) widgetsFcs.add(fcsShipmentBtn);
if (user.hasReceiving()) widgetsFcs.add(receivingBtn);
if (user.hasProcessing()) widgetsFcs.add(processingBtn);
// if (user.hasCarton()) widgetsFcs.add(cartonBtn);
if (user.hasCarton()) widgetsFcs.add(cartonBtn);
// if (user.hasDeliveries()) widgetsFcs.add(deliveryBtn);
if (user.hasCustomers()) widgetsFcs.add(customersBtn);
if (user.hasAdmin()) widgetsFcs.add(discountBtn);