partial #1200
This commit is contained in:
parent
9c7c617bc0
commit
08dbc20eda
@ -595,12 +595,10 @@ class Crunchbutton_Order extends Cana_Table {
|
|||||||
|
|
||||||
public function resend_notify(){
|
public function resend_notify(){
|
||||||
$order = $this;
|
$order = $this;
|
||||||
Log::debug([ 'order' => $order->id_order, 'action' => 'restarting starting notification', 'type' => 'notification']);
|
// Log::debug([ 'order' => $order->id_order, 'action' => 'restarting starting notification', 'type' => 'notification']);
|
||||||
$order->confirmed = 0;
|
|
||||||
$order->save();
|
|
||||||
// Delete all the notification log in order to start a new one
|
// Delete all the notification log in order to start a new one
|
||||||
Notification_Log::DeleteFromOrder( $order->id_order );
|
// Notification_Log::DeleteFromOrder( $order->id_order );
|
||||||
Log::debug([ 'order' => $order->id_order, 'action' => 'deleted previous notifications', 'type' => 'notification']);
|
// Log::debug([ 'order' => $order->id_order, 'action' => 'deleted previous notifications', 'type' => 'notification']);
|
||||||
$order->notify();
|
$order->notify();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user