Hi. While creating the formula, I encountered a problem that I cannot deal with.
As in the code provided:
$dzial1=((($wynik/$rmbkurs*$chinyprowizja+((2000+$morskifracht)/((68/$cbm)*1000))))*($cenaclo)*($nowaprowizja)*$dolarku rs)*$czynnik;
$dzial2=$wynik*$czynnik;
ifThenElse(
$cbm == 0,
$pre=number\round($dzial2, 2) ,
$pre=number\round($dzial1, 2)
);
If I type in the cbm1000 - 0 field when adding a record, I have an error 500, I cannot leave this field blank either. Would anyone know how to solve this?
Thanks!
As in the code provided:
$dzial1=((($wynik/$rmbkurs*$chinyprowizja+((2000+$morskifracht)/((68/$cbm)*1000))))*($cenaclo)*($nowaprowizja)*$dolarku rs)*$czynnik;
$dzial2=$wynik*$czynnik;
ifThenElse(
$cbm == 0,
$pre=number\round($dzial2, 2) ,
$pre=number\round($dzial1, 2)
);
If I type in the cbm1000 - 0 field when adding a record, I have an error 500, I cannot leave this field blank either. Would anyone know how to solve this?
Thanks!
Comment