diff --git a/services/registration/low_pay_debt_amount b/services/registration/low_pay_debt_amount index 56f14ae..5f35bf4 100644 --- a/services/registration/low_pay_debt_amount +++ b/services/registration/low_pay_debt_amount @@ -1 +1 @@ -You have a low debt amount \ No newline at end of file +Available amount {{.calculate_max_pay_debt}} is too low, please choose a different voucher: \ No newline at end of file diff --git a/services/registration/low_pay_debt_amount.vis b/services/registration/low_pay_debt_amount.vis index 832ef22..77149bc 100644 --- a/services/registration/low_pay_debt_amount.vis +++ b/services/registration/low_pay_debt_amount.vis @@ -1,5 +1,6 @@ +MAP calculate_max_pay_debt MOUT back 0 MOUT quit 9 HALT -INCMP ^ 0 +INCMP _ 0 INCMP quit 9 diff --git a/services/registration/low_pay_debt_amount_swa b/services/registration/low_pay_debt_amount_swa index 26fcfc0..02658f1 100644 --- a/services/registration/low_pay_debt_amount_swa +++ b/services/registration/low_pay_debt_amount_swa @@ -1 +1 @@ -Kiasi cha deni lako ni cha chini sana \ No newline at end of file +Kiasi kinachopatikana {{.calculate_max_pay_debt}} ni cha chini sana, tafadhali chagua sarafu tofauti: \ No newline at end of file diff --git a/services/registration/pay_debt.vis b/services/registration/pay_debt.vis index 9cf8b87..acfee9f 100644 --- a/services/registration/pay_debt.vis +++ b/services/registration/pay_debt.vis @@ -12,5 +12,6 @@ INCMP _ 0 INCMP quit 99 LOAD calculate_max_pay_debt 0 RELOAD calculate_max_pay_debt +CATCH low_pay_debt_amount flag_low_swap_amount 1 CATCH . flag_incorrect_voucher 1 INCMP calculate_max_pay_debt *