mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 03:40:09 -05: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>
 | 
			
		||||
						@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,6 +246,7 @@
 | 
			
		||||
						{!! Former::textarea('public_notes')->rows(6) !!}
 | 
			
		||||
						{!! Former::textarea('private_notes')->rows(6) !!}
 | 
			
		||||
					</div>
 | 
			
		||||
					@if (Utils::isPro())
 | 
			
		||||
						<div role="tabpanel" class="tab-pane" id="messages">
 | 
			
		||||
							@foreach (App\Models\Account::$customMessageTypes as $type)
 | 
			
		||||
								{!! Former::textarea('custom_messages[' . $type . ']')
 | 
			
		||||
@ -251,6 +254,7 @@
 | 
			
		||||
										->label($type) !!}
 | 
			
		||||
							@endforeach
 | 
			
		||||
						</div>
 | 
			
		||||
					@endif
 | 
			
		||||
					<div role="tabpanel" class="tab-pane" id="classify">
 | 
			
		||||
						{!! Former::select('size_id')->addOption('','')
 | 
			
		||||
							->fromQuery($sizes, 'name', 'id') !!}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user