<?php $__env->startPush('styles'); ?>
<link rel="stylesheet" href="<?php echo e(asset('public/backend/css/certificate.css')); ?>">
<?php $__env->stopPush(); ?>
<?php $__env->startSection('mainContent'); ?>
<?php echo generateBreadcrumb(); ?>
<section class="admin-visitor-area up_st_admin_visitor">
<div class="container-fluid p-0">
<?php if(permissionCheck('certificate.create')): ?>
<?php if(!isset($certificates)): ?>
<div class="row">
<div class="offset-lg-10 col-lg-2 text-right col-md-12">
<a href="<?php echo e(route('certificate.index')); ?>" class="primary-btn small fix-gr-bg">
<?php echo e(__('certificate.Certificate')); ?>
<?php echo e(__('certificate.List')); ?>
</a>
</div>
</div>
<?php else: ?>
<div class="row">
<div class="offset-lg-10 col-lg-2 text-right col-md-12">
<a href="<?php echo e(route('certificate.create')); ?>" class="primary-btn small fix-gr-bg">
<span class="ti-plus pr-2"></span>
<?php echo e(__('certificate.Add')); ?>
</a>
</div>
</div>
<?php endif; ?>
<?php endif; ?>
<div class="row">
<?php if(!isset($certificates)): ?>
<?php echo $__env->make('certificate::certificate.addEdit', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
<div class="<?php echo e(isset($certificates) ? 'col-lg-12' : 'col-lg-8'); ?>">
<?php if(isset($certificates)): ?>
<div class="main-title">
<h3 class="mb-20"><?php echo e(__('certificate.Certificate List')); ?></h3>
</div>
<?php else: ?>
<div class="main-title">
<h3 class="mb-20"><?php echo e(__('certificate.Preview')); ?> (
<span id="width"></span>
x
<span id="height"></span>
)
<small>
<?php echo e(__('certificate.All measurement depends on background height & width')); ?>
</small>
</h3>
</div>
<?php endif; ?>
<?php if(isset($certificates)): ?>
<?php echo $__env->make('certificate::certificate.certificateList', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php else: ?>
<?php echo $__env->make('certificate::certificate.preview', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
</div>
</div>
</div>
</section>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('scripts'); ?>
<script src="<?php echo e(asset('/')); ?>/Modules/CourseSetting/Resources/assets/js/course.js"></script>
<script src="<?php echo e(asset('public/backend/js/certificate.js')); ?>"></script>
<script src="<?php echo e(asset('public/js/html2pdf.bundle.js')); ?>"></script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('backend.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/bouloter/infix/Modules/Certificate/Resources/views/certificate/index.blade.php ENDPATH**/ ?>