Add account next invoice
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
<th>Service</th>
|
||||
<th>Description</th>
|
||||
<th class="text-right">Total</th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -42,7 +43,8 @@
|
||||
<td>{{ $o->account->name }}</td>
|
||||
<td><a href="{{ url('u/service',$o->service_id) }}">{{ $o->service->name_short }}</a></td>
|
||||
<td>{{ $o->description }}</td>
|
||||
<td class="text-right">{{ number_format($o->quantity*$o->amount,2) }}</td>
|
||||
<td class="text-right">{{ number_format($o->total,2) }}</td>
|
||||
<td><a class="charge_delete text-dark" data-id="{{ $o->id }}" href="{{ url('/r/charge/delete',$o->id) }}"><i class="fas fa-fw fa-ban"></i></a></td>
|
||||
</tr>
|
||||
@empty
|
||||
<tr>
|
||||
@@ -55,18 +57,21 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<x-leenooks::modal.delete hide="row" trigger="charge_delete"/>
|
||||
@endsection
|
||||
|
||||
@section('page-styles')
|
||||
@css(datatables,bootstrap4)
|
||||
@append
|
||||
@section('page-scripts')
|
||||
@js(datatables,bootstrap4)
|
||||
@pa(datatables,rowgroup|conditionalpaging)
|
||||
|
||||
@section('page-scripts')
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('#unprocessed_charges').DataTable( {
|
||||
order: [1,'desc'],
|
||||
$('#unprocessed_charges').DataTable({
|
||||
conditionalPaging: true,
|
||||
order: [[3,'desc'],[1,'desc']],
|
||||
rowGroup: {
|
||||
dataSrc: [3],
|
||||
},
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user