<div class="card">
    <div class="card-body">
        <div class="table-responsive">Screw Compressor
            <table border="1px" width="100%" border-color="black" class="table table-bordered table-striped table-hover datatable datatable-complaintChecklistReports">
                <thead>
                    <tr>

                        <th>
                            <?php echo e(trans('cruds.checklistReport.fields.checklist_name')); ?>

                        </th>
                        <th>
                            <?php echo e(trans('cruds.checklistReport.fields.checklist_status')); ?>

                        </th>
                        <th>
                            <?php echo e(trans('cruds.checklistReport.fields.checklist_remarks')); ?>

                        </th>
                    </tr>
                </thead>
                    <?php $__currentLoopData = $checklistReports; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $checklistReport): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                        <!-- Skipping Some Checklist from the table -->
                        <!-- Greater than 1150 skipping the inital 5 Checklist-->
                        <!-- Lesser than 1190 Skipping the last 10 Checklists -->
                        <?php if($checklistReport->checklist_name->id > 1150 && $checklistReport->checklist_name->id < 1190 ): ?>
                        <tr data-entry-id="<?php echo e($checklistReport->id); ?>">

                            <td>
                                <?php if(!empty($checklistReport->checklist_name->name)): ?>
    <?php if(Str::contains($checklistReport->checklist_name->name, '[T]')): ?>
        <?php echo e(Str::between($checklistReport->checklist_name->name, '[T]', '[1]')); ?>

        <span style="color: red; font-weight: bold; text-decoration: underline;"><?php echo e($checklistReport->checklist_value_text_1 ?? ''); ?></span>
    <?php endif; ?>

    <?php if(Str::contains($checklistReport->checklist_name->name, '[1]')): ?>
       , <?php echo e(Str::between($checklistReport->checklist_name->name, '[1]', '[2]')); ?>

        <span style="color: red; font-weight: bold; text-decoration: underline;"><?php echo e($checklistReport->checklist_value_text_2 ?? ''); ?></span>
    <?php endif; ?>

    <?php if(Str::contains($checklistReport->checklist_name->name, '[2]')): ?>
       , <?php echo e(Str::afterLast($checklistReport->checklist_name->name, '[2]')); ?>

        <span style="color: red; font-weight: bold; text-decoration: underline;"><?php echo e($checklistReport->Remarks ?? ''); ?></span>
    <?php endif; ?>

    <?php if(!Str::contains($checklistReport->checklist_name->name, '[T]') && !Str::contains($checklistReport->checklist_name->name, '[1]') && !Str::contains($checklistReport->checklist_name->name, '[2]')): ?>
        <?php echo e($checklistReport->checklist_name->name); ?>

    <?php endif; ?>

<?php else: ?>
    <?php echo e($checklistReport->checklist_name->name ?? ''); ?>

<?php endif; ?>

                            </td>

                            <td>
                                <?php echo e($checklistReport->checklist_status ?? ''); ?>

                            </td>
                            <td>
                                <?php if(!Str::contains($checklistReport->checklist_name->name, '[T]')): ?>
                                <?php echo e($checklistReport->checklist_value_text_1 ?? ''); ?>

                                <?php endif; ?>
                            </td>
                        </tr>
                        <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </table>
        </div>
    </div>
</div>
<?php /**PATH /home/newrhytha2/public_html/sfm.fusionengg.in/resources/views/admin/serviceComplaints/relationships/complaintChecklistReportsPDF.blade.php ENDPATH**/ ?>