<?php $__env->startSection('title', 'Score Cards'); ?>
    
<?php $__env->startSection('content'); ?>
    <?php echo $__env->make('score_cards.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <div class="card">
        <div class="card-body">
            <div class="card-content p-2">
                <div class="table-responsive">
                    <table class="table table-borderless datatable">
                        <thead>
                          <tr>
                            <th>#No.</th>
                            <th>Code</th>
                            <th>Status</th>
                            <th>Created At</th>
                            <th>Updated At</th>
                            <th>Action</th>
                          </tr>
                        </thead>
                        <tbody>
                            <?php $__currentLoopData = $rating_scales; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i => $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <tr>
                                    <th scope="row"><?php echo e($i+1); ?></th>
                                    <td><?php echo e(tidCode('', $row->tid)); ?></td>
                                    <td><?php echo $row->is_active_status_budge; ?></td>
                                    <td><?php echo e(dateFormat($row->created_at, 'd-M-Y')); ?></td>
                                    <td><?php echo e(dateFormat($row->updated_at, 'd-M-Y')); ?></td>
                                    <td><?php echo $row->action_buttons; ?></td>
                                </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <?php echo $__env->make('score_cards.partial.status_modal', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>
<script>
    $('.modal-btn').click(function() {
        $('#status-form').attr('action', $(this).attr('data-url'));
    });
</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.core', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp7.4.33\htdocs\mog_metrics\resources\views/score_cards/index.blade.php ENDPATH**/ ?>