forked from kevinowino869/mitrobill
Auto Renewal Button
This commit is contained in:
@ -9,6 +9,11 @@ $ui->assign('_title', $_L['Dashboard']);
|
||||
$user = User::_info();
|
||||
$ui->assign('_user', $user);
|
||||
|
||||
if(isset($_GET['renewal'])){
|
||||
$user->auto_renewal = $_GET['renewal'];
|
||||
$user->save();
|
||||
}
|
||||
|
||||
|
||||
//Client Page
|
||||
$bill = User::_billing();
|
||||
|
@ -359,3 +359,7 @@ $_L['Balance_Plans'] = 'Balance Plans';
|
||||
$_L['Buy_Balance'] = 'Buy Balance?';
|
||||
$_L['Price'] = 'Price';
|
||||
$_L['Validity'] = 'Validity';
|
||||
$_L['Disable_auto_renewal'] = 'Disable auto renewal?';
|
||||
$_L['Auto_Renewal_On'] = 'Auto Renewal On';
|
||||
$_L['Enable_auto_renewal'] = 'Enable auto renewal?';
|
||||
$_L['Auto_Renewal_Off'] = 'Auto Renewal Off';
|
||||
|
Reference in New Issue
Block a user