IMMREX7

aku nok ndi : /home/spdtg/www/schoolmis/storage/framework/views/
File Up :
aku nok ndi : /home/spdtg/www/schoolmis/storage/framework/views/53698a76a7ccef69f790c1776fb156bd46cd9617.php

<?php $__env->startSection('content'); ?>

<div class="row clearfix">

    <div class="col-sm-12">

        <div class="card">

            <div class="header">

                <h2><strong>Barcode Generator</strong></h2>

            </div>

            <div class="body">

                <?php echo Form::open(['method' => 'GET',  'action' => ['School\Library\BarcodeController@index'],'class' => 'form-horizontal']); ?>


                <div class="row clearfix">

                    <div class="col-sm-2 form-control-label required">

                        <label for="classname">Type Of Label</label>

                    </div>

                    <div class="col-sm-3">

                        <div class="form-group">

                            <?php echo Form::select('label',['Barcode'=>'Barcode','RFID'=>'RFID Sticker'],null,['class' => 'form-control show-tick ms','required'=>'required']); ?>


                        </div>

                    </div>

                    <div class="col-sm-1 form-control-label required">

                        <label for="classname">For</label>

                    </div>

                    <div class="col-sm-3">

                        <div class="form-group">

                            <?php echo Form::select('type',[''=>'---Select---','student'=>'Student','book'=>'Book','employee'=>'All Other Employee Category'],null,['class' => 'form-control show-tick ms','required'=>'required']); ?>


                        </div>

                    </div>

                    <div class="col-sm-2">

                        <?php echo Form::submit('SHOW',['class' => 'btn btn-raised btn-primary btn-round waves-effect']); ?>


                        <?php echo Form::close(); ?>


                    </div>

                </div>

            </div>

        </div>

    </div>

</div>

<?php if(count($students)>0): ?>

<div class="row clearfix">

    <div class="col-sm-12">

        <div class="card">

            <div class="header">



                <h2><strong>Select Students to Generate BARCODE</strong></h2>



                <?php echo Form::open(['url' => 'school/barcodes','class'=>'form-horizontal','id'=>'form']); ?>


            </div>

            <div class="body table-responsive">

                <div class="row clearfix">

                    <?php if($errors->has('student')): ?>

                    <label id="minmaxlength-error" class="error" for="minmaxlength">

                        <strong><?php echo e($errors->first('student')); ?></strong>

                    </label>

                    <?php endif; ?>

                    <div class="col-sm-2"></div>

                    <div class="col-sm-2 form-control-label required">

                        <label for="classname">No Of Columns</label>

                    </div>

                    <div class="col-sm-3">

                        <div class="form-group">

                            <?php echo Form::select('columnNo',[''=>'---select---','2'=>'2','3'=>'3','4'=>'4','5'=>'5'],null,['class' => 'form-control show-tick ms','required'=>'required']); ?>


                            <?php if($errors->has('columnNo')): ?>

                            <label id="minmaxlength-error" class="error" for="minmaxlength">

                                <strong><?php echo e($errors->first('columnNo')); ?></strong>

                            </label>

                            <?php endif; ?>

                        </div>

                    </div>

                     <div class="col-sm-1 form-control-label required">
                        <label for="classname">Skip</label>
                    
                    </div>

                    <div class="col-sm-1">
                        <div class="form-group">
                            <input class="form-control" required="required" name="skip" type="text" value="0">
                        </div>
                    </div>

                    <div class="col-sm-1">

                        <input type="submit" value="Generate" name="generate" class="btn btn-raised btn-primary btn-round waves-effect">

                    </div>

<!--                    <div class="col-sm-1">

                        <?php echo Form::submit('Print',['class' => 'btn btn-raised btn-success btn-round waves-effect']); ?>


                    </div>-->

                </div>

                <table class="table table-bordered table-striped table-hover dataTable">

                    <thead>

                        <tr>

                            <th><input type="checkbox"  class="selectAll"></th>

                            <th>Ec.No.</th>

                            <th>Name</th>

                            <th>Father</th>

                            <th>Mobile</th>

                            <th>Class</th>

                            <th>Section</th>

                        </tr>

                    </thead>

                    <tbody>

                        <?php $__currentLoopData = $students; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $std): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                        <tr>

                            <td><input type="checkbox" name="students[]" value="<?php echo e($std->ecNo); ?>"></td>

                            <td><?php echo e($std->ecNo); ?></td>

                            <td><?php echo e($std->firstName); ?> <?php echo e($std->middleName); ?> <?php echo e($std->lastName); ?></td>

                            <td><?php echo e($std->father_fname); ?> <?php echo e($std->father_lname); ?></td>

                            <td><?php echo e($std->father_mobile); ?></td>

                            <td><?php echo e($std->className); ?></td>

                            <td><?php echo e($std->sectionName); ?></td>

                        </tr>

                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                    </tbody>

                </table>

                <?php echo Form::close(); ?>


            </div>

        </div>

    </div>

