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-05-12 14:25:21 +02:00
|
|
|
<h1 class="page-header">
|
|
|
|
|
@yield('title')
|
|
|
|
|
<a class="btn btn-default" href="{{ $U('/quantityunit/new') }}" role="button">
|
|
|
|
|
<i class="fa fa-plus"></i> {{ $L('Add') }}
|
|
|
|
|
</a>
|
|
|
|
|
</h1>
|
2017-04-19 21:09:28 +02:00
|
|
|
|
2018-07-09 19:27:22 +02:00
|
|
|
<div class="container-fluid">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-3 no-gutters">
|
|
|
|
|
<label for="search">{{ $L('Search') }}</label>
|
|
|
|
|
<input type="text" class="form-control" id="search">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2018-05-12 14:25:21 +02:00
|
|
|
<div class="table-responsive">
|
|
|
|
|
<table id="quantityunits-table" class="table table-striped">
|
|
|
|
|
<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" href="{{ $U('/quantityunit/') }}{{ $quantityunit->id }}" role="button">
|
|
|
|
|
<i class="fa fa-pencil"></i>
|
|
|
|
|
</a>
|
|
|
|
|
<a class="btn btn-danger quantityunit-delete-button" href="#" role="button" data-quantityunit-id="{{ $quantityunit->id }}" data-quantityunit-name="{{ $quantityunit->name }}">
|
|
|
|
|
<i class="fa fa-trash"></i>
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
{{ $quantityunit->name }}
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
{{ $quantityunit->description }}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
@endforeach
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2017-04-15 23:16:20 +02:00
|
|
|
</div>
|
2018-04-11 19:49:35 +02:00
|
|
|
@stop
|