mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 02:04:53 +02:00
used date for voucher
This commit is contained in:
parent
905f5c0772
commit
51015f8dc2
5 changed files with 7 additions and 0 deletions
|
@ -28,6 +28,7 @@ switch ($action) {
|
|||
if ($v1) {
|
||||
if (Package::rechargeUser($user['id'], $v1['routers'], $v1['id_plan'], "Voucher", $code)) {
|
||||
$v1->status = "1";
|
||||
$v1->used_date = date('Y-m-d H:i:s');
|
||||
$v1->user = $user['username'];
|
||||
$v1->save();
|
||||
r2(U . "voucher/list-activated", 's', Lang::T('Activation Vouchers Successfully'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue