|
|
@@ -18,6 +18,11 @@ if($submit) {
|
|
|
$form_exception = new FormException;
|
|
|
|
|
|
$customer->name = http::value("name", "trim");
|
|
|
+ $customer->address_1 = http::value("address_1", "trim");
|
|
|
+ $customer->address_2 = http::value("address_2", "trim");
|
|
|
+ $customer->city = http::value("city", "trim");
|
|
|
+ $customer->county = http::value("county", "trim");
|
|
|
+ $customer->postal_code = http::value("postal_code", "trim");
|
|
|
$customer->email = http::value("email", "email");
|
|
|
$customer->phone = http::value("phone", "trim");
|
|
|
$customer->email_after_test = http::value("email_after_test", "int");
|