From 1db51feecad9c58150c2665eb0fd4a05d97575ba Mon Sep 17 00:00:00 2001 From: batuhanbas Date: Tue, 28 Jan 2020 12:42:54 +0300 Subject: [PATCH] dynamic report row --- app/Abstracts/Report.php | 2 +- resources/views/partials/reports/table/rows.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Abstracts/Report.php b/app/Abstracts/Report.php index 9defe05bb..62c8c771f 100644 --- a/app/Abstracts/Report.php +++ b/app/Abstracts/Report.php @@ -49,7 +49,7 @@ abstract class Report public $indents = [ 'table_header' => '0px', - 'table_rows' => '0px', + 'table_rows' => '24px', ]; public $chart = [ diff --git a/resources/views/partials/reports/table/rows.blade.php b/resources/views/partials/reports/table/rows.blade.php index e91d696c7..68ac59682 100644 --- a/resources/views/partials/reports/table/rows.blade.php +++ b/resources/views/partials/reports/table/rows.blade.php @@ -1,6 +1,6 @@ @php $row_total = 0; @endphp - {{ $class->row_names[$table][$id] }} + {{ $class->row_names[$table][$id] }} @foreach($rows as $row) @php $row_total += $row; @endphp @money($row, setting('default.currency'), true)