Some invoice layout fixes, start on traffic collection, update console command service:list

This commit is contained in:
Deon George
2020-05-27 16:09:03 +10:00
parent dd1460463f
commit 86861a6daf
5 changed files with 211 additions and 17 deletions

View File

@@ -19,7 +19,7 @@
<div class="col-12">
<h4>
<i class="fa fa-globe"></i> {{ $so->site_name }}
<small class="pull-right">Date: {{ $o->invoice_date}}</small>
<small class="float-right">Date: {{ $o->invoice_date}}</small>
</h4>
</div>
<!-- /.col -->
@@ -50,10 +50,8 @@
@endif
</address>
</div>
{{-- col-sm-offset-2 not working here --}}
<div class="col-1"></div>
<div class="col-3 invoice-col">
<div class="ml-auto col-3">
<table class="table table-borderless text-right" style="font-size: 1.1rem;">
<tr >
<td class="p-0">Account:</td><td class="p-0"><strong>{{ $o->account->account_id }}</strong></td>
@@ -131,12 +129,12 @@
--}}
<p class="text-muted well well-sm no-shadow" style="margin-top: 10px;">
{{ $o->invoice_text }}
{!! $o->invoice_text !!}
</p>
</div>
<!-- /.col -->
<div class="offset-2 col-4 table-responsive">
<div class="ml-auto col-4">
<table class="table">
<tr>
<th colspan="2" style="width:50%">Subtotal:</th>
@@ -184,8 +182,8 @@
<div class="col-12">
<a href="javascript:window.print();" class="btn btn-default"><i class="fa fa-print"></i> Print</a>
@if($o->id)
<button type="button" class="btn btn-success pull-right"><i class="fa fa-credit-card"></i> Submit Payment</button>
<a href="{{ url(sprintf('u/invoice/%s/pdf',$o->id)) }}" class="btn btn-primary pull-right" style="margin-right: 5px;">
<button type="button" class="btn btn-success float-right"><i class="fa fa-credit-card"></i> Submit Payment</button>
<a href="{{ url(sprintf('u/invoice/%s/pdf',$o->id)) }}" class="btn btn-primary float-right" style="margin-right: 5px;">
<i class="fa fa-download"></i> Download PDF
</a>
@endif