source: resources/views/web/organizer/invoices/invoices.blade.php

Last change on this file was dfae77e, checked in by Igor Danilovski <igor_danilovski@…>, 2 years ago
  • Initial commit;
  • Property mode set to 100644
File size: 1.5 KB
Line 
1@extends('layouts.app')
2
3@section('content')
4 <div class="container">
5 <div class="row justify-content-center">
6 <div class="offer-container">
7 <h3 class="mb-3">My Invoices</h3>
8 <table class="table table-hover">
9 <thead>
10 <tr>
11 <th scope="col">#</th>
12 <th scope="col">Number</th>
13 <th scope="col">Status</th>
14 <th scope="col">Date</th>
15 <th scope="col">Price (USD)</th>
16 <th scope="col">Download</th>
17 </tr>
18 </thead>
19 <tbody>
20 @foreach ($invoices as $invoice)
21 <tr>
22 <td>{{ $loop->index+1 }}</td>
23 <td>{{ $invoice->number }}</td>
24 <td>{{ $invoice->status }}</td>
25 <td>{{ $invoice->date()->toFormattedDateString() }}</td>
26 <td>{{ $invoice->total() }}</td>
27 <td>
28 <a href="/invoices/{{ $invoice->id }}">
29 <button type="button" class="btn btn-primary">Download</button>
30 </a>
31 </td>
32 </tr>
33 @endforeach
34 </tbody>
35 </table>
36 </div>
37 </div>
38 </div>
39@endsection
Note: See TracBrowser for help on using the repository browser.