ALPHA 3.0.5

This commit is contained in:
TheGamecraft
2018-09-21 14:31:00 -04:00
parent 252ff658e0
commit 3b593297cd
33 changed files with 559 additions and 98 deletions

View File

@@ -9,6 +9,7 @@
<table class="table" id="book">
<thead>
<tr>
<th>Quantité</th>
<th>Nom</th>
<th>Description</th>
<th></th>
@@ -17,9 +18,10 @@
<tbody>
@foreach ($items as $item)
<tr>
<td>{{$item->quantity}}</td>
<td scope="row">{{$item->name}}</td>
<td>{{$item->desc}}</td>
<td style="width:12%"><form action="/ecc/inventory/remove/{{$schedule->id}}/{{$periode}}/{{$niveau}}" method="post">{{ csrf_field() }}<button type="submit" name="remove" class="btn btn-danger" value="{{$item->id}}"><i class="fa fa-arrow-right"></i></button></form></td>
<td style="width:12%"><form action="/ecc/inventory/remove/{{$schedule->id}}/{{$periode}}/{{$niveau}}" method="post">{{ csrf_field() }}<button type="submit" name="remove" class="btn btn-danger" value="{{$item->id}}:{{$item->quantity}}"><i class="fa fa-arrow-right"></i></button></form></td>
</tr>
@endforeach
</tbody>
@@ -36,15 +38,16 @@
<th></th>
<th>Nom</th>
<th>Description</th>
<th>Quantité</th>
</tr>
</thead>
<tbody>
@foreach ($dispo_item as $item)
<tr>
<td style="width:12%"><form action="/ecc/inventory/add/{{$schedule->id}}/{{$periode}}/{{$niveau}}" method="post">{{ csrf_field() }}<button type="submit" name="add" class="btn btn-success" value="{{$item->id}}"><i class="fa fa-arrow-left"></i></button></form></td>
<td style="width:12%"><form action="/ecc/inventory/add/{{$schedule->id}}/{{$periode}}/{{$niveau}}" method="post">{{ csrf_field() }}<button type="submit" name="add" class="btn btn-success" value="{{$item->id}}"><i class="fa fa-arrow-left"></i></button></td>
<td scope="row">{{$item->name}}</td>
<td>{{$item->desc}}</td>
<td><input type="number" class="form-control" name="qt" id="qt" min="1" max="{{$item->quantity}}" value="{{$item->quantity}}"></form><td>
</tr>
@endforeach
</tbody>