improved reports layout
This commit is contained in:
		@@ -2,11 +2,11 @@
 | 
			
		||||
    <table class="table align-items-center">
 | 
			
		||||
        <tfoot class="border-top-style">
 | 
			
		||||
            <tr>
 | 
			
		||||
                <th class="long-texts report-column">{{ trans('reports.net_profit') }}</th>
 | 
			
		||||
                <th class="report-column">{{ trans('reports.net_profit') }}</th>
 | 
			
		||||
                @foreach($class->net_profit as $profit)
 | 
			
		||||
                    <th class="long-texts report-column text-right">@money($profit, setting('default.currency'), true)</th>
 | 
			
		||||
                    <th class="report-column text-right px-0">@money($profit, setting('default.currency'), true)</th>
 | 
			
		||||
                @endforeach
 | 
			
		||||
                <th class="long-texts report-column text-right">
 | 
			
		||||
                <th class="report-column text-right">
 | 
			
		||||
                    @money(array_sum($class->net_profit), setting('default.currency'), true)
 | 
			
		||||
                </th>
 | 
			
		||||
            </tr>
 | 
			
		||||
 
 | 
			
		||||
@@ -2,12 +2,12 @@
 | 
			
		||||
    <table class="table align-items-center">
 | 
			
		||||
        <thead class="border-top-style">
 | 
			
		||||
            <tr>
 | 
			
		||||
                <th class="long-texts report-column text-right"></th>
 | 
			
		||||
                <th class="report-column text-right"></th>
 | 
			
		||||
                @foreach($class->dates as $date)
 | 
			
		||||
                    <th class="long-texts report-column text-right">{{ $date }}</th>
 | 
			
		||||
                    <th class="report-column text-right px-0">{{ $date }}</th>
 | 
			
		||||
                @endforeach
 | 
			
		||||
                <th class="long-texts report-column text-right">
 | 
			
		||||
                    <h5>{{ trans_choice('general.totals', 1) }}</h5>
 | 
			
		||||
                <th class="report-column text-right">
 | 
			
		||||
                    {{ trans_choice('general.totals', 1) }}
 | 
			
		||||
                </th>
 | 
			
		||||
            </tr>
 | 
			
		||||
        </thead>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user