Log 2413

$startDate = strtotime(#תאריך תחילת תשלום#);
$today = time();

if(date(‘d’, $startDate) == date(‘d’, $today)) {
$paymentCount = intval(#מספר תשלומים#) – 1;
} else {
$paymentCount = intval(#מספר תשלומים#);
}

$totalPaymentAmount = $paymentCount * floatval(#סכום חודשי לתשלום#);

return number_format($totalPaymentAmount, 2);

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