.
This commit is contained in:
42
resources/views/configuration/companies.blade.php
Normal file
42
resources/views/configuration/companies.blade.php
Normal file
@@ -0,0 +1,42 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
@if (\Session::has('success'))
|
||||
<div class="alert alert-success">
|
||||
<p>{{ \Session::get('success') }}</p>
|
||||
</div><br />
|
||||
@endif
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-2">
|
||||
@include('configuration.nav')
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
<div class="card">
|
||||
<div class="card-header">Firmy <small class="float-right"><a href="{{ route('company-edit', 0) }}" class="btn btn-primary btn-sm">Nový záznam</a></small></div>
|
||||
|
||||
<div class="card-body">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th colspan="1">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($companies as $company)
|
||||
<tr>
|
||||
<td>{{ $company->id }}</td>
|
||||
<td>{{ $company->name }}</td>
|
||||
<td><a href="{{route('company-edit', $company->id)}}" class="btn btn-warning">Editovat</a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user