updated checkout flow
This commit is contained in:
@@ -79,11 +79,13 @@ class UserController extends Controller {
|
||||
'ContactNumber' => $post['mobilenumber'],
|
||||
'OtherNotes' => $post['othernotes'],
|
||||
'Address' => $post['address'],
|
||||
'Address2' => $post['address2'],
|
||||
'State' => $post['state'],
|
||||
'City' => $post['city'],
|
||||
'ZipCode' => $post['zipcode']
|
||||
'ZipCode' => $post['zipcode'],
|
||||
'CountryCode' => $post['countryCode'],
|
||||
'Country' => $post['country']
|
||||
);
|
||||
|
||||
echo $i = $m->insertAddressBook($data);
|
||||
|
||||
}
|
||||
@@ -116,11 +118,15 @@ class UserController extends Controller {
|
||||
'ContactNumber' => $post['mobilenumber'],
|
||||
'OtherNotes' => $post['othernotes'],
|
||||
'Address' => $post['address'],
|
||||
'Address2' => $post['address2'],
|
||||
'State' => $post['state'],
|
||||
'City' => $post['city'],
|
||||
'ZipCode' => $post['zipcode']
|
||||
'ZipCode' => $post['zipcode'],
|
||||
'CountryCode' => $post['countryCode'],
|
||||
'Country' => $post['country']
|
||||
);
|
||||
|
||||
|
||||
echo $i = $m->saveUpdateAddressBook($data, $id);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user