

<?php $__env->startSection('title'); ?>
الشهادة
<?php $__env->stopSection(); ?>

<?php $__env->startSection('first-css'); ?>
<link href="<?php echo e(asset('/css/certificate.css')); ?>" rel="stylesheet">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content-body'); ?>
    <!--**********************************
                Content body start
            ***********************************-->
    <!-- row -->
    <div class="container-fluid">
        <div class="row invoice-card-row">
            <div class="row invoice-card-row" id="m">
                <div class="d-flex flex-wrap align-items-start justify-content-start  mb-3 printCertificate">

                    <button  id="printCertificate"  type="button" class="btn btn-primary  me-1" data-bs-toggle="modal" data-bs-target="#addStudent">
                        <i class="mdi mdi-print-circle ms-2"></i>طباعة الشهادة
                    </button>
                </div>

                <div class="col-xl-12 certificat">
                    <div class="print-container ">
                        <div class="certification   "  >
                            <img src="<?php echo e(asset('/images/certificat.png')); ?>" alt="" class="certification-img"srcset="" >
                            <div class="info-certifcate">
                                <h2 class="mb-4  ">يشهد مركز
                                    <span class="fw-bold text-primary">الخبير الاداري للتدريب</span>
                                </h2>
                                <h2 class="fw-bold mb-4   ">
                                    بأن الأستاذ/
                                    <span style="color: #1f497d">
                                        <?php if(isset($certificateInfo->student->certificate_name)): ?>
                                        <?php echo e($certificateInfo->student->certificate_name); ?>

                                    <?php endif; ?>
                                                                    </span>
                                </h2>
                                <h2 class="fw-bold mb-4   ">
                                   قد حضر البرنامج التدريبي
                                </h2>
                                <h2 class="fw-bold text-primary mb-4   ">
                                        <?php if(isset($certificateInfo->room->course->title)): ?>
                                            <?php echo e($certificateInfo->room->course->title); ?>

                                        <?php endif; ?>
                                </h2>
                                 <h3 class="mb-4 ">
                                    والمنعقد بتاريخ
                                    <span class="fw-bold">
                                       
                                        <span class="" id="hijri">
                    
                                        </span>
                                        <span>هـ</span>
                                    </span>
                                    <span>الموافق</span>
                                    <span class="fw-bold">
                                        <span class="" id="milady">
                                            <?php echo e($certificateInfo->room->created_at); ?>

                                        </span>
                                     
                                        <span>م</span>
                                    </span>
                                    <span>بمدينة:</span>
                                    <span class="fw-bold">
                                        <?php if(isset($certificateInfo->room->place)): ?>
                                        <?php echo e($certificateInfo->room->place); ?>

                                    <?php endif; ?>
                                    </span>
                                 </h3>
                                 <h3>
                                    <span>بعدد ساعات(</span>
                                    <span class="fw-bold"><?php if(isset($certificateInfo->room->course->hours_number)): ?>
                                        <?php echo e($certificateInfo->room->course->hours_number); ?>

                                    <?php endif; ?></span>
                                    <span>)ساعة تدريبية</span>
                                 </h3>
                            </div>

                        </div>

                    </div>

                </div>
            </div>
        </div>
    </div>
    <!--**********************************
                Content body end
    ***********************************-->
    <script src="<?php echo e(asset('js/date/hijri.js')); ?>"></script>
    <script src="<?php echo e(asset('js/print/certificate.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Nasser\Desktop\TrainingManagementPlatform\resources\views/certificate/certificate.blade.php ENDPATH**/ ?>