Log 2547
12/01/2024 2024-01-12 14:21$amount = #סכום עסקה#;
$status = #סטטוס עסקה#;
$date = #ישלום בתאריך#;
if ($status == “בוצע” && $date == date(‘d/m/Y’, strtotime(‘last month’))) {
return array_sum(array_filter(preg_replace(‘/[^0-9]/’, ”, explode(” “, $amount))));
} else {
return “”;
}