partial #4238
This commit is contained in:
parent
45eb7fc572
commit
7c841ac81c
@ -344,6 +344,7 @@ class Crunchbutton_Admin_Notification extends Cana_Table {
|
||||
$shiftDateStart = $shift->dateStart( c::config()->timezone );
|
||||
}
|
||||
|
||||
|
||||
if( $shiftDateStart && ( $order->date() < $shiftDateStart ) ){
|
||||
$message = $first_name . ' ';
|
||||
$message .= Crunchbutton_Admin_Notification::REPS_COCKPIT . $order->id_order;
|
||||
@ -499,6 +500,8 @@ class Crunchbutton_Admin_Notification extends Cana_Table {
|
||||
'message' => $message
|
||||
]);
|
||||
|
||||
Log::debug( [ 'order' => $order->id_order, 'action' => 'send sms to admin', 'sms' => $sms, 'message' => $message, 'type' => 'admin_notification' ]);
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user