mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Check for pro plan for client messages
This commit is contained in:
parent
5f147b6381
commit
c6473c77d4
@ -204,9 +204,11 @@
|
||||
<li role="presentation">
|
||||
<a href="#notes" aria-controls="notes" role="tab" data-toggle="tab">{{ trans('texts.notes') }}</a>
|
||||
</li>
|
||||
<li role="presentation">
|
||||
<a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">{{ trans('texts.messages') }}</a>
|
||||
</li>
|
||||
@if (Utils::isPro())
|
||||
<li role="presentation">
|
||||
<a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">{{ trans('texts.messages') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
<li role="presentation">
|
||||
<a href="#classify" aria-controls="classify" role="tab" data-toggle="tab">{{ trans('texts.classify') }}</a>
|
||||
</li>
|
||||
@ -244,13 +246,15 @@
|
||||
{!! Former::textarea('public_notes')->rows(6) !!}
|
||||
{!! Former::textarea('private_notes')->rows(6) !!}
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane" id="messages">
|
||||
@foreach (App\Models\Account::$customMessageTypes as $type)
|
||||
{!! Former::textarea('custom_messages[' . $type . ']')
|
||||
->placeholder($account->customMessage($type))
|
||||
->label($type) !!}
|
||||
@endforeach
|
||||
</div>
|
||||
@if (Utils::isPro())
|
||||
<div role="tabpanel" class="tab-pane" id="messages">
|
||||
@foreach (App\Models\Account::$customMessageTypes as $type)
|
||||
{!! Former::textarea('custom_messages[' . $type . ']')
|
||||
->placeholder($account->customMessage($type))
|
||||
->label($type) !!}
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
<div role="tabpanel" class="tab-pane" id="classify">
|
||||
{!! Former::select('size_id')->addOption('','')
|
||||
->fromQuery($sizes, 'name', 'id') !!}
|
||||
|
Loading…
Reference in New Issue
Block a user