Commit b9e958f84ed61ae56434d4f070fd6466261aac6f

Authored by mykhaly
1 parent 3b21fa78

Change type of argument to int instead of string

... ... @@ -270,8 +270,8 @@ Resource resource.robot
270 270
271 271 Можливість змінити на ${percent} відсотки бюджет ${lot_index} лоту
272 272 ${percent}= Convert To Number ${percent}
273   - ${value}= mult_and_round ${USERS.users['${tender_owner}'].tender_data.data.lots[${lot_index}].value.amount} ${percent} ${1/100} precision=2
274   - ${step_value}= mult_and_round ${USERS.users['${tender_owner}'].tender_data.data.lots[${lot_index}].minimalStep.amount} ${percent} ${1/100} precision=2
  273 + ${value}= mult_and_round ${USERS.users['${tender_owner}'].tender_data.data.lots[${lot_index}].value.amount} ${percent} ${1/100} precision=${2}
  274 + ${step_value}= mult_and_round ${USERS.users['${tender_owner}'].tender_data.data.lots[${lot_index}].minimalStep.amount} ${percent} ${1/100} precision=${2}
275 275 Можливість змінити поле value.amount ${lot_index} лоту на ${value}
276 276 Можливість змінити поле minimalStep.amount ${lot_index} лоту на ${step_value}
277 277
... ... @@ -822,7 +822,7 @@ Resource resource.robot
822 822 ${percent}= Convert To Number ${percent}
823 823 ${field}= Set variable if ${number_of_lots} == 0 value.amount lotValues[0].value.amount
824 824 ${value}= Run As ${username} Отримати інформацію із пропозиції ${TENDER['TENDER_UAID']} ${field}
825   - ${value}= mult_and_round ${value} ${percent} ${1/100} precision=2
  825 + ${value}= mult_and_round ${value} ${percent} ${1/100} precision=${2}
826 826 Run as ${username} Змінити цінову пропозицію ${TENDER['TENDER_UAID']} ${field} ${value}
827 827
828 828
... ...
Please register or login to post a comment