From 20285f9ae0b5fbdf24d448b324f5b09262c33238 Mon Sep 17 00:00:00 2001 From: Gilbert Paquin Date: Wed, 2 Aug 2017 11:14:14 -0400 Subject: [PATCH] Fix indent --- .../views/reports/chart_builder.blade.php | 536 +++++++++--------- 1 file changed, 268 insertions(+), 268 deletions(-) diff --git a/resources/views/reports/chart_builder.blade.php b/resources/views/reports/chart_builder.blade.php index 438d06314c5c..1cc1450d0826 100644 --- a/resources/views/reports/chart_builder.blade.php +++ b/resources/views/reports/chart_builder.blade.php @@ -1,7 +1,7 @@ @extends('header') @section('head') - @parent + @parent @@ -9,42 +9,42 @@ - + @stop @section('content') - @if (!Utils::isPro()) -
-
- {!! trans('texts.pro_plan_reports', ['link'=>'' . trans('texts.pro_plan_remove_logo_link') . '']) !!} -
-
- @endif + @if (!Utils::isPro()) +
+
+ {!! trans('texts.pro_plan_reports', ['link'=>'' . trans('texts.pro_plan_remove_logo_link') . '']) !!} +
+
+ @endif - @endif + {!! Former::checkbox('group_when_sorted')->text('enable') !!} + {!! Former::select('group_dates_by') + ->addOption(trans('texts.day'), 'day') + ->addOption(trans('texts.month'), 'monthyear') + ->addOption(trans('texts.year'), 'year') !!} + + + + + + + @if (!Auth::user()->hasFeature(FEATURE_REPORTS)) + + @endif -
- {!! Former::select('format') - ->label(trans('texts.format_export')) - ->options(['csv' => 'CSV', 'pdf' => 'PDF', 'xlsx' => 'Excel']) !!} - {!! Button::primary(trans('texts.export')) - ->withAttributes(array('onclick' => 'onExportClick()')) - ->appendIcon(Icon::create('export')) - ->large() !!} - {!! Button::success(trans('texts.run')) - ->withAttributes(array('id' => 'submitButton')) - ->submit() - ->appendIcon(Icon::create('play')) - ->large() !!} -

+
+ {!! Former::select('format') + ->label(trans('texts.format_export')) + ->options(['csv' => 'CSV', 'pdf' => 'PDF', 'xlsx' => 'Excel']) !!} + {!! Button::primary(trans('texts.export')) + ->withAttributes(array('onclick' => 'onExportClick()')) + ->appendIcon(Icon::create('export')) + ->large() !!} + {!! Button::success(trans('texts.run')) + ->withAttributes(array('id' => 'submitButton')) + ->submit() + ->appendIcon(Icon::create('play')) + ->large() !!} +

- {!! Former::close() !!} + {!! Former::close() !!} - @if (request()->report_type) -
-
+ @if (request()->report_type) +
+
- @if (count(array_values($reportTotals))) - - - - - @foreach (array_values(array_values($reportTotals)[0])[0] as $key => $val) - - @endforeach - - - - @foreach ($reportTotals as $currencyId => $each) - @foreach ($each as $dimension => $val) - - - @foreach ($val as $id => $field) - - @endforeach - - @endforeach - @endforeach - - -

 

- @endif + @if (count(array_values($reportTotals))) + + + + + @foreach (array_values(array_values($reportTotals)[0])[0] as $key => $val) + + @endforeach + + + + @foreach ($reportTotals as $currencyId => $each) + @foreach ($each as $dimension => $val) + + + @foreach ($val as $id => $field) + + @endforeach + + @endforeach + @endforeach + + +

 

+ @endif - - - - - {!! $report->tableHeader() !!} - - - - @if (count($displayData)) - @foreach ($displayData as $record) - - @foreach ($record as $field) - - @endforeach - - @endforeach - @else - - - - @endif - - + + + + {!! $report->tableHeader() !!} + + + + @if (count($displayData)) + @foreach ($displayData as $record) + + @foreach ($record as $field) + + @endforeach + + @endforeach + @else + + + + @endif + + -
-
- {{ trans('texts.reports_help') }} -
- -
-
+
+
+ {{ trans('texts.reports_help') }} +
+
- @endif + - + - @stop +@stop - @section('onReady') +@section('onReady') - $('#start_date, #end_date').datepicker({ - autoclose: true, - todayHighlight: true, - keyboardNavigation: false - }); + $('#start_date, #end_date').datepicker({ + autoclose: true, + todayHighlight: true, + keyboardNavigation: false + }); @stop \ No newline at end of file