mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Fix for white label licenses
This commit is contained in:
parent
39442f48ce
commit
7ad72aa884
@ -823,6 +823,7 @@ class BasePaymentDriver
|
|||||||
$license->license_key = Utils::generateLicense();
|
$license->license_key = Utils::generateLicense();
|
||||||
$license->affiliate_id = $affiliateId;
|
$license->affiliate_id = $affiliateId;
|
||||||
$license->product_id = $productId;
|
$license->product_id = $productId;
|
||||||
|
$license->is_claimed = 0;
|
||||||
$license->save();
|
$license->save();
|
||||||
|
|
||||||
// Add the license key to the invoice content
|
// Add the license key to the invoice content
|
||||||
|
Loading…
Reference in New Issue
Block a user