at 8:01 PM I received a customer service phone call #5167
This commit is contained in:
parent
5cd0f4a1f1
commit
87483e20ba
@ -286,7 +286,7 @@ class Controller_api_order extends Crunchbutton_Controller_Rest {
|
||||
break;
|
||||
|
||||
case '0':
|
||||
echo '<Dial timeout="10" record="true">_PHONE_</Dial>';
|
||||
echo '<Dial timeout="10" record="true">'.c::config()->phone->restaurant.'</Dial>';
|
||||
|
||||
}
|
||||
echo '</Response>';
|
||||
@ -528,7 +528,7 @@ class Controller_api_order extends Crunchbutton_Controller_Rest {
|
||||
$charge = $order->process($_POST);
|
||||
|
||||
if ($charge === true) {
|
||||
|
||||
|
||||
// reload so we get id_order and uuid
|
||||
$order = new Order($order->id_order);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user