add Note to reminder
This commit is contained in:
parent
72c3ff6750
commit
f97651695d
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 2024.4.4
|
||||||
|
|
||||||
|
-Data Tables for Customers List by @Focuslinkstech
|
||||||
|
|
||||||
## 2024.4.3
|
## 2024.4.3
|
||||||
|
|
||||||
- Export logs to CSV by @agstrxyz
|
- Export logs to CSV by @agstrxyz
|
||||||
|
@ -117,6 +117,15 @@ class Message
|
|||||||
$msg = str_replace('[[username]]', $customer['username'], $msg);
|
$msg = str_replace('[[username]]', $customer['username'], $msg);
|
||||||
$msg = str_replace('[[package]]', $package, $msg);
|
$msg = str_replace('[[package]]', $package, $msg);
|
||||||
$msg = str_replace('[[price]]', $price, $msg);
|
$msg = str_replace('[[price]]', $price, $msg);
|
||||||
|
list($bills, $add_cost) = User::getBills($customer['id']);
|
||||||
|
if(count($bills)>0){
|
||||||
|
$note = "";
|
||||||
|
foreach ($bills as $k => $v) {
|
||||||
|
$note .= $k . " : " . Lang::moneyFormat($v) . "\n";
|
||||||
|
}
|
||||||
|
$note .= Lang::T("Total")." : " . Lang::moneyFormat($add_cost+$price) . "\n";
|
||||||
|
$msg = str_replace('[[bills]]', $note, $msg);
|
||||||
|
}
|
||||||
if ($u) {
|
if ($u) {
|
||||||
$msg = str_replace('[[expired_date]]', Lang::dateAndTimeFormat($u['expiration'], $u['time']), $msg);
|
$msg = str_replace('[[expired_date]]', Lang::dateAndTimeFormat($u['expiration'], $u['time']), $msg);
|
||||||
}
|
}
|
||||||
|
@ -405,5 +405,10 @@
|
|||||||
"day": "hari",
|
"day": "hari",
|
||||||
"hour": "jam",
|
"hour": "jam",
|
||||||
"minute": "menit",
|
"minute": "menit",
|
||||||
"second": "Kedua"
|
"second": "Kedua",
|
||||||
|
"Account_Type": "Jenis akun",
|
||||||
|
"Contact": "Kontak",
|
||||||
|
"Paid": "Dibayar",
|
||||||
|
"Personal": "Pribadi",
|
||||||
|
"Coordinates": "Koordinat"
|
||||||
}
|
}
|
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"version": "2024.4.3"
|
"version": "2024.4.4"
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user