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