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