<div class="form-group" id="common_message_box_excel">
    <div class="form-group row">
        <div class="col-sm-4">
            <label for="column_list">Seletc Columns</label>
            <select id="column_list" class="form-control form-control-sm"/>
            <option value="">-- select one --</option>
            <?php if(count($columns) > 0): ?>
                <?php $__currentLoopData = $columns; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $col_index=>$col): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <option value="<?php echo e(strtolower($col)); ?>"> <?php echo e(ucfirst($col)); ?> </option>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php endif; ?>
            </select>
        </div>
    </div>
    <label>Custom Message</label>
    <textarea class="form-control" id="custom_message" name="custom_message" col="5" row="5" placeholder="Custom Message"></textarea>
    <br>

    
    <div class="table-wrapper-scroll-y my-custom-scrollbar">
        <table class="table table-bordered table-sm text-center">
        <thead>
        <tr>
            <th style="width:3%;">
                <div class="icheck-success border-success">
                    <input type="checkbox" name="check_all" id="custom_check_all"/>
                    <label for="custom_check_all"></label>
                </div>
            </th>
            <?php $__currentLoopData = $columns; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $col_index=>$col): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <th><?php echo e(ucfirst($col)); ?></th>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tr>
        </thead>
        <tbody>
        <?php if(count($data)>0): ?>
            <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data_index=>$datum): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <td>
                        <div class="icheck-success border-success">
                            <input type="checkbox" class="row-select" id="row_id_<?php echo e($data_index); ?>" data-row="<?php echo e($data_index); ?>"/>
                            <label for="row_id_<?php echo e($data_index); ?>"></label>
                        </div>
                    </td>

                    <?php for($i=0; $i<count($columns); $i++): ?>
                        <td>
                            <?php echo e(array_values($datum)[$i]); ?>

                            <input type="hidden" name="<?php echo e(array_keys($datum)[$i]); ?>[<?php echo e($data_index); ?>]" value="<?php echo e(array_values($datum)[$i]); ?>">
                        </td>
                    <?php endfor; ?>
                </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php else: ?>
            <tr colspan="<?php echo e(count($columns)); ?>">No available Data</tr>
        <?php endif; ?>
        </tbody>
    </table>
    </div>
    <div class="text-center">
        <button type="button" id="generate_msg" class="btn btn-success">Generate Message</button>
    </div>
</div>
<?php /**PATH /home/spanmmdr/smartqb.info/resources/views/pages/sms/student_list_template/excel_to_table.blade.php ENDPATH**/ ?>