Skip to content

Commit c5ad451

Browse files
authored
Merge pull request #18156 from grokability/#18119-fix-double-helpering-on-dates-for-asset-acceptance
Fixed #18119 - double formatting for acceptance/decline date
2 parents 37eb638 + 44bfcee commit c5ad451

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Notifications/AcceptanceAssetAcceptedNotification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct($params)
2727
$this->item_model = $params['item_model'];
2828
$this->item_serial = $params['item_serial'];
2929
$this->item_status = $params['item_status'];
30-
$this->accepted_date = Helper::getFormattedDateObject($params['accepted_date'], 'datetime', false);
30+
$this->accepted_date = $params['accepted_date'];
3131
$this->assigned_to = $params['assigned_to'];
3232
$this->company_name = $params['company_name'];
3333
$this->settings = Setting::getSettings();

app/Notifications/AcceptanceAssetDeclinedNotification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct($params)
2525
$this->item_model = $params['item_model'];
2626
$this->item_serial = $params['item_serial'];
2727
$this->item_status = $params['item_status'];
28-
$this->declined_date = Helper::getFormattedDateObject($params['declined_date'], 'date', false);
28+
$this->declined_date = $params['declined_date'];
2929
$this->note = $params['note'];
3030
$this->assigned_to = $params['assigned_to'];
3131
$this->company_name = $params['company_name'];

0 commit comments

Comments
 (0)