@extends('header') @section('head') @parent @stop @section('content') @parent @include('accounts.nav', ['selected' => ACCOUNT_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::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()->hasFeature(FEATURE_REPORTS)) @endif
{{ trans("texts.{$column}") }} | @endforeach|||||||||
---|---|---|---|---|---|---|---|---|---|
{!! $field !!} | @endforeach|||||||||
{{ trans('texts.empty_table') }} |
@if (count(array_values($reportTotals)))
{{ trans("texts.totals") }} | @foreach (array_values($reportTotals)[0] as $key => $val){{ trans("texts.{$key}") }} | @endforeach
---|---|
{!! Utils::getFromCache($currencyId, 'currencies')->name !!} | @foreach ($val as $id => $field){!! Utils::formatMoney($field, $currencyId) !!} | @endforeach