mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on statements
This commit is contained in:
parent
2e9f912b0b
commit
446c30f37c
@ -148,47 +148,61 @@
|
|||||||
<p> </p>
|
<p> </p>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="well" style="background: #eeeeee">
|
<div class="well" style="background: #eeeeee; padding-bottom:30px;">
|
||||||
{!! Former::inline_open()->onchange('refreshData()') !!}
|
<div class="pull-left">
|
||||||
|
{!! Former::inline_open()->onchange('refreshData()') !!}
|
||||||
|
|
||||||
{{ trans('texts.status') }}
|
{{ trans('texts.status') }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{!! Former::select('status_id')
|
{!! Former::select('status_id')
|
||||||
->onchange('onStatusChange()')
|
->onchange('onStatusChange()')
|
||||||
->label('status')
|
->label('status')
|
||||||
->addOption(trans('texts.unpaid'), INVOICE_STATUS_UNPAID)
|
->addOption(trans('texts.unpaid'), INVOICE_STATUS_UNPAID)
|
||||||
->addOption(trans('texts.paid'), INVOICE_STATUS_PAID)
|
->addOption(trans('texts.paid'), INVOICE_STATUS_PAID)
|
||||||
->addOption(trans('texts.all'), 'false') !!}
|
->addOption(trans('texts.all'), 'false') !!}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{{ trans('texts.date_range') }}
|
{{ trans('texts.date_range') }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<span id="reportrange" style="background: #f9f9f9; cursor: pointer; padding: 9px 14px; border: 1px solid #dfe0e1; margin-top: 0px;">
|
<span id="reportrange" style="background: #f9f9f9; cursor: pointer; padding: 9px 14px; border: 1px solid #dfe0e1; margin-top: 0px;">
|
||||||
<i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
|
<i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
|
||||||
<span></span> <b class="caret"></b>
|
<span></span> <b class="caret"></b>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
<div style="display:none">
|
||||||
|
{!! Former::text('start_date') !!}
|
||||||
|
{!! Former::text('end_date') !!}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@if (empty($extends))
|
||||||
|
{!! Former::checkbox('show_payments')->text('show_payments') !!}
|
||||||
|
|
||||||
|
{!! Former::checkbox('show_aging')->text('show_aging') !!}
|
||||||
|
@else
|
||||||
|
{!! Former::checkbox('show_payments')->text('show_payments')->inline() !!}
|
||||||
|
|
||||||
|
{!! Former::checkbox('show_aging')->text('show_aging')->inline() !!}
|
||||||
|
@endif
|
||||||
|
|
||||||
|
{!! Former::close() !!}
|
||||||
|
|
||||||
<div style="display:none">
|
|
||||||
{!! Former::text('start_date') !!}
|
|
||||||
{!! Former::text('end_date') !!}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@if (! empty($extends))
|
||||||
|
<div class="pull-right">
|
||||||
{!! Former::checkbox('show_payments')
|
{!! Button::normal(trans('texts.download') . ' ')
|
||||||
->text('show_payments') !!}
|
->withAttributes(['onclick' => 'onDownloadClick()'])
|
||||||
|
->appendIcon(Icon::create('download-alt')) !!}
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
{!! Former::checkbox('show_aging')
|
|
||||||
->text('show_aging')!!}
|
|
||||||
|
|
||||||
{!! Former::close() !!}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@include('invoices.pdf', ['account' => Auth::user()->account])
|
@include('invoices.pdf', ['account' => Auth::user()->account])
|
||||||
|
@ -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())
|
||||||
|
{!! Button::primary(strtoupper(trans("texts.recurring")))->asLinkTo(URL::to('/client/invoices/recurring')) !!}
|
||||||
|
@endif
|
||||||
|
{!! Button::primary(strtoupper(trans("texts.view_statement")))->asLinkTo(URL::to('/client/statement')) !!}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user