1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Fix for default payment method check

This commit is contained in:
Hillel Coren 2016-07-20 10:19:39 +03:00
parent 0caa865f7d
commit 9bfe233c9f

View File

@ -52,9 +52,13 @@ class AccountGatewayToken extends Eloquent
*/
public function autoBillLater()
{
if ($this->default_payment_method) {
return $this->default_payment_method->requiresDelayedAutoBill();
}
return false;
}
/**
* @param $query
* @param $clientId