<?php $__env->startSection('content'); ?>
    <div class="container-fluid">
        <!-- start page title -->
        <div class="d-flex justify-content-between mt-2 mb-2">
            <h2>
                tour packages
            </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>title</th>
                            <th>price</th>
                            <th>discount</th>
                            <th>tour_size</th>
                            <th>duration</th>
                            <th>package_type</th>
                            <th>province_id</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $__empty_1 = true; $__currentLoopData = $tourPackages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $tourPackage): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <tr>
                                <td class="text-center"> <?php echo e($tourPackage->id); ?>

                                </td>
                                <td><?php echo e($tourPackage->title); ?></td>
                                <td><?php echo e($tourPackage->price); ?></td>
                                <td><?php echo e($tourPackage->discount); ?></td>
                                <td><?php echo e($tourPackage->tour_size); ?></td>
                                <td><?php echo e($tourPackage->duration); ?></td>
                                <td><?php echo e($tourPackage->package_type); ?></td>
                                <td><?php echo e($tourPackage->province_id); ?></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 C:\xampp\htdocs\newgenventure\resources\views/pages/tour-packages/index.blade.php ENDPATH**/ ?>