partial #951
This commit is contained in:
parent
1bf13c3b8a
commit
e07c115b09
@ -65,10 +65,6 @@ class Controller_api_notification extends Crunchbutton_Controller_Rest {
|
||||
$notification->date = date('Y-m-d H:i:s');
|
||||
$notification->save();
|
||||
if ($notification->order()->restaurant()->confirmation) {
|
||||
Log::debug([
|
||||
'fax' => 'confirm_callbak',
|
||||
'type' => 'notification'
|
||||
]);
|
||||
$notification->order()->queConfirm();
|
||||
}
|
||||
}
|
||||
|
||||
@ -52,11 +52,7 @@ class Crunchbutton_Notification extends Cana_Table
|
||||
|
||||
if ($order->restaurant()->confirmation && !$order->_confirm_trigger) {
|
||||
$order->_confirm_trigger = true;
|
||||
Log::debug([
|
||||
'fax' => 'confirm_notification',
|
||||
'type' => 'notification'
|
||||
]);
|
||||
// $order->queConfirm();
|
||||
$order->queConfirm();
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user