partial 1200
This commit is contained in:
parent
df7e78d4a7
commit
1405095391
@ -24,13 +24,14 @@ class Controller_api_order extends Crunchbutton_Controller_Rest {
|
||||
break;
|
||||
|
||||
case 'resend_notification':
|
||||
// $order->confirmed = 1;
|
||||
// $order->save();
|
||||
if ( $order->que() ) {
|
||||
echo json_encode(['status' => 'success']);
|
||||
exit;
|
||||
} else {
|
||||
echo json_encode(['status' => 'error']);
|
||||
}
|
||||
|
||||
exit;
|
||||
break;
|
||||
|
||||
case 'say':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user