<?php $__env->startSection('content'); ?>
    <div class="container-fluid">
        <!-- start page title -->
        <div class="d-flex justify-content-between mt-2 mb-2">
            <h2>
                provinces
            </h2>
            <ol class="breadcrumb m-0">
                
                
            </ol>
        </div>
        <!-- end page title -->

        <?php if($message = Session::get('success')): ?>
            <div class="alert alert-success">
                <p><?php echo e($message); ?></p>
            </div>
        <?php endif; ?>

        <div class="card">
            <div class="card-body">
                <!-- command bar -->
                
                <!-- end command bar -->
                <table class="table">
                    <thead>
                        <tr class="text-center">
                            
                            <th>id</th>
                            <th>name_th</th>
                            <th>name_en</th>
                            <th>is_recommended</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $__empty_1 = true; $__currentLoopData = $provinces; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $province): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <tr>
                                <td class="text-center"> <?php echo e($province->id); ?>

                                </td>
                                <td><?php echo e($province->name_th); ?></td>
                                <td><?php echo e($province->name_en); ?></td>
                                <td><?php echo e($province->is_recommended); ?></td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                            <tr>
                                <td colspan="14">ไม่มีรายการให้แสดง</td>
                            </tr>
                        <?php endif; ?>
                    </tbody>
                </table>
                
            </div>
        </div>
        <!-- end table -->
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.base', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\xampp\htdocs\newgenventure\resources\views/pages/provinces/index.blade.php ENDPATH**/ ?>