@extends('header')
@section('head')
@parent
@include('money_script')
@foreach (Auth::user()->account->getFontFolders() as $font)
@endforeach
@stop
@section('content')
{!! Button::normal(trans('texts.download_pdf'))
->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() !!}
{{ 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::close() !!}
@include('invoices.pdf', ['account' => Auth::user()->account, 'pdfHeight' => 800])
@stop