Hotspot Radius Voucher Only done

This commit is contained in:
Ibnu Maksum
2024-07-10 15:47:31 +07:00
parent 7a40fe6e11
commit 9d564f55ec
11 changed files with 60 additions and 40 deletions

View File

@ -27,11 +27,12 @@ class Package
$time = date("H:i:s");
$inv = "";
$isVoucher = false;
$c = [];
if ($id_customer == '' or $router_name == '' or $plan_id == '') {
return false;
}
if($channel == 'Voucher' && $id_customer = 0){
if(trim($gateway) == 'Voucher' && $id_customer == 0){
$isVoucher = true;
}