🚀 Update invoiceIndex.blade.php update table ui .main #33

pull/36/head
YasinDehfuli 1 year ago
parent 8d1c0e3c37
commit 97023c7431

@ -22,11 +22,11 @@
</div> </div>
<form action="{{route('admin.invoice.bulk')}}" method="post" class="bulk-action"> <form action="{{route('admin.invoice.bulk')}}" method="post" class="bulk-action">
@csrf @csrf
<table class="table table-striped table-bordered "> <table class="table table-striped table-bordered text-center">
<thead class="thead-dark"> <thead class="thead-dark">
<tr> <tr>
<th> <th>
<input type="checkbox" class="chkall"/> #
</th> </th>
<th> <th>
{{__("Customer")}} {{__("Customer")}}
@ -51,13 +51,16 @@
{{-- <a href="{{route('admin.invoice.create')}}" class="btn btn-success float-start"><i--}} {{-- <a href="{{route('admin.invoice.create')}}" class="btn btn-success float-start"><i--}}
{{-- class="fa fa-plus"></i></a>--}} {{-- class="fa fa-plus"></i></a>--}}
</th> </th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@foreach ($invoices as $invoice) @foreach ($invoices as $invoice)
<tr> <tr>
<td> <td>
<input type="checkbox" name="id[]" value="{{$invoice->id}}" class="m-2 chkbox"/> {{$invoice->id}}
</td> </td>
<td> <td>
{{$invoice->customer->name}} {{$invoice->customer->name}}
@ -86,22 +89,24 @@
</td> </td>
<td> <td>
<a href="{{route('admin.invoice.edit',$invoice->hash)}}" class="btn btn-primary"> <a href="{{route('admin.invoice.edit',$invoice->hash)}}" class="btn btn-primary">
<i class="fa fa-edit"></i> <i class="ri-edit-2-line"></i>
</a> </a>
<a href="{{route('admin.invoice.delete',$invoice->hash)}}" <a href="{{route('admin.invoice.delete',$invoice->hash)}}"
class="btn btn-danger delete-confirm"> class="btn btn-danger delete-confirm">
<i class="fa fa-times"></i> <i class="ri-close-line"></i>
</a> </a>
<a href="{{route('admin.invoice.show',$invoice->hash)}}" <a href="{{route('admin.invoice.show',$invoice->hash)}}"
class="btn btn-secondary"> class="btn btn-secondary">
<i class="fa fa-eye"></i> <i class="ri-eye-fill"></i>
</a> </a>
<a href="{{route('invoice.pdf',$invoice->hash)}}" <a href="{{route('invoice.pdf',$invoice->hash)}}"
class="btn btn-dark" target="_blank"> class="btn btn-dark" target="_blank">
<i class="fa fa-file-pdf"></i> <i class="ri-file-pdf-2-fill"></i>
</a> </a>
</td> </td>
<td>
<input type="checkbox" name="id[]" value="{{$invoice->id}}" class="m-2 chkbox"/>
</td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>

Loading…
Cancel
Save