Forgotten style for customer invoice

This commit is contained in:
Batuhan Baş 2019-02-13 13:16:48 +03:00
parent e3207d647e
commit c073248ec5

View File

@ -116,18 +116,18 @@
@if($total->code != 'total') @if($total->code != 'total')
<tr> <tr>
<th>{{ trans($total['name']) }}:</th> <th>{{ trans($total['name']) }}:</th>
<td class="text-right">@money($total->amount, $invoice->currency_code, true)</td> <td class="style-price text-right">@money($total->amount, $invoice->currency_code, true)</td>
</tr> </tr>
@else @else
@if ($invoice->paid) @if ($invoice->paid)
<tr class="text-success"> <tr class="text-success">
<th>{{ trans('invoices.paid') }}:</th> <th>{{ trans('invoices.paid') }}:</th>
<td class="text-right">- @money($invoice->paid, $invoice->currency_code, true)</td> <td class="style-price text-right">- @money($invoice->paid, $invoice->currency_code, true)</td>
</tr> </tr>
@endif @endif
<tr> <tr>
<th>{{ trans($total['name']) }}:</th> <th>{{ trans($total['name']) }}:</th>
<td class="text-right">@money($total->amount - $invoice->paid, $invoice->currency_code, true)</td> <td class="style-price text-right">@money($total->amount - $invoice->paid, $invoice->currency_code, true)</td>
</tr> </tr>
@endif @endif
@endforeach @endforeach
@ -138,3 +138,14 @@
</div> </div>
</section> </section>
@endsection @endsection
@if (isset($currency_style) && $currency_style)
@push('stylesheet')
<style type="text/css">
.style-price {
font-family: sans-serif;
font-size: 15px;
}
</style>
@endpush
@endif