Log 1926

function calculateValue($date, $startDirectRank, $endEligibility) {
if ($date >= $startDirectRank && ($endEligibility == ” || $date < $endEligibility)) {
return #דרגה מקושר ישירות לתמת#;
} else {
return 1;
}
}

// Test with example values
$date = '01/09/2022';
$startDirectRank = #תחילת דרגה ישירות לתמת#;
$endEligibility = #סיום זכאותישירות לתמת#;

return calculateValue($date, $startDirectRank, $endEligibility);

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
  • Attributes
  • Custom attributes
  • Custom fields
Click outside to hide the comparison bar
Compare