mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
White label invoice fix
This commit is contained in:
parent
927cd5a9a6
commit
6bb4bc3e69
@ -883,7 +883,7 @@ class BasePaymentDriver
|
|||||||
protected function createLicense($payment)
|
protected function createLicense($payment)
|
||||||
{
|
{
|
||||||
// TODO parse invoice to determine license
|
// TODO parse invoice to determine license
|
||||||
if ($payment->amount == 20) {
|
if ($payment->amount == WHITE_LABEL_PRICE) {
|
||||||
$affiliateId = 4;
|
$affiliateId = 4;
|
||||||
$productId = PRODUCT_WHITE_LABEL;
|
$productId = PRODUCT_WHITE_LABEL;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user