mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 15:04:31 -04:00
Ensure payment methods are always visible in portal
This commit is contained in:
parent
e811c8027a
commit
2e74ec7d62
@ -11,7 +11,9 @@
|
||||
@include('payments.paymentmethods_list')
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
{!! Button::success(strtoupper(trans("texts.edit_details")))->asLinkTo(URL::to('/client/details'))->withAttributes(['id' => 'editDetailsButton']) !!}
|
||||
@if (! empty($account) && $account->enable_client_portal || $account->enable_client_portal_dashboard)
|
||||
{!! Button::success(strtoupper(trans("texts.edit_details")))->asLinkTo(URL::to('/client/details'))->withAttributes(['id' => 'editDetailsButton']) !!}
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -79,8 +79,8 @@
|
||||
@endif
|
||||
</div>
|
||||
<div id="navbar" class="collapse navbar-collapse">
|
||||
@if (!empty($account) && $account->enable_client_portal)
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
@if (! empty($account) && $account->enable_client_portal)
|
||||
@if (isset($account) && $account->enable_client_portal_dashboard)
|
||||
<li {!! Request::is('*client/dashboard*') ? 'class="active"' : '' !!}>
|
||||
{!! link_to('/client/dashboard', trans('texts.dashboard') ) !!}
|
||||
@ -124,8 +124,14 @@
|
||||
{!! link_to('/client/logout', trans('texts.logout')) !!}
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
@elseif (! empty($account))
|
||||
@if (isset($hasPaymentMethods) && $hasPaymentMethods)
|
||||
<li {!! Request::is('*client/payment_methods') ? 'class="active"' : '' !!}>
|
||||
{!! link_to('/client/payment_methods', trans('texts.payment_methods') ) !!}
|
||||
</li>
|
||||
@endif
|
||||
@endif
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
|
Loading…
x
Reference in New Issue
Block a user