This commit is contained in:
2020-10-28 06:14:36 +06:30
2 changed files with 1 additions and 5 deletions

View File

@@ -141,10 +141,6 @@ class _InvoiceInfoState extends State<InvoiceInfo> {
text: _invoice.paymentMethod.name, text: _invoice.paymentMethod.name,
); );
final receiptsBtn = LocalButton(
textKey: "invoice.btn_payment_receipt",
callBack: _cancel,
);
final cancelBtn = LocalButton( final cancelBtn = LocalButton(
textKey: "invoice.cancel.btn", textKey: "invoice.cancel.btn",
callBack: _cancel, callBack: _cancel,
@@ -185,7 +181,6 @@ class _InvoiceInfoState extends State<InvoiceInfo> {
SizedBox( SizedBox(
height: 10, height: 10,
), ),
isCanceled ? Container() : receiptsBtn,
isCanceled ? Container() : cancelBtn, isCanceled ? Container() : cancelBtn,
], ],
), ),

View File

@@ -125,6 +125,7 @@ class _ShipmentRatesCalState extends State<ShipmentRatesCal> {
callback: (v) { callback: (v) {
setState(() { setState(() {
_cargoType = v; _cargoType = v;
_calShipmentWeight();
}); });
}, },
labelKey: "cargo.type", labelKey: "cargo.type",