fix url recharge and voucher
This commit is contained in:
parent
b3cb6de028
commit
10adbe48ab
@ -79,5 +79,5 @@ switch ($action) {
|
||||
}
|
||||
die();
|
||||
default:
|
||||
$ui->display('404.tpl');
|
||||
die();
|
||||
}
|
||||
|
@ -225,7 +225,7 @@ switch ($action) {
|
||||
$ui->assign('server', $b['routers']);
|
||||
$ui->assign('plan', $plan);
|
||||
$ui->assign('csrf_token', Csrf::generateAndStoreToken());
|
||||
$ui->display('recharge-confirm.tpl');
|
||||
$ui->display('admin/plan/recharge-confirm.tpl');
|
||||
} else {
|
||||
r2(getUrl('customers/view/') . $id_customer, 'e', 'Cannot find active plan');
|
||||
}
|
||||
|
@ -791,7 +791,7 @@ switch ($action) {
|
||||
$ui->assign('from_id', 0);
|
||||
$ui->assign('vpl', '3');
|
||||
$ui->assign('pagebreak', $voucherPerPage);
|
||||
$ui->display('print-voucher.tpl');
|
||||
$ui->display('admin/print/voucher.tpl');
|
||||
}
|
||||
|
||||
if ($numbervoucher == 1) {
|
||||
@ -891,7 +891,7 @@ switch ($action) {
|
||||
$content .= Lang::pad($config['note'], ' ', 2) . "\n";
|
||||
$ui->assign('_title', Lang::T('View'));
|
||||
$ui->assign('whatsapp', urlencode("```$content```"));
|
||||
$ui->display('voucher-view.tpl');
|
||||
$ui->display('admin/voucher/view.tpl');
|
||||
} else {
|
||||
r2(getUrl('plan/voucher/'), 'e', Lang::T('Voucher Not Found'));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user