Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/syn.corals.io/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/syn.corals.io/storage/framework/views/51b70fa27c03ae4db40e5a09ade3ef495865df29.php
<?php $__env->startSection('content_header'); ?>
    <?php $__env->startComponent('components.content_header'); ?>
        <?php $__env->slot('page_title'); ?>
            <?php echo e($title_singular); ?>

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

        <?php $__env->slot('breadcrumb'); ?>
            <?php echo e(Breadcrumbs::render('syndicate_trainee_show')); ?>

        <?php $__env->endSlot(); ?>
    <?php if (isset($__componentOriginal49aca921af2df6149c8fbbdc21f15941a7e3c98f)): ?>
<?php $component = $__componentOriginal49aca921af2df6149c8fbbdc21f15941a7e3c98f; ?>
<?php unset($__componentOriginal49aca921af2df6149c8fbbdc21f15941a7e3c98f); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <?php $__env->startComponent('components.box'); ?>
        <div class="row">
            <div class="col-md-12">
                <?php $__env->startComponent('components.box',['box_class'=>'box-success']); ?>

                    <ul class="nav nav-tabs" id="myTab" role="tablist">
                        <li class="nav-item">
                            <a class="nav-link active" id="data-tab" data-toggle="tab" href="#data" role="tab"
                               aria-controls="data"
                               aria-selected="true"><?php echo e(trans('Syndicate::attributes.user.data')); ?></a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" id="review-tab" data-toggle="tab" href="#review"
                               role="tab"
                               aria-controls="review"
                               aria-selected="false"><?php echo e(trans('Syndicate::attributes.view_payment.review')); ?></a>
                        </li>
                    </ul>
                    <div class="tab-content" id="myTabContent">
                        <div class="tab-pane fade show active" id="data" role="tabpanel"
                             aria-labelledby="data-tab">
                            <div class="row">
                                <div class="col-md-12">
                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('canConvertTraineeToPharmacist', $trainee)): ?>
                                        <div class="row">
                                            <div class="col-md-8 mb-5">
                                                <a href="<?php echo e(url('syndicate/trainees/'.$trainee->hashed_id.'/convert-to-pharmacist')); ?>"
                                                   data-action="post"
                                                   data-page_action="redirectTo"
                                                   data-confirmation="<?php echo e(trans('Syndicate::messages.convert_trainee_to_pharmacist')); ?>"
                                                   class="text-white btn btn-primary">
                                                    <?php echo e(trans('Syndicate::attributes.training.transfer')); ?></a>
                                            </div>
                                        </div>
                                    <?php endif; ?>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-3">
                                    <img src="<?php echo e($trainee->picture_thumb); ?>"
                                         class="img-circle img-responsive"
                                         width="150"
                                         alt="User Picture"/>
                                </div>

                            </div>
                            <div class="row">
                                <h6 class="text-info">
                                    <?php echo e(trans('Syndicate::attributes.user.name_in_ar')); ?>

                                </h6>
                            </div>
                            <div class="row">
                                <div class="col-md-3">
                                    <p class="text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.first_name') . ": " . $trainee->name); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.second_name') . ": " . $trainee->second_name); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.third_name') . ": " .($trainee->third_name??'-')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.last_name') . ": " . $trainee->last_name); ?>

                                    </p>
                                </div>
                            </div>
                            <div class="row">
                                <h6 class="text-info">
                                    <?php echo e(trans('Syndicate::attributes.user.name_in_en')); ?>

                                </h6>
                            </div>
                            <div class="row">
                                <div class="col-md-3">
                                    <p class="text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.first_name') . ": " . ($trainee->getProperty('name.en.first')??'-')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.second_name') . ": " . ($trainee->getProperty('name.en.second')??'-')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.third_name') . ": " . ($trainee->getProperty('name.en.third')??'-')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.last_name') . ": " . ($trainee->getProperty('name.en.last')??'-')); ?>

                                    </p>
                                </div>
                            </div>
                            <div class="row">
                                <h6 class="text-info">
                                    <?php echo e(trans('Syndicate::attributes.user.name_in_he')); ?>

                                </h6>
                            </div>
                            <div class="row">
                                <div class="col-md-3">
                                    <p class="text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.first_name') . ": " . ($trainee->getProperty('name.he.first')??'-')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.second_name') . ": " . ($trainee->getProperty('name.he.second')??'-')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.third_name') . ": " . ($trainee->getProperty('name.he.third')??'-')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.last_name') . ": " . ($trainee->getProperty('name.he.last')??'-')); ?>

                                    </p>
                                </div>
                            </div>
                            <div class="row">
                                <h6 class="text-info">
                                    Personal Info
                                </h6>
                            </div>
                            <div class="row">

                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.email') . ": " . $trainee->email); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.phone') . ": " . ($trainee->phone_number)); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.mobile') . ": " . ($trainee->getProperty('mobile')??'-')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.city') . ": " . $trainee->present('city')); ?>

                                    </p>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.district') . ": " . $trainee->present('district')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.exempt') . ": " . $trainee->present('exempt')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.religion') . ": " . $trainee->present('religion')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.passport') . ": " . $trainee->present('passport')); ?>

                                    </p>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.birthday') . ": " . ($trainee->getProperty('birthday')??'-')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.register_date') . ": " . ($trainee->getProperty('register_date')??'-')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.gender') . ": " . $trainee->present('gender')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.relation_situation') . ": " . $trainee->present('situation')); ?>

                                    </p>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.identify_number') . ": " . $trainee->id_number); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.status') . ": " . $trainee->present('status')); ?>

                                    </p>
                                </div>
                            </div>
                            <div class="row">
                                <h6 class="text-info">
                                    <?php echo e(trans('Syndicate::attributes.user.contact_info')); ?>

                                </h6>
                            </div>
                            <div class="row">
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.address_home') . ": " . ($trainee->getProperty('address_home')??'-')); ?>

                                    </p>
                                </div>

                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.address_work') . ": " . ($trainee->getProperty('address_work')??'-')); ?>

                                    </p>
                                </div>

                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.mobile') . ": " . ($trainee->getProperty('mobile')??'-')); ?>

                                    </p>
                                </div>
                                <div class="col-md-3">
                                    <p class="profile-username text-left">
                                        <?php echo e(trans('Syndicate::attributes.user.work_phone') . ": " . ($trainee->getProperty('work_phone')??'-')); ?>

                                    </p>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-4">
                                    <h6 class="text-info">
                                        <?php echo e(trans('Syndicate::attributes.trainee.title')); ?>

                                    </h6>
                                    <ul class="list-group">
                                        <?php $__currentLoopData = Syndicate::traineeToPharmacistConvertConditions($trainee->id); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <li class="list-group-item">
                                                <?php if($result['status']==true): ?>
                                                    <i class="fa fa-fw fa-check" style="color: green"></i>
                                                <?php else: ?>
                                                    <i class="fa fa-fw fa-close" style="color: red;"></i>
                                                <?php endif; ?>

                                                <p class="profile-username d-inline">
                                                    <?php echo e($result['description']??'-'); ?>

                                                </p>
                                            </li>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </ul>
                                    <small class="text-muted">* <?php echo app('translator')->get('Syndicate::labels.convert_conditions.note'); ?></small>
                                </div>
                            </div>
                        </div>

                        <div class="tab-pane fade" id="review" role="tabpanel" aria-labelledby="review-tab">
                            <div class="row">
                                <div class="col-md-12">
                                    <table class="table table-sm" title="fee">
                                        <thead><title></title>
                                        <tr>
                                            <th style="color: #0da9ef"><?php echo e(trans('Syndicate::attributes.fee.type')); ?></th>
                                            <th><?php echo e(trans('Syndicate::attributes.fee.fee_subscription')); ?></th>
                                            <th><?php echo e(trans('Syndicate::attributes.fee.paying')); ?></th>
                                            <th><?php echo e(trans('Syndicate::attributes.fee.remaining')); ?></th>
                                            <th><?php echo e(trans('Syndicate::attributes.user.status')); ?></th>
                                        </tr>
                                        </thead>
                                        <tbody>

                                        <?php $__empty_1 = true; $__currentLoopData = $trainee->fees; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $fee): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                            <tr>
                                                <td><?php echo e($fee->type->value); ?></td>
                                                <td><?php echo e($fee->due); ?></td>
                                                <td><?php echo e($fee->paid); ?></td>
                                                <td><?php echo e(($fee->due - $fee->paid )); ?></td>
                                                <td colspan="5"
                                                    style="<?php echo e(($fee->due - $fee->paid ) ==0 ?'':'display:none'); ?>">
                                                    <p class="text-white btn btn-success"><?php echo e(trans('Syndicate::attributes.fee.fee_done')); ?>

                                                    </p></td>
                                                <td colspan="5"
                                                    style="<?php echo e(($fee->due - $fee->paid ) !=0 ?'':'display:none'); ?>">
                                                    <a href="<?php echo e(route('fees.fee_transactions.create', ['fee' =>$fee->hashed_id])); ?>"
                                                       class="text-white btn btn-danger">

                                                        <?php echo e(trans('Syndicate::attributes.fee.fee_pay')); ?></a>
                                                </td>
                                            </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                            <tr>
                                                <td colspan="5"><?php echo e(trans('Syndicate::attributes.user.empty')); ?></td>
                                            </tr>
                                        <?php endif; ?>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                        <?php if (isset($__componentOriginala4d84fb46be687bb4f86b193bc47a03d952a16b5)): ?>
<?php $component = $__componentOriginala4d84fb46be687bb4f86b193bc47a03d952a16b5; ?>
<?php unset($__componentOriginala4d84fb46be687bb4f86b193bc47a03d952a16b5); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>

                    </div>
            </div>
    <?php if (isset($__componentOriginala4d84fb46be687bb4f86b193bc47a03d952a16b5)): ?>
<?php $component = $__componentOriginala4d84fb46be687bb4f86b193bc47a03d952a16b5; ?>
<?php unset($__componentOriginala4d84fb46be687bb4f86b193bc47a03d952a16b5); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.crud.show', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/corals/public_html/syn.corals.io/Corals/modules/Syndicate/resources/views/trainees/show.blade.php ENDPATH**/ ?>

Spamworldpro Mini