
<?php $__env->startSection('title'); ?>
ব্যাগ রিপোর্ট
<?php $__env->stopSection(); ?>
<?php $__env->startSection('question-student-ticket'); ?>
active
<?php $__env->stopSection(); ?>
<?php $__env->startSection('question-student-ticket'); ?>
active
<?php $__env->stopSection(); ?>
<?php $__env->startSection('styles'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('admin_content'); ?>
<!-- BEGIN: Content-->
<div class="app-content content ">
    <div class="card">
        <div class="card-header">
            <div class="head-label">
                <h4>ব্যাগ রিপোর্ট</h4>
            </div>
            <div class="dt-action-buttons text-right">
            </div>
        </div>
        <div class="card-body">
            <div class="table-responsive custom-table-modify">
                <table id="myTable" class="table table-bordered">
                    <thead>
                        <tr>
                            <th scope="col">সিরিয়াল নং</th>
                            <th scope="col">নাম</th>
                            <th scope="col">ডিস্ক্রিপশন</th>
                            <th scope="col">রেপ্লাইড ডেসক্রিপশন</th>
                            <th scope="col">স্টেটাস</th>
                            <th scope="col">একশন</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $__currentLoopData = $studentTicketData; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if(isset($data) && $data != null): ?>
                        <tr>
                            <td>1</td>
                            <td><?php echo e($data->userData->name); ?></td>
                            <td>
                                <span class="d-flex">
                                    প্রশ্ন: <?php echo $data->questionData->question; ?>

                                </span>
                                কমেন্ট: <?php echo e($data->description); ?>

                            </td>
                            <td><?php echo e($data->replied_description); ?></td>
                            <td>
                                <?php if($data->is_replied == true): ?>
                                <span class="badge badge-light-primary">দেখা হয়েছে</span>
                                <?php else: ?>
                                <span class="badge badge-light-danger">দেখা হয়নি</span>
                                <?php endif; ?>
                            </td>

                            <td>
                                <div class="dropdown">
                                    <button type="button" class="btn btn-sm dropdown-toggle hide-arrow py-0"
                                        data-bs-toggle="dropdown">
                                        <i data-feather="more-vertical"></i>
                                    </button>
                                    <div class="dropdown-menu dropdown-menu-end">
                                        <?php if($data->is_replied == false): ?>
                                        <a class="dropdown-item"
                                            href="<?php echo e(route('question-student-ticket.reply', $data->id)); ?>">
                                            <i data-feather="check" class="me-50"></i>
                                            <span>রেপ্লাইড করুন</span>
                                        </a>
                                        <?php else: ?>
                                        
                                        <?php endif; ?>

                                        <form method="POST"
                                            action="<?php echo e(route('question-student-ticket.destroy', $data->id)); ?>"
                                            class="d-inline">
                                            <?php echo csrf_field(); ?>
                                            <?php echo method_field('delete'); ?>
                                            <button type="submit" title="delete"
                                                class="bg-transparent border-0 dropdown-item w-100 delete-confirm">
                                                <i data-feather="trash" class="me-50"></i>
                                                <span>ডিলিট করুন</span>
                                            </button>
                                        </form>
                                    </div>
                                </div>
                            </td>


                        </tr>
                        <?php else: ?>
                        <tr></tr>
                        <?php endif; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>

</div>
<!-- END: Content-->
<?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\testpaper-final\resources\views/admin/setting/studentTicket/questionStudentTicketList.blade.php ENDPATH**/ ?>