From 5e82e510a1bd03a4fdf8756757803b41fad14421 Mon Sep 17 00:00:00 2001 From: batuhanbas Date: Tue, 10 Mar 2020 12:31:10 +0300 Subject: [PATCH] forgotten classes in reports --- resources/views/partials/reports/table/footer.blade.php | 4 ++-- resources/views/partials/reports/table/header.blade.php | 4 ++-- resources/views/partials/reports/table/rows.blade.php | 4 ++-- .../views/reports/profit_loss/content/footer.blade.php | 4 ++-- .../views/reports/profit_loss/content/header.blade.php | 6 +++--- resources/views/reports/profit_loss/table/footer.blade.php | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/resources/views/partials/reports/table/footer.blade.php b/resources/views/partials/reports/table/footer.blade.php index 80a92d73b..aae77f330 100644 --- a/resources/views/partials/reports/table/footer.blade.php +++ b/resources/views/partials/reports/table/footer.blade.php @@ -4,8 +4,8 @@ @php $grand_total = 0; @endphp @foreach($class->footer_totals[$table] as $total) @php $grand_total += $total; @endphp - @money($total, setting('default.currency'), true) + @money($total, setting('default.currency'), true) @endforeach - @money($grand_total, setting('default.currency'), true) + @money($grand_total, setting('default.currency'), true) diff --git a/resources/views/partials/reports/table/header.blade.php b/resources/views/partials/reports/table/header.blade.php index f3d447ac0..e4dfb3bc1 100644 --- a/resources/views/partials/reports/table/header.blade.php +++ b/resources/views/partials/reports/table/header.blade.php @@ -6,8 +6,8 @@ {{ $table }} @endif @foreach($class->dates as $date) - {{ $date }} + {{ $date }} @endforeach - {{ trans_choice('general.totals', 1) }} + {{ trans_choice('general.totals', 1) }} diff --git a/resources/views/partials/reports/table/rows.blade.php b/resources/views/partials/reports/table/rows.blade.php index 0b869bcc3..5b62bebc8 100644 --- a/resources/views/partials/reports/table/rows.blade.php +++ b/resources/views/partials/reports/table/rows.blade.php @@ -3,7 +3,7 @@ {{ $class->row_names[$table][$id] }} @foreach($rows as $row) @php $row_total += $row; @endphp - @money($row, setting('default.currency'), true) + @money($row, setting('default.currency'), true) @endforeach - @money($row_total, setting('default.currency'), true) + @money($row_total, setting('default.currency'), true) diff --git a/resources/views/reports/profit_loss/content/footer.blade.php b/resources/views/reports/profit_loss/content/footer.blade.php index 73371afab..f7091fb6b 100644 --- a/resources/views/reports/profit_loss/content/footer.blade.php +++ b/resources/views/reports/profit_loss/content/footer.blade.php @@ -4,9 +4,9 @@ {{ trans('reports.net_profit') }} @foreach($class->net_profit as $profit) - @money($profit, setting('default.currency'), true) + @money($profit, setting('default.currency'), true) @endforeach - + @money(array_sum($class->net_profit), setting('default.currency'), true) diff --git a/resources/views/reports/profit_loss/content/header.blade.php b/resources/views/reports/profit_loss/content/header.blade.php index e4318f3cf..d67f42022 100644 --- a/resources/views/reports/profit_loss/content/header.blade.php +++ b/resources/views/reports/profit_loss/content/header.blade.php @@ -2,11 +2,11 @@ - + @foreach($class->dates as $date) - + @endforeach - diff --git a/resources/views/reports/profit_loss/table/footer.blade.php b/resources/views/reports/profit_loss/table/footer.blade.php index 261cda330..92cc749f3 100644 --- a/resources/views/reports/profit_loss/table/footer.blade.php +++ b/resources/views/reports/profit_loss/table/footer.blade.php @@ -4,8 +4,8 @@ @php $grand_total = 0; @endphp @foreach($class->footer_totals[$table] as $date => $total) @php $grand_total += $total; @endphp - + @endforeach - +
{{ $date }}{{ $date }} + {{ trans_choice('general.totals', 1) }}
@money($total, setting('default.currency'), true)@money($total, setting('default.currency'), true)@money($grand_total, setting('default.currency'), true)@money($grand_total, setting('default.currency'), true)