2018-04-11 19:49:35 +02:00
|
|
|
@extends('layout.default')
|
|
|
|
|
2018-04-16 19:11:32 +02:00
|
|
|
@section('title', $L('Quantity units'))
|
2018-04-12 21:13:38 +02:00
|
|
|
@section('activeNav', 'quantityunits')
|
|
|
|
@section('viewJsName', 'quantityunits')
|
|
|
|
|
2018-04-11 19:49:35 +02:00
|
|
|
@section('content')
|
2018-07-10 20:37:13 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
<h1>
|
|
|
|
@yield('title')
|
|
|
|
<a class="btn btn-outline-dark" href="{{ $U('/quantityunit/new') }}">
|
2018-07-11 19:43:05 +02:00
|
|
|
<i class="fas fa-plus"></i> {{ $L('Add') }}
|
2018-07-10 20:37:13 +02:00
|
|
|
</a>
|
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-04-19 21:09:28 +02:00
|
|
|
|
2018-07-10 20:37:13 +02:00
|
|
|
<div class="row mt-3">
|
2018-07-11 19:43:05 +02:00
|
|
|
<div class="col-xs-12 col-md-6 col-xl-3">
|
2018-07-13 21:10:58 +02:00
|
|
|
<label for="search">{{ $L('Search') }}</label> <i class="fas fa-search"></i>
|
2018-07-10 20:37:13 +02:00
|
|
|
<input type="text" class="form-control" id="search">
|
2018-07-09 19:27:22 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-07-10 20:37:13 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
<table id="quantityunits-table" class="table table-sm table-striped dt-responsive">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
|
|
|
<th>{{ $L('Name') }}</th>
|
|
|
|
<th>{{ $L('Description') }}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
@foreach($quantityunits as $quantityunit)
|
|
|
|
<tr>
|
|
|
|
<td class="fit-content">
|
|
|
|
<a class="btn btn-info btn-sm" href="{{ $U('/quantityunit/') }}{{ $quantityunit->id }}">
|
2018-07-11 19:43:05 +02:00
|
|
|
<i class="fas fa-edit"></i>
|
2018-07-10 20:37:13 +02:00
|
|
|
</a>
|
|
|
|
<a class="btn btn-danger btn-sm quantityunit-delete-button" href="#" data-quantityunit-id="{{ $quantityunit->id }}" data-quantityunit-name="{{ $quantityunit->name }}">
|
2018-07-11 19:43:05 +02:00
|
|
|
<i class="fas fa-trash"></i>
|
2018-07-10 20:37:13 +02:00
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ $quantityunit->name }}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ $quantityunit->description }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2017-04-15 23:16:20 +02:00
|
|
|
</div>
|
2018-04-11 19:49:35 +02:00
|
|
|
@stop
|