Add saving of landmark, if provided. #632
This commit is contained in:
parent
4a1ae91b78
commit
5c61e5ebea
1 changed files with 5 additions and 1 deletions
|
|
@ -2711,6 +2711,9 @@ class APIController extends Controller implements LoggedController
|
|||
// instructions
|
||||
$instructions = $req->request->get('delivery_instructions', '');
|
||||
|
||||
// landmark
|
||||
$landmark = $req->request->get('landmark', '');
|
||||
|
||||
// longitude and latitude
|
||||
$long = $req->request->get('long');
|
||||
$lat = $req->request->get('lat');
|
||||
|
|
@ -2796,7 +2799,8 @@ class APIController extends Controller implements LoggedController
|
|||
// TODO: error check for valid mode of payment
|
||||
->setModeOfPayment($req->request->get('mode_of_payment'))
|
||||
->setAdvanceOrder($flag_advance_order)
|
||||
->setStatusAutoAssign(AutoAssignStatus::NOT_ASSIGNED);
|
||||
->setStatusAutoAssign(AutoAssignStatus::NOT_ASSIGNED)
|
||||
->setLandmark($landmark);
|
||||
|
||||
// customer
|
||||
// $cust = $this->session->getCustomer();
|
||||
|
|
|
|||
Loading…
Reference in a new issue