From dd469ebedf5ca2d725b0e55a1b6235eb99a5626b Mon Sep 17 00:00:00 2001 From: Focuslinkstech <45756999+Focuslinkstech@users.noreply.github.com> Date: Wed, 23 Apr 2025 00:01:41 +0100 Subject: [PATCH] feat: add plan change and expiry edit messages to notifications --- system/uploads/notifications.default.json | 5 ++++- ui/ui/admin/settings/notifications.tpl | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/system/uploads/notifications.default.json b/system/uploads/notifications.default.json index b22efb78..a86a75d7 100644 --- a/system/uploads/notifications.default.json +++ b/system/uploads/notifications.default.json @@ -8,5 +8,8 @@ "invoice_paid": "*[[company_name]]*\r\n[[address]]\r\n[[phone]]\r\n\r\n\r\nINVOICE: *[[invoice]]*\r\nDate : [[date]]\r\n[[payment_gateway]] [[payment_channel]]\r\n\r\n\r\nType : *[[type]]*\r\nPackage : *[[plan_name]]*\r\nPrice : *[[plan_price]]*\r\n\r\nUsername : *[[user_name]]*\r\nPassword : ***********\r\n\r\nExpired : *[[expired_date]]*\r\n\r\n====================\r\n[[footer]]", "email_invoice": "\r\n\r\n\r\n\r\n \r\n Invoice No: [[invoice]]\r\n\r\n \r\n\r\n\r\n\r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n [[bill_rows]]\r\n
\r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n \r\n Invoice #: [[invoice]]
\r\n Created: [[created_at]]
\r\n Due: [[due_date]]\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n [[company_name]]
\r\n [[company_address]]
\r\n [[company_phone]]
\r\n
\r\n [[fullname]]
\r\n [[address]]
\r\n [[email]]
\r\n [[phone]]
\r\n
\r\n
\r\n\r\n
\r\n

Payment Options:

\r\n

Online Portal: https://yoursite-domain.com/[[payment_link]]
\r\n Bank Transfer: Account # 1234-567890
\r\n Auto Pay: Enabled (Next payment: 2023-11-12)

\r\n
\r\n\r\n \r\n

Thank you for choosing [[company_name]]!
\r\n Late payments may result in service interruption
\r\n Need help? Contact support@[[company_name]].com or call [[company_phone]]

\r\n \r\n
\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n ", "invoice_balance": "*[[company_name]]*\r\n[[address]]\r\n[[phone]]\r\n\r\n\r\nINVOICE: *[[invoice]]*\r\nDate : [[date]]\r\n[[payment_gateway]] [[payment_channel]]\r\n\r\n\r\nType : *[[type]]*\r\nPackage : *[[plan_name]]*\r\nPrice : *[[plan_price]]*\r\n\r\n====================\r\n[[footer]]", - "welcome_message": "Welcome aboard, [[name]]! \r\nWe're excited to have you as a new [[company]] customer. \r\nYour account is all set up and ready to go.\r\n\r\nHere's a quick overview:\r\n\r\nPortal: [[url]]\r\nYour login is [[Username]]\r\nYour temporary password is [[Password]] (please change this on your first login)\r\n\r\nNeed help? Reach out to our support team at anytime.\r\n\r\nWe're here to ensure you have an amazing experience with our services. Let us know how we can best support you.\r\n\r\nWelcome to the [[company]] family!" + "welcome_message": "Welcome aboard, [[name]]! \r\nWe're excited to have you as a new [[company]] customer. \r\nYour account is all set up and ready to go.\r\n\r\nHere's a quick overview:\r\n\r\nPortal: [[url]]\r\nYour login is [[Username]]\r\nYour temporary password is [[Password]] (please change this on your first login)\r\n\r\nNeed help? Reach out to our support team at anytime.\r\n\r\nWe're here to ensure you have an amazing experience with our services. Let us know how we can best support you.\r\n\r\nWelcome to the [[company]] family!", + "plan_change_message": "Great news, [[name]]! Your plan has been successfully upgraded from [[old_plan]] to [[new_plan]]. You can now enjoy seamless internet access until [[expiry]]. Thank you for choosing [[company]] for your internet needs, Enjoy enhanced features and benefits starting today!", + "edit_expiry_message": "Dear [[name]], your [[plan]] expiry date has been extended! You can now enjoy seamless internet access until [[expiry]]. Thank you for choosing [[company]] for your internet needs! " + } diff --git a/ui/ui/admin/settings/notifications.tpl b/ui/ui/admin/settings/notifications.tpl index 59d42c11..a7c6474d 100644 --- a/ui/ui/admin/settings/notifications.tpl +++ b/ui/ui/admin/settings/notifications.tpl @@ -190,7 +190,7 @@