
<?php $__env->startSection('title', __('crm::lang.proposal_template')); ?>
<?php $__env->startSection('content'); ?>
	<?php echo $__env->make('crm::layouts.nav', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
	<!-- Content Header (Page header) -->
	<section class="content-header no-print">
	   <h1 class="tw-text-xl md:tw-text-3xl tw-font-bold tw-text-black"><?php echo app('translator')->get('crm::lang.proposal_template'); ?></h1>
	</section>
	<!-- Main content -->
	<section class="content">
		<?php $__env->startComponent('components.widget', ['class' => 'box-solid']); ?>
			<?php if(empty($proposal_template) && auth()->user()->can('crm.add_proposal_template')): ?>
		        <?php $__env->slot('tool'); ?>
		            <div class="box-tools">
				<a href="<?php echo e(action([\Modules\Crm\Http\Controllers\ProposalTemplateController::class, 'create']), false); ?>"
					class="tw-m-2 tw-dw-btn  tw-bg-gradient-to-r tw-from-indigo-600 tw-to-blue-500 tw-font-bold tw-text-white tw-border-none tw-rounded-full pull-right contact-login-add">
					<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
						stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
						class="icon icon-tabler icons-tabler-outline icon-tabler-plus">
						<path stroke="none" d="M0 0h24v24H0z" fill="none" />
						<path d="M12 5l0 14" />
						<path d="M5 12l14 0" />
					</svg> <?php echo app('translator')->get('messages.add'); ?>
				</a>
		            </div>
		        <?php $__env->endSlot(); ?>
	        <?php endif; ?>
	        <?php if(!empty($proposal_template)): ?>
		        <div class="row">
		        	<div class="col-md-4 col-md-offset-4">
		        		<div class="box box-info box-solid">
		        			<div class="box-body">
		        				<strong>
		        					<?php echo e($proposal_template->subject, false); ?>

		        				</strong>
		        			</div>
		        			<div class="box-footer clearfix">
		        				<div class="row">
		        					<?php if(auth()->user()->can('crm.add_proposal_template')): ?>
			        					<div class="col-md-4">
			        						<a href="<?php echo e(action([\Modules\Crm\Http\Controllers\ProposalTemplateController::class, 'getEdit']), false); ?>" class="tw-dw-btn tw-dw-btn-primary tw-text-white tw-dw-btn-sm pull-left">
			        							<?php echo app('translator')->get('messages.edit'); ?>
			        						</a>
			        					</div>
			        				<?php endif; ?>
			        				<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('crm.access_proposal')): ?>
			        					<div class="col-md-4">
			        						<a href="<?php echo e(action([\Modules\Crm\Http\Controllers\ProposalTemplateController::class, 'getView']), false); ?>" class="tw-dw-btn tw-dw-btn-info tw-text-white tw-dw-btn-sm">
			        							<?php echo app('translator')->get('messages.view'); ?>
			        						</a>
			        					</div>
			        					<div class="col-md-4">
			        						<a href="<?php echo e(action([\Modules\Crm\Http\Controllers\ProposalTemplateController::class, 'send']), false); ?>" class="tw-dw-btn tw-dw-btn-success tw-text-white tw-dw-btn-sm pull-right">
			        							<?php echo app('translator')->get('crm::lang.send'); ?>
			        						</a>
			        					</div>
			        				<?php endif; ?>
		        				</div>
		        			</div>
		        		</div>
		        	</div>
		        </div>
		    <?php else: ?>
		    	<div class="callout callout-info">
		            <h4>
		            	<?php echo e(__('crm::lang.no_template_found'), false); ?>

		            </h4>
		        </div>
		    <?php endif; ?>
    	<?php echo $__env->renderComponent(); ?>
	</section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/u619221511/domains/royalfoodeg.com/public_html/Modules/Crm/Providers/../Resources/views/proposal_template/index.blade.php ENDPATH**/ ?>