fix: low stock alert only on out movements, fix date formatting in notifications
This commit is contained in:
1 parent
fddfb2aaff
commit
2d54c670de
3 files changed
+3
-3
No files matched your search
@@ -23,7 +23,7 @@ class GoodsReceiptConfirmedNotification extends Notification implements ShouldQu
|
||||
public function toUltraMessage(mixed $notifiable): UltraMessageMessage
|
||||
{
|
||||
return UltraMessageMessage::text(
|
||||
"GRN *#{$this->grn->grn_number}* has been confirmed and goods received.\n\nPO Reference: {$this->grn->purchaseOrder->po_number}\nDate: {$this->grn->received_date}"
|
||||
"GRN *#{$this->grn->grn_number}* has been confirmed and goods received.\n\nPO Reference: {$this->grn->purchaseOrder->po_number}\nDate: {$this->grn->received_date->format('d M Y')}"
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user