Commit graph

75 commits

Author SHA1 Message Date
Ibnu Maksum b0c718b8fd
run_hook on cron forgot to uncomment 2024-06-21 16:05:05 +07:00
Ibnu Maksum 28ec7883e2
Fix Demo mode 2024-06-20 14:16:09 +07:00
Ibnu Maksum 6a4ac274d1
check if demo or not 2024-06-12 15:39:43 +07:00
Ibnu Maksum 6e263ca4bd
fix cron 2024-06-12 15:27:33 +07:00
Ibnu Maksum c661976eae
new $p['device'] to (new $p['device']) 2024-06-05 17:37:01 +07:00
Ibnu Maksum 8ea853c617
Change to devices 2024-06-05 17:19:24 +07:00
Ibnu Maksum 0cc1ffe90f
still thinking about which function need to add as default. currently customer, plan, pool 2024-06-04 17:14:42 +07:00
AGSTR 2f551b1755
Update cron.php
Fix Autorenewal radius plan base
2024-05-07 04:55:20 +07:00
Ibnu Maksum 7396c2f1d4
As exp dev says, if it works, dont touch it 2024-04-21 10:54:04 +07:00
Ahmad Husein 09af3474a9
Update cron.php 2024-04-21 10:54:04 +07:00
Ibnu Maksum 115a5c81a7
Fix variable cron for notification 2024-04-16 13:53:29 +07:00
Ibnu Maksum 854fd54834
delete $_c = $config; as it already exists in init.php 2024-04-15 14:08:34 +07:00
iBNu Maksum 05caee1193
Merge branch 'Development' into patch-8 2024-04-15 09:00:53 +07:00
AGSTR 1a40606720
Update cron.php
Fix auto renewal radius plan based
2024-04-14 06:40:47 +07:00
Ahmad Husein 1fdf1d9573
Update cron.php
Changes made:
 1. Use the $recharges variable to hold the query results to clarify the context.
 2. Use the ternary operator to determine whether the application is running in a CLI environment or not
 3. Simplify the logic by combining several redundant code blocks.
 4. Unify Mikrotik client retrieval logic based on type (Hotspot or PPPOE) to reduce code duplication.
 5. Tidy up the indents to make them consistent and easier to read.
2024-04-08 21:21:54 +07:00
Ibnu Maksum e285e53887
Total Bills 2024-04-05 09:40:11 +07:00
Ibnu Maksum c82b6b6acf
Change Attribute to Bill Only 2024-03-15 10:38:05 +07:00
Ibnu Maksum c4afd6da7f
Additional Cost at Cron 2024-03-15 09:29:15 +07:00
Ibnu Maksum 9b2d42610a
delete allow_purchase in cron 2024-03-12 16:39:01 +07:00
Ibnu Maksum 403de91fba
sendPackageNotification with customer variable 2024-03-04 10:02:23 +07:00
Ibnu Maksum 2437096473
$_c to $config in php file 2024-02-29 09:25:26 +07:00
Ibnu Maksum 2063ae4159
Fix Admin List for Admin 2024-02-20 10:58:50 +07:00
Ibnu Maksum 349a1d3250
add to Address List 2024-02-20 10:07:17 +07:00
Ibnu Maksum ade714e2ae
View Admin and Init script 2024-02-19 14:24:34 +07:00
Ibnu Maksum 671154d146
add sub sales 2024-02-07 10:11:30 +07:00
Ibnu Maksum ac84e4b235
settimezone 2024-02-07 09:39:49 +07:00
Ibnu Maksum 009c890ab6
Fix router_name for log 2024-02-06 16:41:41 +07:00
Ibnu Maksum 7ceb883826
fix notifications 2024-01-16 15:16:59 +07:00
Ibnu Maksum 80e78d9796
Fix sendPackageNotification 2024-01-16 15:08:26 +07:00
Ibnu Maksum b504723e7c
fix radius pool select 2024-01-16 09:39:20 +07:00
Ibnu Maksum 5867a0c9ca
Fix Cron for 2024-01-15 10:22:03 +07:00
Focuslinkstech 24df116003 Update cron.php
stop user from auto renewing packages that has been disabled for purchase.
2024-01-13 09:41:58 +01:00
Ibnu Maksum bd8dd87384
fix bug cron and update plan 2023-11-09 14:52:41 +07:00
Ibnu Maksum 5c57c5df11
fix wrong cheking file 2023-10-25 10:03:25 +07:00
Ibnu Maksum 9e09611816
Fix expired notification 2023-10-24 15:12:10 +07:00
Ibnu Maksum a18c07ba42
check file if exists 2023-10-24 13:38:58 +07:00
Ibnu Maksum ddb3b8a718
fix logic pool_expired radius 2023-10-24 09:19:35 +07:00
Ibnu Maksum 6a6434b39c
radius move to expired pool 2023-10-16 10:31:50 +07:00
Ibnu Maksum a1d9b63dcf
Change credits 2023-10-12 15:55:42 +07:00
Ibnu Maksum 95097e4512
show error stacktrace 2023-10-12 15:47:45 +07:00
Ibnu Maksum 0b7408f5b9
Disconnect radius user 2023-10-12 15:01:49 +07:00
Ibnu Maksum b2a99def98
Fix is_radius 2023-10-04 16:11:55 +07:00
Ibnu Maksum 0ee60eff3d
edit customer radius 2023-10-04 15:41:48 +07:00
Ibnu Maksum e87623d918
cron radius, still unfinish 2023-10-04 15:07:38 +07:00
Ibnu Maksum ce01771800
hotspot plan radius 2023-10-03 15:46:55 +07:00
Ibnu Maksum e3ec8b18fa
Remove User before Remove Active User 2023-09-13 09:37:05 +07:00
Ibnu Maksum 14ed0236d0
Remove active user Before remove user 2023-09-07 09:35:00 +07:00
Ibnu Maksum 7cc8d6f5e3
delete debug script 2023-09-06 11:25:13 +07:00
Ibnu Maksum 537623130c
Fix expired pool in pppoe 2023-09-06 10:55:28 +07:00
Ibnu Maksum 910be1946b
Fix cron can move plan 2023-09-06 10:48:52 +07:00