don't put to tbl_transactions if customer redeem voucher code Created by Voucher Device
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user