/
home
/
sjslayjy
/
public_html
/
assets
/
resources
/
views
/
admin
/
indent
/
Upload File
HOME
@extends('layout.master') @push('plugin-styles') <!-- {!! Html::style('/assets/plugins/plugin.css') !!} --> {!! Html::style('//cdn.datatables.net/1.10.23/css/jquery.dataTables.min.css') !!} @endpush @section('content') <div class="row"> <div class="col-lg-12 grid-margin"> <div class="card"> <div class="card-body"> <h4 class="card-title">Authorised Indents</h4> <div class="table-responsive"> <table class="table table-striped myTable"> <thead> <tr> <th> Indent Number </th> <th> Authorised By </th> <th> Circle Store Name </th> <th> Indent Date </th> <th> Satus </th> <th> action </th> </tr> </thead> <tbody> @foreach($indents as $indent) <tr> <td class="font-weight-medium"> {{$indent->indent_no}} </td> <td>{{$indent->authorised_by_name}}</td> <td>{{$indent->name}}</td> <td>{{$indent->indent_date}}</td> @if($indent->status == 'authorized') <td> <label class="badge badge-success">Authorized</label> </td> @else <td> <label class="badge badge-warning">Short Closed</label> </td> @endif <td>@if($indent->status == 'authorized')<a href="{{url('admin/generate-sto/'.$indent->id)}}">Generate STO</a> | @endif <a href="{{url('admin/view-authorised-indent/'.$indent->id)}}">View</a></td> </tr> @endforeach </tbody> </table> </div> </div> </div> </div> </div> @endsection @push('plugin-scripts') {!! Html::script('/assets/plugins/chartjs/chart.min.js') !!} {!! Html::script('/assets/plugins/jquery-sparkline/jquery.sparkline.min.js') !!} @endpush @push('custom-scripts') {!! Html::script('/assets/js/dashboard.js') !!} {!! Html::script('//cdn.datatables.net/1.10.23/js/jquery.dataTables.min.js') !!} <script type="text/javascript"> $(document).ready( function () { var myTable = $('.myTable').dataTable(); } ); </script> @endpush