@extends('header') @section('head') @parent @stop @section('content') @parent @include('accounts.nav', ['selected' => ACCOUNT_CHARTS_AND_REPORTS, 'advanced' => true]) {!! Former::open()->rules(['start_date' => 'required', 'end_date' => 'required'])->addClass('warn-on-exit') !!}
{!! Former::populateField('start_date', $startDate) !!} {!! Former::populateField('end_date', $endDate) !!} {!! Former::populateField('enable_report', intval($enableReport)) !!} {!! Former::populateField('enable_chart', intval($enableChart)) !!}{!! Former::actions( Button::primary(trans('texts.export'))->withAttributes(array('onclick' => 'onExportClick()'))->appendIcon(Icon::create('export')), Button::success(trans('texts.run'))->withAttributes(array('id' => 'submitButton'))->submit()->appendIcon(Icon::create('play')) ) !!} @if (!Auth::user()->isPro()) @endif
{!! Former::checkbox('enable_chart')->text(trans('texts.enable')) !!} {!! Former::select('group_by')->options($dateTypes, $groupBy) !!} {!! Former::select('chart_type')->options($chartTypes, $chartType) !!} {!! Former::close() !!}
{{ trans("texts.{$column}") }} | @endforeach||||||
---|---|---|---|---|---|---|
{!! $field !!} | @endforeach||||||
{{ trans('texts.totals') }} | @if ($reportType != ENTITY_CLIENT)@endif |
@foreach ($reportTotals['amount'] as $currencyId => $total)
{{ Utils::formatMoney($total, $currencyId) }} @endforeach |
@if ($reportType == ENTITY_PAYMENT)
@endif |
@foreach ($reportTotals['paid'] as $currencyId => $total)
{{ Utils::formatMoney($total, $currencyId) }} @endforeach |
@if ($reportType != ENTITY_PAYMENT)
@foreach ($reportTotals['balance'] as $currencyId => $total)
{{ Utils::formatMoney($total, $currencyId) }} @endforeach |
@endif