report view edited for summary print

This commit is contained in:
Burak Civan
2022-06-17 11:41:48 +03:00
parent d48ccdc628
commit cc3deb2e88
4 changed files with 65 additions and 20 deletions

View File

@ -1,9 +1,17 @@
@php
$is_print = request()->routeIs('reports.print');
@endphp
@include($class->views['summary.content.header'])
@foreach($class->tables as $table_key => $table_name)
<div class="flex flex-col lg:flex-row mt-12">
<div
class="flex flex-col lg:flex-row mt-12">
@include($class->views['summary.table'])
@include($class->views['summary.chart'])
@if (! $is_print)
@include($class->views['summary.chart'])
@endif
</div>
@endforeach