add disable customer function
This commit is contained in:
@@ -77,7 +77,8 @@ class _ShipmentRatesState extends State<ShipmentRates> {
|
||||
child: ListView(
|
||||
// crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
fcsButton(context, getLocalString(context, "rate.cal.title"), callack: () {
|
||||
fcsButton(context, getLocalString(context, "rate.cal.title"),
|
||||
callack: () {
|
||||
Navigator.of(context).push(CupertinoPageRoute(
|
||||
builder: (context) => ShipmentRatesCal()));
|
||||
}),
|
||||
@@ -93,12 +94,14 @@ class _ShipmentRatesState extends State<ShipmentRates> {
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 15),
|
||||
Spacer(),
|
||||
IconButton(
|
||||
icon: Icon(Icons.edit, color: primaryColor),
|
||||
onPressed: () {
|
||||
Navigator.of(context).push(CupertinoPageRoute(
|
||||
builder: (context) => CargoTypeList()));
|
||||
})
|
||||
isEditable
|
||||
? IconButton(
|
||||
icon: Icon(Icons.edit, color: primaryColor),
|
||||
onPressed: () {
|
||||
Navigator.of(context).push(CupertinoPageRoute(
|
||||
builder: (context) => CargoTypeList()));
|
||||
})
|
||||
: Container()
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -117,12 +120,15 @@ class _ShipmentRatesState extends State<ShipmentRates> {
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 15),
|
||||
Spacer(),
|
||||
IconButton(
|
||||
icon: Icon(Icons.edit, color: primaryColor),
|
||||
onPressed: () {
|
||||
Navigator.of(context).push(CupertinoPageRoute(
|
||||
builder: (context) => DiscountByWeightList()));
|
||||
})
|
||||
isEditable
|
||||
? IconButton(
|
||||
icon: Icon(Icons.edit, color: primaryColor),
|
||||
onPressed: () {
|
||||
Navigator.of(context).push(CupertinoPageRoute(
|
||||
builder: (context) =>
|
||||
DiscountByWeightList()));
|
||||
})
|
||||
: Container()
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -151,12 +157,14 @@ class _ShipmentRatesState extends State<ShipmentRates> {
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 15),
|
||||
Spacer(),
|
||||
IconButton(
|
||||
icon: Icon(Icons.edit, color: primaryColor),
|
||||
onPressed: () {
|
||||
Navigator.of(context).push(CupertinoPageRoute(
|
||||
builder: (context) => CustomList()));
|
||||
})
|
||||
isEditable
|
||||
? IconButton(
|
||||
icon: Icon(Icons.edit, color: primaryColor),
|
||||
onPressed: () {
|
||||
Navigator.of(context).push(CupertinoPageRoute(
|
||||
builder: (context) => CustomList()));
|
||||
})
|
||||
: Container()
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user