ldc-jeusselin/resources/views/bo/cotations/index.blade.php

37 lines
1.2 KiB
PHP

@extends('layouts.bo')
@section('content')
<div class="card">
<div class="card-header">
Cotations
<a href="{{route('bo.cotations.create')}}" class="btn btn-sm btn-primary float-end">Ajouter</a>
</div>
<div class="card-body">
<table class="table">
<thead class="table-dark">
<tr>
<th scope="col">Fichier</th>
<th scope="col">Publié?</th>
<th scope="col">Date d'ajout</th>
<th scope="col">Date de modification</th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
@foreach($cotations as $cotation)
<tr>
<th>{{$cotation->file_path}}</th>
<td>{{$cotation->is_published}}</td>
<td>{{$cotation->created_at}}</td>
<td>{{$cotation->updated_at}}</td>
<td>
{{-- <a href="{{ route('bo.cotation.edit', ['cotation' => $cotation->id]) }}" class="btn btn-sm btn-primary">Éditer</a> --}}
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
@endsection