
<?php $__env->startSection('title'); ?> প্রশ্ন ব্যাগ রিপোর্ট | TESTPAPER <?php $__env->stopSection(); ?>
<?php $__env->startSection('post-student-ticket'); ?> active <?php $__env->stopSection(); ?>
<?php $__env->startSection('post-student-ticket'); ?> active <?php $__env->stopSection(); ?>
<?php $__env->startSection('styles'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('main_content_section'); ?>
<div class="row py-3 ps-2">
    <div class="heading d-flex justify-content-start align-items-center">
        <h3 class="mb-0"><span> প্রশ্ন ব্যাগ রিপোর্ট তালিকা</span></h3>
    </div>
</div>

<div class="table_wrapper py-1 card min-vh-100">
    <div class="row px-3">
        <div class="table-container table-responsive">
            <table id="" class="table table-bordered">
                <thead class="text-uppercase">
                    <tr class="me-3">
                        <th class="text-center" scope="col"><span>ইউজার নাম</span></th>
                        <th class="text-center" scope="col"><span>ডিস্ক্রিপশন</span></th>
                        <th class="text-center" scope="col"><span>রেপ্লাইড ডেসক্রিপশন</span></th>
                        <th class="text-center" scope="col"><span>আইডি</span></th>
                        <th class="text-center" scope="col"><span>বর্তমান অবস্থা</span></th>
                    </tr>
                </thead>
                <tbody class="text-center">

                    <?php $__currentLoopData = $studentTicketData; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if(isset($item) && $item != null): ?>
                    <tr class="">

                        <td>
                            <div class="row_title custom-text-left">
                                <strong><a href="#" class="text-left"><?php echo e($item->userData->name); ?></a></strong>
                            </div>
                            <div class="row-actions custom-text-left">
                                <span><button class="edit_class_modal border-0 bg-transparent" value="<?php echo e($item->id); ?>">
                                        <a href="<?php echo e(route('question-student-ticket.reply', $item->id)); ?>">>রেপ্লাইড করুন</a> </button> |
                                </span>

                                <span><a class="text-success"
                                        href="<?php echo e(route('question-student-ticket.destroy', $item->id)); ?>">ডিলিট</a></span>
                            </div>
                        </td>

                        <td>
                            <span class="d-flex">
                                <?php if(isset($item->questionData) && $item->questionData != null): ?>
                                প্রশ্ন: <?php echo $item->questionData->question; ?>

                                <?php else: ?>
                                প্রশ্ন:
                                <?php endif; ?>
                            </span>
                            কমেন্ট: <?php echo e($item->description); ?>

                        </td>

                        <td><?php echo e($data->replied_description); ?></td>

                        <td>
                            <b><?php echo e($item->id); ?></b>
                        </td>

                        <td>
                            <?php if($item->is_repliedde == true): ?>
                            <span class="badge bg-success">দেখা হয়েছে</span>
                            <?php else: ?>
                            <span class="badge bg-danger">দেখা হয়নি</span>
                            <?php endif; ?>
                        </td>

                    </tr>
                    <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


                </tbody>
            </table>
        </div>

        <div class="clearfix d-flex">
            <div class="float-left">
                <p class="text-muted">
                    <?php echo e(__('Showing')); ?>

                    <span class="font-weight-bold"><?php echo e($studentTicketData->firstItem()); ?></span>
                    <?php echo e(__('to')); ?>

                    <span class="font-weight-bold"><?php echo e($studentTicketData->lastItem()); ?></span>
                    <?php echo e(__('of')); ?>

                    <span class="font-weight-bold"><?php echo e($studentTicketData->total()); ?></span>
                    <?php echo e(__('results')); ?>

                </p>
            </div>

            <div class="float-right custom-table-pagination">
                <?php echo $studentTicketData->links('pagination::bootstrap-4'); ?>

            </div>
        </div>
    </div>


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

<?php $__env->startSection('scripts'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\Project\Personal-Project\Office-Project\update\test-paper-final\resources\views/admin/setting/studentTicket/questionStudentTicketList.blade.php ENDPATH**/ ?>