partial 1200

This commit is contained in:
Daniel Camargo 2013-05-13 15:26:22 -03:00
parent df7e78d4a7
commit 1405095391

View File

@ -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':