Merge branch UAT
This commit is contained in:
commit
e3ccd41116
@ -637,7 +637,7 @@ class Notifications extends BaseController
|
|||||||
$emailContent = str_replace("{SCHEME_NAME}", $schemename, $emailContent);
|
$emailContent = str_replace("{SCHEME_NAME}", $schemename, $emailContent);
|
||||||
}
|
}
|
||||||
if (isset($expirydate)) {
|
if (isset($expirydate)) {
|
||||||
$expiryon = $expirydate ? date('d/m/Y', strtotime($expirydate)) : '';
|
$expiryon = $expirydate ? date('d-m-Y', strtotime($expirydate)) : '';
|
||||||
$emailContent = str_replace("{EXPIRY_DATE}", $expiryon, $emailContent);
|
$emailContent = str_replace("{EXPIRY_DATE}", $expiryon, $emailContent);
|
||||||
}
|
}
|
||||||
if (isset($membership_id)) {
|
if (isset($membership_id)) {
|
||||||
@ -735,7 +735,7 @@ class Notifications extends BaseController
|
|||||||
$whatsappContent = str_replace("{SCHEME_NAME}", $schemename, $whatsappContent);
|
$whatsappContent = str_replace("{SCHEME_NAME}", $schemename, $whatsappContent);
|
||||||
}
|
}
|
||||||
if (isset($expirydate)) {
|
if (isset($expirydate)) {
|
||||||
$expiryon = $expirydate ? date('d/m/Y', strtotime($expirydate)) : '';
|
$expiryon = $expirydate ? date('d-m-Y', strtotime($expirydate)) : '';
|
||||||
$whatsappContent = str_replace("{EXPIRY_DATE}", $expiryon, $whatsappContent);
|
$whatsappContent = str_replace("{EXPIRY_DATE}", $expiryon, $whatsappContent);
|
||||||
}
|
}
|
||||||
if (isset($customerId)) {
|
if (isset($customerId)) {
|
||||||
@ -1024,7 +1024,7 @@ class Notifications extends BaseController
|
|||||||
$notificationContent = str_replace("{SCHEME_NAME}", $dataPointsArray["scheme_name"], $notificationContent);
|
$notificationContent = str_replace("{SCHEME_NAME}", $dataPointsArray["scheme_name"], $notificationContent);
|
||||||
}
|
}
|
||||||
if (isset($dataPointsArray["formatted_due_date"])) {
|
if (isset($dataPointsArray["formatted_due_date"])) {
|
||||||
$expiryon = $dataPointsArray["formatted_due_date"] ? date('d/m/Y', strtotime($dataPointsArray["formatted_due_date"])) : '';
|
$expiryon = $dataPointsArray["formatted_due_date"] ? date('d-m-Y', strtotime($dataPointsArray["formatted_due_date"])) : '';
|
||||||
$notificationContent = str_replace("{EXPIRY_DATE}", $expiryon, $notificationContent);
|
$notificationContent = str_replace("{EXPIRY_DATE}", $expiryon, $notificationContent);
|
||||||
}
|
}
|
||||||
if (isset($dataPointsArray["customer_id"])) {
|
if (isset($dataPointsArray["customer_id"])) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user