</div>

<?php endif; ?>

<?php if(count($employees)>0): ?>

<div class="row clearfix">

    <div class="col-sm-12">

        <div class="card">



            <div class="body table-responsive">



                <table class="table table-bordered table-striped table-hover js-basic-example dataTable">

                    <thead>

                        <tr>

                            <th></th>

                            <th>Ec.No.</th>

                            <th>Name</th>

                            <th>Mobile</th>

                            <th>Department</th>

                            <th>Designation</th>

                        </tr>

                    </thead>

                    <tbody>

                        <?php $__currentLoopData = $employees; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $emp): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                        <tr>

                            <td></td>

                            <td><?php echo e($emp->enrollmentNo); ?></td>

                            <td><?php echo e($emp->firstName); ?> <?php echo e($emp->middleName); ?> <?php echo e($emp->lastName); ?></td>

                            <td><?php echo e($emp->mobile); ?></td>

                            <td><?php echo e($emp->departmentName); ?></td>

                            <td><?php echo e($emp->designationName); ?></td>

                        </tr>

                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                    </tbody>

                </table>



            </div>

        </div>

    </div>

</div>

<?php endif; ?>



<?php if(count($books)>1): ?>

<div class="row clearfix">

    <div class="col-sm-12">

        <div class="card">

            <div class="header">



                <h2><strong>Select Books to Generate BARCODE</strong></h2>



                <?php echo Form::open(['url' => 'school/barcodes','class'=>'form-horizontal','id'=>'form']); ?>


            </div>

            <div class="body table-responsive">

                <div class="row clearfix">

                    <?php if($errors->has('book')): ?>

                    <label id="minmaxlength-error" class="error" for="minmaxlength">

                        <strong><?php echo e($errors->first('book')); ?></strong>

                    </label>

                    <?php endif; ?>

                    <div class="col-sm-2"></div>

                    <div class="col-sm-2 form-control-label required">

                        <label for="classname">No Of Columns</label>

                    </div>

                    <div class="col-sm-3">

                        <div class="form-group">

                            <?php echo Form::select('columnNo',[''=>'---select---','2'=>'2','3'=>'3','4'=>'4','5'=>'5'],null,['class' => 'form-control show-tick ms','required'=>'required']); ?>


                            <?php if($errors->has('columnNo')): ?>

                            <label id="minmaxlength-error" class="error" for="minmaxlength">

                                <strong><?php echo e($errors->first('columnNo')); ?></strong>

                            </label>

                            <?php endif; ?>

                        </div>

                    </div>

                    <div class="col-sm-1 form-control-label required">
                        <label for="classname">Skip</label>
                    
                    </div>

                    <div class="col-sm-1">
                        <div class="form-group">
                            <input class="form-control" required="required" name="skip" type="text" value="0">
                        </div>
                    </div>

                    <div class="col-sm-1">

                        <input type="submit" value="Generate" name="generate" class="btn btn-raised btn-primary btn-round waves-effect">

                    </div>

                 </div>

            <div class="body table-responsive">



                <table class="table table-bordered table-striped table-hover dataTable">

                    <thead>

                        <tr>

                            <th><input type="checkbox"  class="selectAll"></th>

                            <th>Book Type</th>

                            <th>Accession No</th>

                            <th>RFID</th>

                            <th>Title</th>

                            <th>Entry Date</th>

                        </tr>

                    </thead>

                    <tbody>

                        <?php $__currentLoopData = $books; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $book): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                        <tr>

                            <td><input type="checkbox" name="students[]" value="<?php echo e($book->accessionNo); ?>"></td>

                            <td><?php echo e($book->boookType->typeName); ?></td>

                            <td><?php echo e($book->accessionNo); ?></td>

                            <td><?php echo e($book->rfid); ?></td>

                            <td><?php echo e($book->title); ?></td>

                            <td><?php echo e($book->entryDate); ?></td>

                        </tr>

                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                    </tbody>

                </table>

                <?php echo Form::close(); ?>


            </div>

        </div>

    </div>

</div>

<?php endif; ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>

<script>

    $('.selectAll').on('click', function () {

        var checkAll = this.checked;

        if (checkAll === true) {

            $('input[type=checkbox]').each(function () {

                this.checked = checkAll;

            });

        } else {

            $('input[type=checkbox]').each(function () {

                this.checked = checkAll;

            });

        }

    });

</script>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('schools.school_layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

Copyright © 2021 - 2025 IMMREX7