@extends(! empty($extends) ? $extends : 'header') @section('head') @parent @include('money_script') @foreach ($account->getFontFolders() as $font) @endforeach @stop @section('content') @if (empty($extends))
{!! Button::normal(trans('texts.download')) ->withAttributes(['onclick' => 'onDownloadClick()']) ->appendIcon(Icon::create('download-alt')) !!} {!! Button::primary(trans('texts.view_client')) ->asLinkTo($client->present()->url) !!}

 

 

@endif
{!! Former::inline_open()->onchange('refreshData()') !!} {{ trans('texts.status') }}    {!! Former::select('status_id') ->label('status') ->addOption(trans('texts.all'), 'false') ->addOption(trans('texts.unpaid'), INVOICE_STATUS_UNPAID) ->addOption(trans('texts.paid'), INVOICE_STATUS_PAID) !!}      {{ trans('texts.date_range') }}     
{!! Former::text('start_date') !!} {!! Former::text('end_date') !!}
     @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() !!}
@if (! empty($extends))
{!! Button::normal(trans('texts.download') . '   ') ->withAttributes(['onclick' => 'onDownloadClick()']) ->appendIcon(Icon::create('download-alt')) !!}
@endif  
@include('invoices.pdf', ['account' => $account]) @stop