Log 2551
14/01/2024 2024-01-14 11:16$totalSum = 0;
// Assuming $records is an array containing all the records
foreach ($records as $record) {
// Assuming each record has a field called #הוצאה כולל מעמ#
$totalSum += floatval($record[#הוצאה כולל מעמ#]);
}
return $totalSum;