GWM : issue fixed
This commit is contained in:
parent
f26a0e4fcf
commit
5925a5aaaf
@ -1559,9 +1559,11 @@ class ExcelExportController extends ResourceController
|
||||
|
||||
foreach ($data as $row) {
|
||||
$indexedRow = array_values($row);
|
||||
$lastIndex = count($indexedRow) - 1;
|
||||
$totalSum += (float) $indexedRow[$lastIndex];
|
||||
unset($indexedRow[$lastIndex]);
|
||||
|
||||
$totalSum += (float) $row['commission_amount'];
|
||||
// $lastIndex = count($indexedRow) - 1;
|
||||
// $totalSum += (float) $indexedRow[$lastIndex];
|
||||
// unset($indexedRow[$lastIndex]);
|
||||
$finalData[] = array_merge([$serialNo++], $indexedRow);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user