/
home
/
sjslayjy
/
public_html
/
assets
/
resources
/
views
/
circle-store
/
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"> <h3 class="card-title">View STR</h3> <div class="row"> <div class="col-lg-5"> <label>STR: <br/><strong>{{$str->str_no}}</strong></label> </div> <div class="col-lg-4"> <label>STN No : <br/><strong>{{$str->stn_no}}</strong></label> </div> <div class="col-lg-3"> <label>Ware House : <br/><strong>{{$str->warehouse}}</strong></label> </div> </div> </div> </div> </div> <div class="col-lg-12 grid-margin"> <div class="card"> <div class="card-body"> <div class="row grid-margin"> <div class="col-lg-4"> <h4 class="card-title">Authorized Spare Parts List</h4> </div> </div> <div class="table-responsive"> <table class="table table-striped table-bordered"> <thead> <tr> <th>Item Code</th> <th>Description</th> <th>Type</th> <th>Qty</th> <th>Rate</th> <th>Total</th> </tr> </thead> <tbody id="tbody"> @foreach($stn_items as $key => $stn_item) @if($stn_item->fresh_qty != 0) <tr> <td>{{$stn_item->spare_code}}</td> <td>{{$stn_item->description}}</td> <td>Fresh</td> <td>{{$stn_item->fresh_qty}}</td> <td>{{$stn_item->rate}}</td> <td>{{ $stn_item->rate*$stn_item->fresh_qty }}</td> </tr> @endif @if($stn_item->repaired_qty != 0) <tr> <td>{{$stn_item->spare_code}}</td> <td>{{$stn_item->description}}</td> <td>Repaired</td> <td>{{$stn_item->repaired_qty}}</td> <td>{{ $stn_item->rate }}</td> <td>{{ $stn_item->repaired_qty*$stn_item->rate }}</td> </tr> @endif @if($stn_item->faulty_qty != 0) <tr> <td>{{$stn_item->spare_code}}</td> <td>{{$stn_item->description}}</td> <td>Faulty</td> <td>{{$stn_item->faulty_qty}}</td> <td>{{ $stn_item->rate }}</td> <td>{{ $stn_item->faulty_qty*$stn_item->rate }} Rs</td> </tr> @endif @endforeach </tbody> </table> <div id="loaderAction"> <div class="loader"></div> </div> </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') !!} <script type="text/javascript"> </script> @endpush