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

@@ -62,6 +62,7 @@ class _LengthPickerState extends State<LengthPicker> {
builder: (BuildContext context) {
return LengthPickerDialog(
controller: widget.controller,
labelKey: widget.lableKey,
);
},
);
@@ -70,8 +71,10 @@ class _LengthPickerState extends State<LengthPicker> {
class LengthPickerDialog extends StatefulWidget {
final TextEditingController controller;
final String labelKey;
const LengthPickerDialog({Key key, this.controller}) : super(key: key);
const LengthPickerDialog({Key key, this.controller, this.labelKey})
: super(key: key);
@override
_LengthPickerDialogState createState() => _LengthPickerDialogState();
@@ -98,7 +101,7 @@ class _LengthPickerDialogState extends State<LengthPickerDialog> {
title: Center(
child: LocalText(
context,
"shipment.box.height",
widget.labelKey,
color: primaryColor,
fontSize: 16,
)),

View File

@@ -5,8 +5,17 @@ class PopupMenu {
}
List<PopupMenu> menuPopup = <PopupMenu>[
PopupMenu(id: 1, status: "Download Commercial Invoice"),
PopupMenu(id: 2, status: "Download Packing List"),
PopupMenu(id: 3, status: "Download DMS"),
PopupMenu(id: 5, status: "Download Cargo Manifest"),
PopupMenu(
id: 1,
status: "FCSshipment.commercial_invoice",
),
PopupMenu(id: 2, status: "FCSshipment.packing_list"),
PopupMenu(
id: 3,
status: "FCSshipment.dms",
),
PopupMenu(
id: 4,
status: "FCSshipment.cargo_manifest",
),
];