my changes
This commit is contained in:
parent
28301e4312
commit
8dc1f1b048
263 changed files with 36882 additions and 4453 deletions
40
resources/views/rdr/borrow/histori.blade.php
Normal file
40
resources/views/rdr/borrow/histori.blade.php
Normal file
|
@ -0,0 +1,40 @@
|
|||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<h1 class="title">Histori</h1>
|
||||
|
||||
<div class="col-md-8">
|
||||
|
||||
<table class="table table-striped table-bordered">
|
||||
|
||||
<thead>
|
||||
|
||||
<th>Student</th>
|
||||
<th>Book</th>
|
||||
<th>Borrowed At</th>
|
||||
<th>Returned At</th>
|
||||
<th>Fines</th>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
@foreach($transactions as $transaction)
|
||||
|
||||
<tr>
|
||||
<td>{{ $transaction->student->last_name }}</td>
|
||||
<td>{{ $transaction->book->title }}</td>
|
||||
<td>{{ date('d-M-y', $transaction->borrowed_at) }}</td>
|
||||
<td>{{ date('d-M-y', $transaction->returned_at) }}</td>
|
||||
<td>{{ $transaction->fines }}</td>
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
@stop
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue