new page alignment updated

This commit is contained in:
batuhanbas 2020-01-27 10:47:56 +03:00
parent bb12d411df
commit 6e339da3c8
3 changed files with 22 additions and 22 deletions

View File

@ -187,27 +187,27 @@
</div> </div>
</div> </div>
<div class="col-42"> <div class="col-42 float-right text-right">
<div class="text company pr-2"> <div class="text company pr-2">
@foreach ($invoice->totals as $total) @foreach ($invoice->totals as $total)
@if ($total->code != 'total') @if ($total->code != 'total')
@stack($total->code . '_td_start') @stack($total->code . '_td_start')
<div class="border-top-dashed py-2"> <div class="border-top-dashed py-2">
<strong>{{ trans($total->title) }}:</strong> <strong class="float-left">{{ trans($total->title) }}:</strong>
<span class="float-right">@money($total->amount, $invoice->currency_code, true)</span> <span>@money($total->amount, $invoice->currency_code, true)</span>
</div> </div>
@stack($total->code . '_td_end') @stack($total->code . '_td_end')
@else @else
@if ($invoice->paid) @if ($invoice->paid)
<div class="border-top-dashed py-2"> <div class="border-top-dashed py-2">
<strong>{{ trans('invoices.paid') }}:</strong> <strong class="float-left">{{ trans('invoices.paid') }}:</strong>
<span class="float-right">- @money($invoice->paid, $invoice->currency_code, true)</span> <span>- @money($invoice->paid, $invoice->currency_code, true)</span>
</div> </div>
@endif @endif
@stack('grand_total_td_start') @stack('grand_total_td_start')
<div class="border-top-dashed py-2"> <div class="border-top-dashed py-2">
<strong>{{ trans($total->name) }}:</strong> <strong class="float-left">{{ trans($total->name) }}:</strong>
<span class="float-right">@money($total->amount - $invoice->paid, $invoice->currency_code, true)</span> <span>@money($total->amount - $invoice->paid, $invoice->currency_code, true)</span>
</div> </div>
@stack('grand_total_td_end') @stack('grand_total_td_end')
@endif @endif

View File

@ -175,27 +175,27 @@
</div> </div>
</div> </div>
<div class="col-42"> <div class="col-42 float-right text-right">
<div class="text company pr-2"> <div class="text company">
@foreach ($invoice->totals as $total) @foreach ($invoice->totals as $total)
@if ($total->code != 'total') @if ($total->code != 'total')
@stack($total->code . '_td_start') @stack($total->code . '_td_start')
<div class="border-top-1 py-2"> <div class="border-top-1 py-2">
<strong>{{ trans($total->title) }}:</strong> <strong class="float-left">{{ trans($total->title) }}:</strong>
<span class="float-right">@money($total->amount, $invoice->currency_code, true)</span><br><br> <span>@money($total->amount, $invoice->currency_code, true)</span><br><br>
</div> </div>
@stack($total->code . '_td_end') @stack($total->code . '_td_end')
@else @else
@if ($invoice->paid) @if ($invoice->paid)
<div class="border-top-1 py-2"> <div class="border-top-1 py-2">
<strong>{{ trans('invoices.paid') }}:</strong> <strong class="float-left">{{ trans('invoices.paid') }}:</strong>
<span class="float-right">- @money($invoice->paid, $invoice->currency_code, true)</span><br><br> <span>- @money($invoice->paid, $invoice->currency_code, true)</span><br><br>
</div> </div>
@endif @endif
@stack('grand_total_td_start') @stack('grand_total_td_start')
<div class="border-top-1 py-2"> <div class="border-top-1 py-2">
<strong>{{ trans($total->name) }}:</strong> <strong class="float-left">{{ trans($total->name) }}:</strong>
<span class="float-right">@money($total->amount - $invoice->paid, $invoice->currency_code, true)</span> <span>@money($total->amount - $invoice->paid, $invoice->currency_code, true)</span>
</div> </div>
@stack('grand_total_td_end') @stack('grand_total_td_end')
@endif @endif

View File

@ -157,22 +157,22 @@
</div> </div>
</div> </div>
<div class="col-42"> <div class="col-42 float-right text-right">
<div class="text company pr-2"> <div class="text company pr-2">
@foreach ($invoice->totals as $total) @foreach ($invoice->totals as $total)
@if ($total->code != 'total') @if ($total->code != 'total')
@stack($total->code . '_td_start') @stack($total->code . '_td_start')
<strong>{{ trans($total->title) }}:</strong> <strong class="float-left">{{ trans($total->title) }}:</strong>
<span class="float-right">@money($total->amount, $invoice->currency_code, true)</span><br><br> <span>@money($total->amount, $invoice->currency_code, true)</span><br><br>
@stack($total->code . '_td_end') @stack($total->code . '_td_end')
@else @else
@if ($invoice->paid) @if ($invoice->paid)
<strong>{{ trans('invoices.paid') }}:</strong> <strong class="float-left">{{ trans('invoices.paid') }}:</strong>
<span class="float-right">- @money($invoice->paid, $invoice->currency_code, true)</span><br><br> <span>- @money($invoice->paid, $invoice->currency_code, true)</span><br><br>
@endif @endif
@stack('grand_total_td_start') @stack('grand_total_td_start')
<strong>{{ trans($total->name) }}:</strong> <strong class="float-left">{{ trans($total->name) }}:</strong>
<span class="float-right">@money($total->amount - $invoice->paid, $invoice->currency_code, true)</span> <span>@money($total->amount - $invoice->paid, $invoice->currency_code, true)</span>
@stack('grand_total_td_end') @stack('grand_total_td_end')
@endif @endif
@endforeach @endforeach