Active plan on user page

This commit is contained in:
Ibnu Maksum
2024-03-15 09:46:01 +07:00
parent c4afd6da7f
commit 532fbf7337
4 changed files with 94 additions and 97 deletions

View File

@ -216,7 +216,10 @@ switch ($action) {
->find_many();
$v = $routes['3'];
if (empty($v) || $v == 'order') {
if(empty($v)){
$v = 'activation';
}
if ($v == 'order') {
$v = 'order';
$paginator = Paginator::build(ORM::for_table('tbl_payment_gateway'), ['username' => $customer['username']]);
$order = ORM::for_table('tbl_payment_gateway')
@ -238,8 +241,7 @@ switch ($action) {
$ui->assign('paginator', $paginator);
$ui->assign('activation', $activation);
}
$package = ORM::for_table('tbl_user_recharges')->where('username', $customer['username'])->find_one();
$ui->assign('package', $package);
$ui->assign('packages', User::_billing($customer['id']));
$ui->assign('v', $v);
$ui->assign('d', $customer);
$ui->assign('customFields', $customFields);

View File

@ -491,5 +491,6 @@
"Not_Found": "Not Found",
"Cash": "Cash",
"Payment_not_found": "Payment not found",
"If_your_friend_have_Additional_Cost__you_will_pay_for_that_too": "If your friend have Additional Cost, you will pay for that too"
"If_your_friend_have_Additional_Cost__you_will_pay_for_that_too": "If your friend have Additional Cost, you will pay for that too",
"Cache_cleared_successfully_": "Cache cleared successfully!"
}