/
home
/
sjslayjy
/
public_html
/
devlok
/
resources
/
views
/
dashboard
/
report
/
Upload File
HOME
@extends('dashboard.layouts.app') @section('title','MasterSheet') @section('style') <style type="text/css"> span.close-now { background: red; width: 25px; height: 25px; display: block; text-align: center; border-radius: 50%; padding: 3px; color: #fff; margin-top: 30px; } </style> @endsection @section('content') <div class="main-content"> <div class="main-content-inner"> <div class="breadcrumbs ace-save-state" id="breadcrumbs"> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="#">Home</a> </li> <li class="active">Report</li> </ul> </div> <div class="page-content"> <div class="row"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title">Report</h3> </div> <div class="panel-body"> <form action="{{ URL('/user/get-report') }}" role="form" method="post" id="allreport"> {{csrf_field()}} <div class="row "> <div class="col-md-2"> <lable for="order_from">Order From</lable> <select name="order_from" onchange="handleTranferType(this.value)" class="form-control" id="order_from"> <option value="">Select Order From</option> <option value="1">Rake</option> <option value="2">Godown</option> </select> </div> <div class="col-md-3" id="form_rake_point"> <lable for="order_from">Select Rake Point</lable> <select name="rake_point[]" id="rake_point" class="form-control select2" multiple> <option class="form-control" value="">select Rake</option> @foreach($rakes as $rake) <option class="form-control" value="{{$rake->id}}">{{$rake->rake_point}}</option> @endforeach </select> </div> <div class="col-md-3" id="form_godown"> <lable for="order_from">Select Godown</lable> <select name="godown[]" id="godown" class="form-control select2" multiple> <option class="form-control" value="">select Godown</option> @foreach($warehouses as $warehouse) <option class="form-control" value="{{$warehouse->id}}">{{$warehouse->name}}</option> @endforeach </select> </div> </div> <div class="row grid-margin"> <div class="col-lg-3"> <div class="form-group"> <label>Date From:</label> <input type="date" id="from_date" name="from_date" placeholder="Enter from_date" class="form-control"> </div> </div> <div class="col-lg-3"> <div class="form-group"> <label>Date To:</label> <input type="date" id="to_date" name="to_date" placeholder="Enter to_date" class="form-control"> </div> </div> <div class="col-lg-3" style="padding-top:20px;"> <button type="submit" id="generateOrderBtn" class="btn btn-primary float-right">Report Genrate</button> </div> </div> <div class="clearfix"> <div class="pull-right tableTools-container"> </div> </div> </form> </div> </div> </div> </div><!-- /.page-content --> </div> </div> @endsection @section('script') {{ Html::script("assets/js/jquery.dataTables.min.js")}} {{ Html::script("assets/js/jquery.dataTables.bootstrap.min.js")}} {{ Html::script("assets/js/dataTables.buttons.min.js")}} {{ Html::script("assets/js/buttons.flash.min.js")}} {{ Html::script("assets/js/buttons.html5.min.js")}} {{ Html::script("assets/js/buttons.print.min.js")}} {{ Html::script("assets/js/buttons.colVis.min.js")}} {{ Html::script("assets/js/dataTables.select.min.js")}} {{ Html::script("assets/js/ace-elements.min.js")}} {{ Html::script("assets/js/ace.min.js")}} <script> $(document).ready(function() { $(".e1").select2(); }); $('#form_godown').hide(); $('#form_rake_point').hide(); function handleTranferType(type) { if (type == 1) { $('#form_godown').hide(); $('#form_rake_point').show(); } else { $('#form_godown').show(); $('#form_rake_point').hide(); } } </script> @endsection