changes in add tankers

dev
Sneha 2 years ago
parent 3f79208149
commit dd4d7a9728

@ -434,7 +434,7 @@ class _AddTankersState extends State<AddTankers> {
if (tankerNameController.text != '' &&
tankerPhoneNumberController.text != '' &&
tankerAlternativePhoneNumberController.text != '' &&
tankerDrinkingPriceController.text != '' &&
tankerCapacityController.text != '' &&
waterTypes.isNotEmpty) {
waterPrice=[];
if(isDrinkingChecked){
@ -444,7 +444,7 @@ class _AddTankersState extends State<AddTankers> {
waterTypes.removeWhere((e) => e['price'].toString() == tankerDrinkingPriceController.text.toString());
}*/
if(isBoreChecked){
else if(isBoreChecked){
waterPrice.add({'price': tankerBorePriceController.text.toString()});
}
/*else{

@ -283,8 +283,9 @@ class _ConectedPendingCustomersState extends State<ConectedPendingCustomers> wit
if(requestStatus){
AppSettings.longSuccessToast("Request Accepted Successfully");
// await getConnectedSuppliersData();
await getPendingSuppliersData();
await getConnectedSuppliersData();
}
else{

Loading…
Cancel
Save