1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Hide pro plan section on clients edit form

This commit is contained in:
Hillel Coren 2017-05-09 13:22:04 +03:00
parent 701f6c3851
commit 6a58d5c59a

View File

@ -164,14 +164,13 @@
</div>
@if (Auth::user()->account->isNinjaAccount())
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{!! trans('texts.pro_plan_product') !!}</h3>
</div>
<div class="panel-body">
@if (Auth::user()->account->isNinjaAccount())
@if (isset($planDetails))
{!! Former::populateField('plan', $planDetails['plan']) !!}
{!! Former::populateField('plan_term', $planDetails['term']) !!}
@ -212,10 +211,11 @@
$('#plan_started, #plan_paid, #plan_expires').datepicker();
});
</script>
@endif
</div>
</div>
@endif
</div>
</div>