$total_sales = abs(#סך הכל מכירה#); $total_rental = abs(#סך הכל השכרה#); $addons = #תוספות# < 0 ? 0 : #תוספות#;
$result = $total_sales + $total_rental + $addons;
return $result;