plan-expiry-in-two-days #83

Merged
dhanshas merged 4 commits from plan-expiry-in-two-days into dev 2025-08-08 07:55:52 +00:00
Showing only changes of commit 6f7bb43296 - Show all commits

View File

@ -240,14 +240,14 @@ function prepareNotificationMessage(
title = notification.data?.title || "Plan Expired"; title = notification.data?.title || "Plan Expired";
body = body =
notification.data?.message || notification.data?.message ||
`${notification.data?.clientName}'s subscription for plan ${notification.data?.planName} has expired.`; `${notification.data?.clientName}'s membership subscription for ${notification.data?.planName} has expired.`;
break; break;
case "plan_expiring_soon": case "plan_expiring_soon":
title = notification.data?.title || "Plan Expiring Soon"; title = notification.data?.title || "Plan Expiring Soon";
body = body =
notification.data?.message || notification.data?.message ||
`${notification.data?.clientName}'s subscription for plan ${notification.data?.planName} will expire on ${notification.data?.formattedExpiryDate}.`; `${notification.data?.clientName}'s membership subscription for ${notification.data?.planName} will expire on ${notification.data?.formattedExpiryDate}.`;
break; break;
case "schedule_update": case "schedule_update":