Commit caa192f7311ac200ca20d49220b8a4e218e22547
1 parent
22a9d3bc
Update changing of lot.value.amount
Change both value.amount and minimalStep.amount
Showing
1 changed file
with
3 additions
and
1 deletions
| ... | ... | @@ -262,8 +262,10 @@ Resource resource.robot |
| 262 | 262 | |
| 263 | 263 | Можливість змінити на ${percent} відсотки бюджет ${lot_index} лоту |
| 264 | 264 | ${percent}= Convert To Number ${percent} |
| 265 | - ${value}= Evaluate ${USERS.users['${tender_owner}'].tender_data.data.lots[${lot_index}].value.amount}*${percent}/${100} | |
| 265 | + ${value}= Evaluate round(${USERS.users['${tender_owner}'].tender_data.data.lots[${lot_index}].value.amount} * ${percent} / ${100}, 2) | |
| 266 | + ${step_value}= Evaluate round(${USERS.users['${tender_owner}'].tender_data.data.lots[${lot_index}].minimalStep.amount} * ${percent} / ${100}, 2) | |
| 266 | 267 | Можливість змінити поле value.amount ${lot_index} лоту на ${value} |
| 268 | + Можливість змінити поле minimalStep.amount ${lot_index} лоту на ${step_value} | |
| 267 | 269 | |
| 268 | 270 | |
| 269 | 271 | Можливість змінити поле ${field} ${lot_index} лоту на ${value} | ... | ... |
Please
register
or
login
to post a comment