add fcs shipment info

This commit is contained in:
Thinzar Win
2020-10-15 17:33:43 +06:30
parent caf600e4eb
commit 2a422fc4ea
16 changed files with 406 additions and 295 deletions

View File

@@ -181,6 +181,13 @@ class _ShipmentEditorState extends State<ShipmentEditor> {
selectedValue: _selectedPickupType,
values: pickupModel.pickupTypes,
);
final createBtn = LocalButton(
textKey: "shipment.create",
);
final updateBtn = LocalButton(
textKey: "shipment.update",
);
return LocalProgress(
inAsyncCall: _isLoading,
@@ -245,9 +252,7 @@ class _ShipmentEditorState extends State<ShipmentEditor> {
Column(
children: getBoxList(context, boxModel.boxes),
),
LocalButton(
textKey: "shipment.new",
),
_isNew ? createBtn : updateBtn,
],
),
),