1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

White label invoice fix

This commit is contained in:
Hillel Coren 2020-03-29 07:32:27 +03:00
parent 927cd5a9a6
commit 6bb4bc3e69

View File

@ -883,7 +883,7 @@ class BasePaymentDriver
protected function createLicense($payment)
{
// TODO parse invoice to determine license
if ($payment->amount == 20) {
if ($payment->amount == WHITE_LABEL_PRICE) {
$affiliateId = 4;
$productId = PRODUCT_WHITE_LABEL;
} else {