<?php $__env->startSection('content'); ?>
<div class="side-title">
    <h3><?php echo e($head ?? ''); ?></h3>
</div>

<div class="border-item">
    <form class="form-row" >
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('name', $lang) ?? __('careerApplications.name')); ?></label>
            <input readonly class="form-control bg-white" value='<?php echo e($application->name); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('career_id', $lang) ?? __('careerApplications.career_id')); ?></label>
            <input readonly class="form-control bg-white" value='<?php echo e($application->careerName); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('submission_date', $lang) ?? __('careerApplications.submission_date')); ?></label>
            <input readonly class="form-control bg-white" value='<?php echo e(date('Y-m-d', strtotime($application->created_at))); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('phone', $lang) ?? __('careerApplications.phone')); ?></label>
            <input readonly class="form-control bg-white" value='<?php echo e($application->phone); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('birth_date', $lang) ?? __('careerApplications.birth_date')); ?></label>
            <input readonly class="form-control bg-white" value='<?php echo e($application->birth_date); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('country_id', $lang) ?? __('careerApplications.country_id')); ?></label>
            <input readonly class="form-control bg-white" value='<?php echo e($application->nationality); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('address', $lang) ?? __('careerApplications.address')); ?></label>
            <input readonly class="form-control bg-white" value='<?php echo e($application->address); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('education_id', $lang) ?? __('careerApplications.education_id')); ?></label>
            <input readonly class="form-control bg-white" value='<?php echo e($application->education); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('service_id', $lang) ?? __('careerApplications.service_id')); ?></label>
            <input readonly class="form-control bg-white" value='<?php echo e($application->specializationName); ?>'/>
        </div>

        <div class="col-md-12 mb-1">
            <div class="items">
                <div class="img">
                    <?php if(strpos($application->cv, '.pdf')): ?>
                        <a href="<?php echo e(asset($application->cv)); ?>"><img style="object-fit: contain; padding: 50px;" src="<?php echo e(asset(strpos($application->cv, '.pdf') ? 'assets/admin/images/file-icon.png' : $application->cv)); ?>" alt=""></a>
                    <?php else: ?>
                        <a href="<?php echo e(asset($application->cv)); ?>" data-fancybox><img src="<?php echo e(asset($application->cv)); ?>" alt=""></a>
                    <?php endif; ?>
                </div>
            </div>

        </div>
        <div class="col-md-12">
            <a class="btn btn-success" download href="<?php echo e(asset($application->cv)); ?>"><i class="fa fa-download"></i> <?php echo e(__('careerApplications.download_cv')); ?></a>
        </div>

        <div class="text-center mt-5 col-12">
            <a href="<?php echo e(route('careerApplications.index')); ?>" class="butn"><span><?php echo e(__('careerApplications.head')); ?></span></a>
        </div>
    </form>
</div>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('inner_js'); ?>
    <script>

    </script>

<?php $__env->stopSection(); ?>




<?php echo $__env->make('admin.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\wamp64\www\procare\resources\views/admin/career_applications/form.blade.php ENDPATH**/ ?>