mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 10:49:10 -04:00
ALPHA 3.0.5
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<table class="table float center" style="border:none; max-width:80%; margin:auto;">
|
||||
<thead>
|
||||
<tr style="border:none;">
|
||||
<th style="border:none;">ID</th>
|
||||
<th style="border:none;">Quantité</th>
|
||||
<th style="border:none;">Item</th>
|
||||
<th style="border:none;">Description</th>
|
||||
</tr>
|
||||
@@ -50,7 +50,7 @@
|
||||
<tbody>
|
||||
@foreach ($n1_p1_items as $item)
|
||||
<tr style="border:none;">
|
||||
<td style="border:none; width:10%">{{$item}}</td>
|
||||
<td style="border:none; width:10%">@php $quantity = explode(":",$item); @endphp {{$quantity[1]}}</td>
|
||||
<td style="border:none;">{{\App\Item::find($item)->name}}</td>
|
||||
<td style="border:none;">{{\App\Item::find($item)->desc}}</td>
|
||||
</tr>
|
||||
@@ -76,7 +76,7 @@
|
||||
<table class="table float center" style="border:none; max-width:80%; margin:auto;">
|
||||
<thead>
|
||||
<tr style="border:none;">
|
||||
<th style="border:none;">ID</th>
|
||||
<th style="border:none;">Quantité</th>
|
||||
<th style="border:none;">Item</th>
|
||||
<th style="border:none;">Description</th>
|
||||
</tr>
|
||||
@@ -84,7 +84,7 @@
|
||||
<tbody>
|
||||
@foreach ($n1_p2_items as $item)
|
||||
<tr style="border:none;">
|
||||
<td style="border:none; width:10%">{{$item}}</td>
|
||||
<td style="border:none; width:10%">@php $quantity = explode(":",$item); @endphp {{$quantity[1]}}</td>
|
||||
<td style="border:none;">{{\App\Item::find($item)->name}}</td>
|
||||
<td style="border:none;">{{\App\Item::find($item)->desc}}</td>
|
||||
</tr>
|
||||
@@ -113,7 +113,7 @@
|
||||
<table class="table float center" style="border:none; max-width:80%; margin:auto;">
|
||||
<thead>
|
||||
<tr style="border:none;">
|
||||
<th style="border:none;">ID</th>
|
||||
<th style="border:none;">Quantité</th>
|
||||
<th style="border:none;">Item</th>
|
||||
<th style="border:none;">Description</th>
|
||||
</tr>
|
||||
@@ -121,7 +121,7 @@
|
||||
<tbody>
|
||||
@foreach ($n2_p1_items as $item)
|
||||
<tr style="border:none;">
|
||||
<td style="border:none; width:10%">{{$item}}</td>
|
||||
<td style="border:none; width:10%">@php $quantity = explode(":",$item); @endphp {{$quantity[1]}}</td>
|
||||
<td style="border:none;">{{\App\Item::find($item)->name}}</td>
|
||||
<td style="border:none;">{{\App\Item::find($item)->desc}}</td>
|
||||
</tr>
|
||||
@@ -147,7 +147,7 @@
|
||||
<table class="table float center" style="border:none; max-width:80%; margin:auto;">
|
||||
<thead>
|
||||
<tr style="border:none;">
|
||||
<th style="border:none;">ID</th>
|
||||
<th style="border:none;">Quantité</th>
|
||||
<th style="border:none;">Item</th>
|
||||
<th style="border:none;">Description</th>
|
||||
</tr>
|
||||
@@ -155,7 +155,7 @@
|
||||
<tbody>
|
||||
@foreach ($n2_p2_items as $item)
|
||||
<tr style="border:none;">
|
||||
<td style="border:none; width:10%">{{$item}}</td>
|
||||
<td style="border:none; width:10%">@php $quantity = explode(":",$item); @endphp {{$quantity[1]}}</td>
|
||||
<td style="border:none;">{{\App\Item::find($item)->name}}</td>
|
||||
<td style="border:none;">{{\App\Item::find($item)->desc}}</td>
|
||||
</tr>
|
||||
@@ -184,7 +184,7 @@
|
||||
<table class="table float center" style="border:none; max-width:80%; margin:auto;">
|
||||
<thead>
|
||||
<tr style="border:none;">
|
||||
<th style="border:none;">ID</th>
|
||||
<th style="border:none;">Quantité</th>
|
||||
<th style="border:none;">Item</th>
|
||||
<th style="border:none;">Description</th>
|
||||
</tr>
|
||||
@@ -192,7 +192,7 @@
|
||||
<tbody>
|
||||
@foreach ($n3_p1_items as $item)
|
||||
<tr style="border:none;">
|
||||
<td style="border:none; width:10%">{{$item}}</td>
|
||||
<td style="border:none; width:10%">@php $quantity = explode(":",$item); @endphp {{$quantity[1]}}</td>
|
||||
<td style="border:none;">{{\App\Item::find($item)->name}}</td>
|
||||
<td style="border:none;">{{\App\Item::find($item)->desc}}</td>
|
||||
</tr>
|
||||
@@ -218,7 +218,7 @@
|
||||
<table class="table float center" style="border:none; max-width:80%; margin:auto;">
|
||||
<thead>
|
||||
<tr style="border:none;">
|
||||
<th style="border:none;">ID</th>
|
||||
<th style="border:none;">Quantité</th>
|
||||
<th style="border:none;">Item</th>
|
||||
<th style="border:none;">Description</th>
|
||||
</tr>
|
||||
@@ -226,7 +226,7 @@
|
||||
<tbody>
|
||||
@foreach ($n3_p2_items as $item)
|
||||
<tr style="border:none;">
|
||||
<td style="border:none; width:10%">{{$item}}</td>
|
||||
<td style="border:none; width:10%">@php $quantity = explode(":",$item); @endphp {{$quantity[1]}}</td>
|
||||
<td style="border:none;">{{\App\Item::find($item)->name}}</td>
|
||||
<td style="border:none;">{{\App\Item::find($item)->desc}}</td>
|
||||
</tr>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<table id="log-data" class="table table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID </th>
|
||||
<th>Quantité</th>
|
||||
<th>Nom</th>
|
||||
<th>Description</th>
|
||||
<th></th>
|
||||
@@ -22,7 +22,7 @@
|
||||
<tbody>
|
||||
@foreach ($items as $item)
|
||||
<tr>
|
||||
<td style="width:5%;">{{$item->id}}</td>
|
||||
<td style="width:5%;">{{$item->quantity}}</td>
|
||||
<td>{{$item->name}}</td>
|
||||
<td>{{$item->desc}}</td>
|
||||
<td style="width: 12%;"><a href="/admin/item/edit/{{$item->id}}" type="button" class="btn btn-secondary"><i class="fa fa-cog"></i> Modifier</a><a type="button" class="btn btn-danger" onclick="deleteEvent({{$item->id}});"><i class="fa fa-times-circle" style="color:white;"></i></a></td>
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
<tr>
|
||||
<th>Nom</th>
|
||||
<th>Description</th>
|
||||
<th>Quantité</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -28,7 +29,8 @@
|
||||
<tr>
|
||||
<td>{{$item->name}}</td>
|
||||
<td>{{$item->desc}}</td>
|
||||
<td style="width: 12%;"><form action="/admin/inventory/remove/{{$schedule->id}}/{{$periode}}/{{$niveau}}" method="post">{{ csrf_field() }}<button type="submit" name="remove" value="{{$item->id}}" class="btn btn-danger"><i class="fa fa-arrow-right" style="color:white;"></i></button></form></td>
|
||||
<td>{{$item->quantity}}</td>
|
||||
<td style="width: 12%;"><form action="/admin/inventory/remove/{{$schedule->id}}/{{$periode}}/{{$niveau}}" method="post">{{ csrf_field() }}<button type="submit" name="remove" value="{{$item->id}}:{{$item->quantity}}" class="btn btn-danger"><i class="fa fa-arrow-right" style="color:white;"></i></button></form></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
@@ -47,15 +49,17 @@
|
||||
<th></th>
|
||||
<th>Nom</th>
|
||||
<th>Description</th>
|
||||
<th>Quantité</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($dispo_item as $item)
|
||||
@if ($item !== null)
|
||||
<tr>
|
||||
<td style="width: 12%;"><form action="/admin/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" style="color:white;"></i></button></form></td>
|
||||
<td style="width: 12%;"><form action="/admin/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" style="color:white;"></i></button></td>
|
||||
<td>{{$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}}"></div></form></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
Reference in New Issue
Block a user