v2 first commit
This commit is contained in:
		
							
								
								
									
										11
									
								
								resources/views/reports/profit_loss/table/footer.blade.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								resources/views/reports/profit_loss/table/footer.blade.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
<tfoot>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <th style="width: 179px;">{{ trans_choice('general.totals', 1) }}</th>
 | 
			
		||||
            @php $total_total = 0; @endphp
 | 
			
		||||
            @foreach($class->totals[$table] as $date => $total)
 | 
			
		||||
                @php $total_total += $total; @endphp
 | 
			
		||||
                <th class="text-right">@money($total, setting('default.currency'), true)</th>
 | 
			
		||||
            @endforeach
 | 
			
		||||
        <th class="text-right">@money($total_total, setting('default.currency'), true)</th>
 | 
			
		||||
    </tr>
 | 
			
		||||
</tfoot>
 | 
			
		||||
@@ -0,0 +1,5 @@
 | 
			
		||||
<thead class="border-top-style">
 | 
			
		||||
    <tr>
 | 
			
		||||
        <th colspan="{{ count($class->dates) + 2 }}">{{ $table }}</th>
 | 
			
		||||
    </tr>
 | 
			
		||||
</thead>
 | 
			
		||||
		Reference in New Issue
	
	Block a user