mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 18:24:32 +02:00
don't put to tbl_transactions if customer redeem voucher code Created by Voucher Device
This commit is contained in:
parent
9ad9ba45b1
commit
630f20094a
2 changed files with 67 additions and 53 deletions
|
@ -196,6 +196,11 @@ class User
|
|||
return $d;
|
||||
}
|
||||
|
||||
public static function isUserVoucher($kode) {
|
||||
$regex = '/^GC\d+C.{10}$/';
|
||||
return preg_match($regex, $kode);
|
||||
}
|
||||
|
||||
public static function _billing($id = 0)
|
||||
{
|
||||
if (!$id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue