laid out the views for the new item list functionality
This commit is contained in:
41
resources/views/stocks/generalstocks.blade.php
Normal file
41
resources/views/stocks/generalstocks.blade.php
Normal file
@@ -0,0 +1,41 @@
|
||||
@extends('layouts.b4')
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div table="table table-striped table-bordered table-hover">
|
||||
<thead>
|
||||
<th>Location</th>
|
||||
<th>Items</th>
|
||||
<th>Quantities</th>
|
||||
<th>Date</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach()
|
||||
<tr data-toggle="collapse" data-target="{{ $stationName }}" class="accordion-toggle">
|
||||
<td>Station</td>
|
||||
<td>Item Types</td>
|
||||
<td></td>
|
||||
<td>Date</td>
|
||||
</tr>
|
||||
@foreach()
|
||||
<tr class="hiddenRow">
|
||||
<td>
|
||||
<div class="accordion-body collapse" id="{{ $stationName }}"></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="accordion-body collapse" id="{{ $stationName }}"></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="accordion-body collapse" id="{{ $stationName }}"></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="accordion-body collapse" id="{{ $stationName }}"></div>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endforeach
|
||||
</tbody>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
33
resources/views/stocks/stationstocks.blade.php
Normal file
33
resources/views/stocks/stationstocks.blade.php
Normal file
@@ -0,0 +1,33 @@
|
||||
@extends('layouts.b4')
|
||||
@section('content')
|
||||
<div class="container">
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h2>Station Name</h2><br>
|
||||
<h3>Date Updated</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div table="table table-striped table-bordered">
|
||||
<thead>
|
||||
<th>Location</th>
|
||||
<th>Items</th>
|
||||
<th>Quantities</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($items as $item)
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Item Name</td>
|
||||
<td>Quantity</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user