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:
parent
927cd5a9a6
commit
6bb4bc3e69
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user