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

<main id="main" class="main">
    <?php echo $__env->make('cdn', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <div class="row page-titles mx-0">

        <div class="col-sm-6 p-md-0">

            <div class="breadcrumb-range-picker">

                 <h4>LR Details</h4>

            </div>

        </div>

    </div>

    <div class="container-fluid">

        <?php echo $__env->make('flash_msg', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

        <div class="row">

            <div class="col-12">

                <div class="card bg-grey">

                    <div class="card-body">

                        <form action="" method="get">
                            
                            <div class="row">

                                <div class="form-group col-lg-3">
                                    <label>All Location Date</label>
                                    <input type="date" name="all_location_date" class="form-control">
                                </div>

                                <div class="form-group col-lg-3">
                                    <label>Chassis No.</label>
                                    <input type="text" name="chassis_no" class="form-control" placeholder="Chassis No.">
                                </div>

                                <div class="form-group col-lg-3">
                                    <label>LR No.</label>
                                    <input type="text" name="lr_no" class="form-control" placeholder="LR No.">
                                </div>

                                <div class="form-group col-lg-3">
                                    <label>LR Date</label>
                                    <input type="date" name="lr_date" class="form-control">
                                </div>                                

                            </div>

                            <div class="text-right">
                                <button class="btns success-btn btn-sm" type="submit">Search</button>
                                <button class="btn btn-danger btn-sm" type="button">Clear</button>
                            </div>

                        </form>

                    </div>

                </div>

                <div class="card">                    

                    <div class="card-body">                        

                        <div class="table-responsive">

                            <table class="table table-striped" id="posts">
                                
                                <thead>
                                    
                                    <tr>
                                        <th>#</th>
                                        <th>Lr No.</th>
                                        <th>Chassis No.</th>
                                        <th>Model Description</th>
                                        <th>Allocation Date</th>
                                        <th>Lr Status</th>
                                        <th>From Location</th>
                                        <th>To Location</th>
                                        <th>Action</th>
                                    </tr>
                                
                                </thead>

                                <tbody>
                                    

                                </tbody>
                                
                            </table>

                        </div>

                    </div>

                </div>

            </div>

        </div>

    </div>

</main>

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

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

<script>
    $(document).ready(function () {
        $('#posts').DataTable({
            "processing": true,
            "serverSide": true,
            "ajax":{
                     "url": "<?php echo e(url('lr-detail')); ?>",
                     "dataType": "json",
                     "type": "POST",
                     "data":{ _token: "<?php echo e(csrf_token()); ?>"}
                   },
            "columns": [
                { "data": "No" },
                { "data": "TptLrNo" },
                { "data": "ChassisNo" },
                { "data": "MaterialDescription" },
                { "data": "AllocationDate" },
                { "data": "Status" },
                { "data": "FromLocation" },
                { "data": "ToLocation" },
                { "data": "options" }
            ]    

        });
    });
</script>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('backend.company.layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/vinecork/public_html/webdev/logisticcrm/resources/views/seller/lr_details/lr_details.blade.php ENDPATH**/ ?>