WT 1.1.11+5 bug fixes customer change

This commit is contained in:
bossanyit
2021-04-12 22:15:33 +02:00
parent db103a1015
commit d1c31b6d25
10 changed files with 48 additions and 45 deletions
+5 -5
View File
@@ -101,27 +101,27 @@ class CustomerRepository with Logging {
}
setName(String name) {
if (this.customer == null) return;
if (this.customer == null) throw Exception("Initialize the customer object");
this.customer!.name = name;
}
setFirstName(String firstName) {
if (this.customer == null) return;
if (this.customer == null) throw Exception("Initialize the customer object");
this.customer!.firstname = firstName;
}
setPassword(String password) {
if (this.customer == null) return;
if (this.customer == null) throw Exception("Initialize the customer object");
this.customer!.password = password;
}
setEmail(String email) {
if (this.customer == null) return;
if (this.customer == null) throw Exception("Initialize the customer object");
this.customer!.email = email;
}
setSex(String sex) {
if (this.customer == null) return;
if (this.customer == null) throw Exception("Initialize the customer object");
this.customer!.sex = sex;
}