%PDF- %PDF-
Direktori : /home/silvzytp/ccd-ind-code/storage/framework/views/ |
Current File : //home/silvzytp/ccd-ind-code/storage/framework/views/425b0417bb58e2b8d163a7da077f17a099454b3d.php |
<?php $__env->startSection('title', $siteTitle); ?> <?php $__env->startPush('styles'); ?> <style> table tbody tr td{ text-align: left !important; } </style> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <?php $__currentLoopData = $compareData; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $compare): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-md-6 mb-4"> <div class="card"> <div class="card-header"> <div class="card-title">File Name: <?php echo e($compare->file_name); ?> </div> </div> <div class="card-body"> <table class="w-100 table table-sm table-borderless"> <tbody> <?php $openCount = DB::table('collings')->where(['file_name'=>$compare->file_name,'status'=>1])->count(); $closedCount = DB::table('collings')->where(['file_name'=>$compare->file_name,'status'=>2])->count(); $potentialCount = DB::table('collings')->where(['file_name'=>$compare->file_name,'potential'=>1])->count(); ?> <tr> <td>Open</td> <td>:</td> <td><?php echo e($openCount); ?></td> </tr> <tr> <td>Closed</td> <td>:</td> <td><?php echo e($closedCount); ?></td> </tr> <tr> <td>Potential</td> <td>:</td> <td><?php echo e($potentialCount); ?></td> </tr> <?php $__currentLoopData = $sub_status; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $status): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $data = DB::table('collings')->where(['file_name'=>$compare->file_name,'sub_status'=>$status->id])->count(); ?> <tr> <td><?php echo e($status->name); ?></td> <td>:</td> <td><strong><?php echo e($data); ?></strong></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('scripts'); ?> <script> </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.backend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/silvzytp/calling_code/resources/views/backend/pages/compare/file-compare.blade.php ENDPATH**/ ?>