insert confrim payment btn in invoice
This commit is contained in:
@@ -3,6 +3,7 @@ import 'package:fcs/model/shipment_rate_model.dart';
|
||||
import 'package:fcs/pages/shipment_rates_calculate.dart';
|
||||
import 'package:fcs/pages/shipment_rates_edit.dart';
|
||||
import 'package:fcs/vo/pickup.dart';
|
||||
import 'package:fcs/widget/bottom_up_page_route.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:fcs/widget/localization/app_translations.dart';
|
||||
|
||||
@@ -110,12 +111,14 @@ class _ShipmentRatesState extends State<ShipmentRates> {
|
||||
itemBuilder: (context, index) {
|
||||
return _row(
|
||||
shipmentRateModel.rates[index].description,
|
||||
"\$ " +shipmentRateModel.rates[index].price.toString(),
|
||||
"\$ " +
|
||||
shipmentRateModel.rates[index].price.toString(),
|
||||
'per pound');
|
||||
}),
|
||||
),
|
||||
_row("Free delivery within Yangon \nfor shipments over","10","pounds"),
|
||||
_row("Delivery fees","\$ 5","below 10 pounds"),
|
||||
_row("Free delivery within Yangon \nfor shipments over", "10",
|
||||
"pounds"),
|
||||
_row("Delivery fees", "\$ 5", "below 10 pounds"),
|
||||
// Padding(
|
||||
// padding: const EdgeInsets.only(left: 18.0, right: 18),
|
||||
// child: RichText(
|
||||
@@ -127,14 +130,14 @@ class _ShipmentRatesState extends State<ShipmentRates> {
|
||||
// ),
|
||||
// ),
|
||||
fcsButton(context, "Calculate", callack: () {
|
||||
Navigator.of(context)
|
||||
.push(MaterialPageRoute(builder: (_) => ShipmentRatesCal()));
|
||||
Navigator.of(context)
|
||||
.push(BottomUpPageRoute(ShipmentRatesCal()));
|
||||
}),
|
||||
fcsButton(context, "Edit", callack: () {
|
||||
Navigator.of(context)
|
||||
.push(MaterialPageRoute(builder: (_) => ShipmentRatesEdit()));
|
||||
Navigator.of(context)
|
||||
.push(BottomUpPageRoute(ShipmentRatesEdit()));
|
||||
}),
|
||||
SizedBox(height:10)
|
||||
SizedBox(height: 10)
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -152,7 +155,7 @@ class _ShipmentRatesState extends State<ShipmentRates> {
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.end,
|
||||
children: <Widget>[
|
||||
Padding(
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(bottom: 3.0),
|
||||
child: Text(
|
||||
'$price',
|
||||
|
||||
Reference in New Issue
Block a user