mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 04:07:32 -05:00 
			
		
		
		
	Fix undefined offset
This commit is contained in:
		
							parent
							
								
									04d9fe30eb
								
							
						
					
					
						commit
						d51ca23bb4
					
				@ -368,13 +368,15 @@
 | 
				
			|||||||
                <?php
 | 
					                <?php
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                $summary = [];
 | 
					                $summary = [];
 | 
				
			||||||
                $summary[] = array_merge([
 | 
					                if(count(array_values($reportTotals))) {
 | 
				
			||||||
                        trans("texts.totals")
 | 
					                    $summary[] = array_merge([
 | 
				
			||||||
                    ], array_map(function ($key) {
 | 
					                            trans("texts.totals")
 | 
				
			||||||
                        return ['text' => trans("texts.{$key}"),
 | 
					                        ], array_map(function ($key) {
 | 
				
			||||||
                                'style' => 'tableHeader'
 | 
					                            return ['text' => trans("texts.{$key}"),
 | 
				
			||||||
                        ];
 | 
					                                    'style' => 'tableHeader'
 | 
				
			||||||
                    }, array_keys(array_values(array_values($reportTotals)[0])[0])));
 | 
					                            ];
 | 
				
			||||||
 | 
					                        }, array_keys(array_values(array_values($reportTotals)[0])[0])));
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                foreach ($reportTotals as $currencyId => $each) {
 | 
					                foreach ($reportTotals as $currencyId => $each) {
 | 
				
			||||||
                    foreach ($each as $dimension => $val) {
 | 
					                    foreach ($each as $dimension => $val) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user