mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-24 04:44:28 +02:00
Update Package.php
This commit is contained in:
parent
4fe0e8d58c
commit
73e85a97ce
1 changed files with 2 additions and 2 deletions
|
@ -283,7 +283,7 @@ class Package
|
|||
$t = ORM::for_table('tbl_transactions')->create();
|
||||
$t->invoice = $inv = "INV-" . Package::_raid();
|
||||
$t->username = $c['username'];
|
||||
$t->user_id = $c['id'];
|
||||
$t->user_id = $id_customer;
|
||||
$t->plan_name = $p['name_plan'];
|
||||
if ($gateway == 'Voucher' && User::isUserVoucher($channel)) {
|
||||
//its already paid
|
||||
|
@ -399,7 +399,7 @@ class Package
|
|||
$t = ORM::for_table('tbl_transactions')->create();
|
||||
$t->invoice = $inv = "INV-" . Package::_raid();
|
||||
$t->username = $c['username'];
|
||||
$t->user_id = $c['id'];
|
||||
$t->user_id = $id_customer;
|
||||
$t->plan_name = $p['name_plan'];
|
||||
if ($gateway == 'Voucher' && User::isUserVoucher($channel)) {
|
||||
$t->price = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue