/
home
/
sjslayjy
/
public_html
/
assets
/
resources
/
views
/
admin
/
indent
/
Upload File
HOME
@extends('layout.master') @push('plugin-styles') <!-- {!! Html::style('/assets/plugins/plugin.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">Stock Transfer Orders</h4> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th> STO Number </th> <th> Indent No</th> <th> STO Date </th> <th> STN </th> <th> Action </th> </tr> </thead> <tbody> @foreach($stos as $sto) <tr> <td class="font-weight-medium"> {{$sto->sto_number}} </td> <td>{{$sto->indent_no}}</td> <td>{{$sto->sto_date}}</td> @if($sto->status == 'stn') <td><a href="{{url('admin/generate-stn/'.$sto->id)}}">Generate STN</a> </td> @else <td>STN Generated</td> @endif <td><a href="{{url('admin/view-sto/'.$sto->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