|
|
@ -3,6 +3,7 @@ |
|
|
@section('title', trans('unit.list')) |
|
|
@section('title', trans('unit.list')) |
|
|
|
|
|
|
|
|
@section('content') |
|
|
@section('content') |
|
|
|
|
|
<h3 class="page-header">{{ trans('unit.list') }}</h3> |
|
|
|
|
|
|
|
|
<div class="row"> |
|
|
<div class="row"> |
|
|
<div class="col-md-8"> |
|
|
<div class="col-md-8"> |
|
|
@ -12,6 +13,7 @@ |
|
|
<tr> |
|
|
<tr> |
|
|
<th class="text-center">{{ trans('app.table_no') }}</th> |
|
|
<th class="text-center">{{ trans('app.table_no') }}</th> |
|
|
<th>{{ trans('unit.name') }}</th> |
|
|
<th>{{ trans('unit.name') }}</th> |
|
|
|
|
|
<th class="text-center">{{ trans('unit.products_count') }}</th> |
|
|
<th class="text-center">{{ trans('app.action') }}</th> |
|
|
<th class="text-center">{{ trans('app.action') }}</th> |
|
|
</tr> |
|
|
</tr> |
|
|
</thead> |
|
|
</thead> |
|
|
@ -20,6 +22,7 @@ |
|
|
<tr> |
|
|
<tr> |
|
|
<td class="text-center">{{ 1 + $key }}</td> |
|
|
<td class="text-center">{{ 1 + $key }}</td> |
|
|
<td>{{ $unit->name }}</td> |
|
|
<td>{{ $unit->name }}</td> |
|
|
|
|
|
<td class="text-center">{{ $unit->products_count }}</td> |
|
|
<td class="text-center"> |
|
|
<td class="text-center"> |
|
|
{!! link_to_route('units.index', trans('app.edit'), ['action' => 'edit', 'id' => $unit->id], ['id' => 'edit-unit-' . $unit->id]) !!} | |
|
|
{!! link_to_route('units.index', trans('app.edit'), ['action' => 'edit', 'id' => $unit->id], ['id' => 'edit-unit-' . $unit->id]) !!} | |
|
|
{!! link_to_route('units.index', trans('app.delete'), ['action' => 'delete', 'id' => $unit->id], ['id' => 'del-unit-' . $unit->id]) !!} |
|
|
{!! link_to_route('units.index', trans('app.delete'), ['action' => 'delete', 'id' => $unit->id], ['id' => 'del-unit-' . $unit->id]) !!} |
|
|
|