@extends('header')
@section('head')
@parent
@include('money_script')
@foreach (Auth::user()->account->getFontFolders() as $font)
@endforeach
@stop
@section('content')
{!! Button::normal(trans('texts.download'))
->withAttributes(['onclick' => 'onDownloadClick()'])
->appendIcon(Icon::create('download-alt')) !!}
{!! Button::primary(trans('texts.view_client'))
->asLinkTo($client->present()->url) !!}
- {{ link_to('/clients', trans('texts.clients')) }}
- {{ $client->getDisplayName() }}
{!! Former::inline_open()->onchange('refreshData()') !!}
{{ trans('texts.status') }}
{!! Former::select('status_id')
->onchange('onStatusChange()')
->label('status')
->addOption(trans('texts.unpaid'), INVOICE_STATUS_UNPAID)
->addOption(trans('texts.paid'), INVOICE_STATUS_PAID)
->addOption(trans('texts.all'), 'false') !!}
{{ trans('texts.date_range') }}
{!! Former::text('start_date') !!}
{!! Former::text('end_date') !!}
{!! Former::checkbox('show_payments')
->text('show_payments') !!}
{!! Former::checkbox('show_aging')
->text('show_aging')!!}
{!! Former::close() !!}
@include('invoices.pdf', ['account' => Auth::user()->account, 'pdfHeight' => 800])
@stop