Working on statements

This commit is contained in:
Hillel Coren 2018-04-30 20:42:53 +03:00
parent 2e9f912b0b
commit 446c30f37c
2 changed files with 49 additions and 34 deletions

View File

@ -148,7 +148,8 @@
<p>&nbsp;</p> <p>&nbsp;</p>
@endif @endif
<div class="well" style="background: #eeeeee"> <div class="well" style="background: #eeeeee; padding-bottom:30px;">
<div class="pull-left">
{!! Former::inline_open()->onchange('refreshData()') !!} {!! Former::inline_open()->onchange('refreshData()') !!}
{{ trans('texts.status') }} {{ trans('texts.status') }}
@ -180,15 +181,28 @@
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
{!! Former::checkbox('show_payments') @if (empty($extends))
->text('show_payments') !!} {!! Former::checkbox('show_payments')->text('show_payments') !!}
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
{!! Former::checkbox('show_aging')->text('show_aging') !!}
{!! Former::checkbox('show_aging') @else
->text('show_aging')!!} {!! Former::checkbox('show_payments')->text('show_payments')->inline() !!}
&nbsp;&nbsp;&nbsp;&nbsp;
{!! Former::checkbox('show_aging')->text('show_aging')->inline() !!}
@endif
{!! Former::close() !!} {!! Former::close() !!}
</div>
@if (! empty($extends))
<div class="pull-right">
{!! Button::normal(trans('texts.download') . ' &nbsp; ')
->withAttributes(['onclick' => 'onDownloadClick()'])
->appendIcon(Icon::create('download-alt')) !!}
</div>
@endif
&nbsp;
</div> </div>
@include('invoices.pdf', ['account' => Auth::user()->account]) @include('invoices.pdf', ['account' => Auth::user()->account])

View File

@ -352,10 +352,11 @@
</div> </div>
@endif @endif
<div class="pull-right"> <div class="pull-right">
@if ($client->hasRecurringInvoices())
{!! Button::primary(strtoupper(trans("texts.recurring")))->asLinkTo(URL::to('/client/invoices/recurring')) !!}
@endif
{!! Button::success(strtoupper(trans("texts.edit_details")))->asLinkTo(URL::to('/client/details'))->withAttributes(['id' => 'editDetailsButton']) !!} {!! Button::success(strtoupper(trans("texts.edit_details")))->asLinkTo(URL::to('/client/details'))->withAttributes(['id' => 'editDetailsButton']) !!}
@if ($client->hasRecurringInvoices())
&nbsp; {!! Button::primary(strtoupper(trans("texts.recurring")))->asLinkTo(URL::to('/client/invoices/recurring')) !!}
@endif
&nbsp; {!! Button::primary(strtoupper(trans("texts.view_statement")))->asLinkTo(URL::to('/client/statement')) !!}
</div> </div>
</div> </div>
</div> </div>