diff --git a/resources/views/clients/statement.blade.php b/resources/views/clients/statement.blade.php index 48c6664b7abd..797c5389b0b7 100644 --- a/resources/views/clients/statement.blade.php +++ b/resources/views/clients/statement.blade.php @@ -148,47 +148,61 @@

 

@endif -
- {!! Former::inline_open()->onchange('refreshData()') !!} +
+
+ {!! Former::inline_open()->onchange('refreshData()') !!} - {{ trans('texts.status') }} + {{ 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') !!} + {!! 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') }} + {{ 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() !!} -
- {!! Former::text('start_date') !!} - {!! Former::text('end_date') !!}
-      - - {!! Former::checkbox('show_payments') - ->text('show_payments') !!} - -      - - {!! Former::checkbox('show_aging') - ->text('show_aging')!!} - - {!! Former::close() !!} + @if (! empty($extends)) +
+ {!! Button::normal(trans('texts.download') . '   ') + ->withAttributes(['onclick' => 'onDownloadClick()']) + ->appendIcon(Icon::create('download-alt')) !!} +
+ @endif +  
@include('invoices.pdf', ['account' => Auth::user()->account]) diff --git a/resources/views/invited/dashboard.blade.php b/resources/views/invited/dashboard.blade.php index 3a3aa56d8414..8c13519bb063 100644 --- a/resources/views/invited/dashboard.blade.php +++ b/resources/views/invited/dashboard.blade.php @@ -352,10 +352,11 @@
@endif
- @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']) !!} + @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')) !!}