mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 01:34:35 -04:00
Minor fixes
This commit is contained in:
parent
1d943b7020
commit
ee785ca209
@ -71,6 +71,7 @@ class NinjaPlanController extends Controller
|
|||||||
{
|
{
|
||||||
//harvest the current plan
|
//harvest the current plan
|
||||||
$data = [];
|
$data = [];
|
||||||
|
$data['late_invoice'] = false;
|
||||||
|
|
||||||
if(MultiDB::findAndSetDbByAccountKey(Auth::guard('contact')->user()->client->custom_value2))
|
if(MultiDB::findAndSetDbByAccountKey(Auth::guard('contact')->user()->client->custom_value2))
|
||||||
{
|
{
|
||||||
|
@ -17,6 +17,7 @@ class ShowPlanSwitchRequest extends FormRequest
|
|||||||
*/
|
*/
|
||||||
public function authorize()
|
public function authorize()
|
||||||
{
|
{
|
||||||
|
|
||||||
return (bool)$this->recurring_invoice->subscription->allow_plan_changes;
|
return (bool)$this->recurring_invoice->subscription->allow_plan_changes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user