mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Merge branch 'master' of https://github.com/turbo124/invoiceninja
This commit is contained in:
commit
996afc767c
@ -812,13 +812,13 @@ trait GenerateMigrationResources
|
|||||||
|
|
||||||
private function calcAutoBillEnabled($invoice)
|
private function calcAutoBillEnabled($invoice)
|
||||||
{
|
{
|
||||||
if($invoice->auto_bill == 1)
|
if($invoice->auto_bill === 1)
|
||||||
return 'off';
|
return 'off';
|
||||||
elseif($invoice->auto_bill == 2)
|
elseif($invoice->auto_bill === 2)
|
||||||
return 'optin';
|
return 'optin';
|
||||||
elseif($invoice->auto_bill == 3)
|
elseif($invoice->auto_bill === 3)
|
||||||
return 'optout';
|
return 'optout';
|
||||||
elseif($invoice->auto_bill == 4)
|
elseif($invoice->auto_bill === 4)
|
||||||
return 'always';
|
return 'always';
|
||||||
else
|
else
|
||||||
return 'off';
|
return 'off';
|
||||||
|
Loading…
Reference in New Issue
Block a user