fix acctStatusType

This commit is contained in:
Ibnu Maksum 2024-08-15 14:06:53 +07:00
parent 63c1d4ca76
commit 30554983ec
No known key found for this signature in database
GPG key ID: 7FC82848810579E5
2 changed files with 22 additions and 2 deletions

View file

@ -323,7 +323,7 @@ try {
$d->macaddr = _post('macAddr');
$d->dateAdded = date('Y-m-d H:i:s');
$d->save();
if ($d->acctstatustype == 'Start') {
if (_post('acctStatusType') == 'Start') {
$tur = ORM::for_table('tbl_user_recharges')->whereRaw("BINARY `username` = '$username'")->where('status', 'on')->where('routers', 'radius')->find_one();
$plan = ORM::for_table('tbl_plans')->where('id', $tur['plan_id'])->find_one();
if ($plan['limit_type'] == "Data_Limit" || $plan['limit_type'] == "Both_Limit") {

View file

@ -702,5 +702,25 @@
"New_Voucher_Created": "New Voucher Created",
"New_Voucher_for_10mbps_Created": "New Voucher for 10mbps Created",
"Show_Chart": "Show Chart",
"": ""
"For_PDF_Reports___Best_size_1078_x_200___uploaded_image_will_be_autosize": "For PDF Reports | Best size 1078 x 200 | uploaded image will be autosize",
"For_invoice_print_using_Thermal_Printer": "For invoice print using Thermal Printer",
"Theme": "Theme",
"Theme_Info": "Theme Info",
"This_used_for_admin_to_select_payment_in_recharge__using_comma_for_every_new_options": "This used for admin to select payment in recharge, using comma for every new options",
"Income_will_reset_every_this_day": "Income will reset every this day",
"edit_at_config_php": "edit at config.php",
"Hide_Dashboard_Content": "Hide Dashboard Content",
"Radius_Instructions": "Radius Instructions",
"Customer_can_request_to_extend_expirations": "Customer can request to extend expirations",
"i_agree_to_extends_and_will_paid_full_after_this": "i agree to extends and will paid full after this",
"Telegram_Bot_Token": "Telegram Bot Token",
"You_will_get_Payment_and_Error_notification_": "You will get Payment and Error notification<",
"Must_include": "Must include",
"it_will_be_replaced_": "it will be replaced.",
"Or_use_Mikrotik_SMS": "Or use Mikrotik SMS",
"You_can_use": "You can use",
"in_here_too_": "in here too.",
"Empty_this_to_use_internal_mail___PHP": "Empty this to use internal mail() PHP",
"Mail_Reply_To": "Mail Reply To",
"Customer_will_reply_email_to_this_address__empty_if_you_want_to_use_From_Address": "Customer will reply email to this address, empty if you want to use From Address"
}