Commit graph

230 commits

Author SHA1 Message Date
iBNu Maksum 060718dfda
Fix Validity,, forgot to explode 2024-05-07 19:11:31 +07:00
Ibnu Maksum 6763fe09d8
fix validity_unit time for Days 2024-05-07 10:15:28 +07:00
iBNu Maksum 822acef6d8
Merge pull request #192 from agstrxyz/Development
Update Radius.php
2024-05-07 08:54:10 +07:00
agamsatria f766393e52 Update Radius.php
Fix radius plan base
*uptime limit
*burst bw profile limit
*data limit
*user can't login after recharge radius plan base

please add this variable in "mods-available/sqlcounter" for freeradius installation wiki

sqlcounter uptimelimit {
counter_name = 'Max-All-Session-Time'
check_name = 'Max-All-Session'
sql_module_instance = sql
key = 'User-Name'
reset = never
query = "SELECT SUM(AcctSessionTime) FROM radacct WHERE UserName='%{${key}}'"
}

and this variable in "sites-enabled/default"
authorize {
expiration
quotalimit
accessperiod
uptimelimit
}
2024-05-07 04:27:13 +07:00
Ibnu Maksum 47c6e90624
delete die() debug, forgot to delete it 2024-05-01 10:21:32 +07:00
Ibnu Maksum 2ed3dc991a
CRITICAL UPDATE: last update Logic recharge not check is status on or off, it make expired customer stay in expired pool 2024-04-30 22:36:24 +07:00
Ibnu Maksum b6fde35eb6
add search and pagination at Customer maps, fix query 2024-04-29 13:44:59 +07:00
Ibnu Maksum f7deb828ac
don't delete customer when plan not change 2024-04-29 13:18:07 +07:00
Ibnu Maksum 4c1e5da601
fix variable forsendPackageNotification 2024-04-23 15:34:40 +07:00
Ibnu Maksum c0cd197df2
Fix Extend Confirmation long text 2024-04-22 14:02:33 +07:00
Ibnu Maksum bf00b21786
fix Lang 2024-04-21 20:54:10 +07:00
Ibnu Maksum 8d17cd3f90
fix [[expired_date]] 2024-04-21 20:54:10 +07:00
Ibnu Maksum 115a5c81a7
Fix variable cron for notification 2024-04-16 13:53:29 +07:00
Ibnu Maksum a164b345b6
dont send if message empty 2024-04-15 14:30:51 +07:00
Ibnu Maksum 0422c1e9bb
allow [[plan]] and [[package]] to be replaced with plan name 2024-04-05 17:37:41 +07:00
Ibnu Maksum 1f5033b471
remove [[bills]] if there no bills found 2024-04-05 17:21:06 +07:00
Ibnu Maksum 766ba59734
add new field trx_invoice to tbl_payment_gateway, to know which transaction is for 2024-04-05 10:42:30 +07:00
Ibnu Maksum e285e53887
Total Bills 2024-04-05 09:40:11 +07:00
Ibnu Maksum afd75d757e
add full name in invoice 2024-04-05 09:35:05 +07:00
iBNu Maksum 006693982b
fix sending notif package 2024-04-04 17:42:28 +07:00
Ibnu Maksum 71437b9a0e
Prevent double submit for recharge and renew 2024-04-04 15:27:13 +07:00
Ibnu Maksum f97651695d
add Note to reminder 2024-04-04 15:01:45 +07:00
Ibnu Maksum 198dfee3cc
fix package 2024-04-02 10:23:06 +07:00
Ibnu Maksum 254fd4ccf7
fix rest api, need to change every variable to readable 2024-04-01 13:01:21 +07:00
Ibnu Maksum 954a49978c
Show Personal/Bussines in Plan Customer Dashboard 2024-03-28 18:55:10 +07:00
Ibnu Maksum 773cfe0139
update Client.php routerOS 2024-03-28 18:53:41 +07:00
Ibnu Maksum ef15ec0ae2
Send Email Function 2024-03-27 14:32:55 +07:00
Ibnu Maksum e0d21e6284
price + $add_cost in telegram 2024-03-27 11:42:17 +07:00
Ibnu Maksum 37a7da614e
Fixing Pagination, more Simple 2024-03-27 09:44:48 +07:00
Ibnu Maksum e11ab5ba01
remove print_r 2024-03-26 15:46:45 +07:00
Ibnu Maksum 0767c6ab23
Change paginator, to make easy customization using pagination.tpl 2024-03-26 14:39:28 +07:00
gerandonk 477dd11caa fix validity period is more than one month 2024-03-19 23:54:49 +07:00
Ibnu Maksum af3995b421
plan price to Note 2024-03-19 11:38:32 +07:00
Ibnu Maksum 130451e1ae
Fix notification 2024-03-18 11:48:22 +07:00
Ibnu Maksum 32943b40be
Fix Bills Zero 2024-03-16 20:41:24 +07:00
gerandonk ffa55cdee5 Fix loop disconnect to all Nas
Fix loop disconnect to all Nas but still detecting Hotspot Multylogin from other Nas
2024-03-16 19:50:45 +07:00
Ibnu Maksum 850581d328
Fix instalment finished 2024-03-15 10:48:17 +07:00
Ibnu Maksum c82b6b6acf
Change Attribute to Bill Only 2024-03-15 10:38:05 +07:00
gerandonk a15510e62a postpaid always zero for first time recharge and invoice atribute for next month
for postpaid customer invoice reminder and order get from invoice attribute
2024-03-15 04:07:30 +07:00
Ibnu Maksum cc8d810d45
Additional Cost Customer side 2024-03-14 14:42:20 +07:00
Ibnu Maksum e206a583fd
Additional Cost, and Confirm Recharge 2024-03-14 12:14:11 +07:00
Ibnu Maksum ca27c47b75
fix get attributes 2024-03-14 11:38:32 +07:00
Ibnu Maksum 2c67108cf1
add Additional Cycle and check if price is zero 2024-03-14 10:28:36 +07:00
Ibnu Maksum a6c004e1cb
$day_exp 2024-03-13 16:33:06 +07:00
Ibnu Maksum 60c573821b
Additional Cost from Customer Attributes 2024-03-13 14:48:01 +07:00
Ibnu Maksum e6e993cf21
Expired day postpaid 2024-03-13 14:40:47 +07:00
Ibnu Maksum ca0edb4e17
Postpaid 2024-03-13 14:32:10 +07:00
Ibnu Maksum 2bb664e241
Expired Date by created date 2024-03-12 15:28:32 +07:00
Ibnu Maksum c9058769ce
Recharge with balance or zero cost 2024-03-12 15:09:00 +07:00
Ibnu Maksum 6d15437333
admin can recharge disabled plan 2024-03-12 13:58:42 +07:00