1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Fixes for coupons

This commit is contained in:
David Bomba 2021-11-10 19:49:26 +11:00
parent 193e473c8a
commit ad53f233be

View File

@ -293,7 +293,7 @@ class BillingPortalPurchase extends Component
return $this;
}
if ((int)$this->subscription->price == 0)
if ((int)$this->price == 0)
$this->steps['payment_required'] = false;
else
$this->steps['fetched_payment_methods'] = true;