merge
This commit is contained in:
@@ -108,6 +108,7 @@ class _CustomEditorState extends State<CustomEditor> {
|
||||
CustomDuty _customduty = CustomDuty(
|
||||
productType: _productController.text,
|
||||
fee: double.parse(_feeController.text));
|
||||
print('_customduty => $_customduty');
|
||||
if (_isNew) {
|
||||
await shipmentRateModel.addCustomDuty(_customduty);
|
||||
} else {
|
||||
@@ -125,8 +126,7 @@ class _CustomEditorState extends State<CustomEditor> {
|
||||
}
|
||||
|
||||
_delete() {
|
||||
showConfirmDialog(
|
||||
context, "cargo.edit.delete.confirm", _deleteCustomDuty);
|
||||
showConfirmDialog(context, "cargo.edit.delete.confirm", _deleteCustomDuty);
|
||||
}
|
||||
|
||||
_deleteCustomDuty() async {
|
||||
|
||||
Reference in New Issue
Block a user