<div class="row">
    <div class="col-xs-12 col-sm-12">
        <div>
            <table class="table table-striped table-bordered table-hover">
                <tr >
                    <td class="label-info white">Year</td>
                    <td><?php echo e(ViewHelper::getYearById($data['assignment']->years_id), false); ?></td>
                    <td class="label-info white">Semester/Sec.</td>
                    <td><?php echo ViewHelper::getSemesterById($data['assignment']->semesters_id); ?></td>
                    <td class="label-info white">Subject</td>
                    <td><?php echo e(ViewHelper::getSubjectById($data['assignment']->subjects_id), false); ?></td>
                </tr>
                <tr >
                    <td class="label-info white">Date</td>
                    <td>
                        <?php echo e(\Carbon\Carbon::parse($data['assignment']->publish_date)->format('M d, Y'), false); ?> TO
                        <?php echo e(\Carbon\Carbon::parse($data['assignment']->end_date)->format('M d, Y'), false); ?>

                    </td>
                    <td class="label-info white">File</td>
                    <td>
                        <?php if($data['assignment']->file): ?>
                        <a href="<?php echo e(asset('assignments'.DIRECTORY_SEPARATOR.'questions'.DIRECTORY_SEPARATOR.$data['assignment']->file), false); ?>" target="_blank" >
                            Attachment File
                            <i class="ace-icon fa fa-download bigger-120"></i>
                        </a>
                        <?php endif; ?>
                    </td>
                    <td class="label-info white">Status</td>
                    <td>
                        <button class="btn btn-primary btn-minier dropdown-toggle <?php echo e($data['assignment']->status == 'active'?"btn-info":"btn-warning", false); ?>" >
                            <?php echo e($data['assignment']->status == 'active'?"Active":"In Active", false); ?>

                        </button>
                    </td>
                </tr>
                <tr >
                    <td class="label-info white">Title</td>
                    <td colspan="5"><?php echo $data['assignment']->title; ?></td>
                </tr>
                <tr >
                    <td class="label-info white">Detail</td>
                    <td colspan="5"><?php echo $data['assignment']->description; ?></td>
                </tr>
            </table>
        </div>
    </div>
</div><!-- /.row -->




<?php /**PATH C:\xampp\htdocs\larvel-project\collegeaccounting\resources\views/assignment/detail/includes/preview-question.blade.php ENDPATH**/ ?>