setter
parent
4a83c39831
commit
9aebf10f3f
|
@ -60,7 +60,7 @@
|
||||||
$("#price").text(0);
|
$("#price").text(0);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(agency>0 || consumer>0){
|
if(agency>0 && consumer>0){
|
||||||
if (agency < consumer) {
|
if (agency < consumer) {
|
||||||
$("#price").text( {$minPrice}+"*"+"(100/"+agency+")" +"="+({$minPrice}*(100/agency)));
|
$("#price").text( {$minPrice}+"*"+"(100/"+agency+")" +"="+({$minPrice}*(100/agency)));
|
||||||
}else{
|
}else{
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
$("#price").text(0);
|
$("#price").text(0);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(distribution>0 || distributed>0){
|
if(distribution>0 && distributed>0){
|
||||||
if (distribution < distributed) {
|
if (distribution < distributed) {
|
||||||
$("#price").text( {$minPrice}+"*"+"(100/"+distribution+")" +"="+({$minPrice}*(100/distribution)));
|
$("#price").text( {$minPrice}+"*"+"(100/"+distribution+")" +"="+({$minPrice}*(100/distribution)));
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in New Issue