debt-menu #115
@ -3,14 +3,16 @@ RELOAD calc_credit_debt
|
||||
CATCH api_failure flag_api_call_error 1
|
||||
MAP calc_credit_debt
|
||||
MOUT pay_debt 1
|
||||
MOUT get_mpesa 2
|
||||
MOUT send_mpesa 3
|
||||
MOUT deposit 2
|
||||
MOUT get_mpesa 3
|
||||
MOUT send_mpesa 4
|
||||
MOUT back 0
|
||||
MOUT quit 9
|
||||
HALT
|
||||
INCMP ^ 0
|
||||
INCMP pay_debt 1
|
||||
INCMP get_mpesa 2
|
||||
INCMP send_mpesa 3
|
||||
INCMP pool_deposit 2
|
||||
INCMP get_mpesa 3
|
||||
INCMP send_mpesa 4
|
||||
INCMP quit 9
|
||||
INCMP . *
|
||||
|
||||
1
services/registration/pool_deposit
Normal file
1
services/registration/pool_deposit
Normal file
@ -0,0 +1 @@
|
||||
{{.get_pool_deposit_vouchers}}
|
||||
14
services/registration/pool_deposit.vis
Normal file
14
services/registration/pool_deposit.vis
Normal file
@ -0,0 +1,14 @@
|
||||
CATCH no_voucher flag_no_active_voucher 1
|
||||
CATCH no_stable_voucher flag_no_pay_debt_vouchers 1
|
||||
LOAD get_pool_deposit_vouchers 0
|
||||
MAP get_pool_deposit_vouchers
|
||||
MOUT back 0
|
||||
MOUT quit 99
|
||||
MNEXT next 88
|
||||
MPREV prev 98
|
||||
HALT
|
||||
INCMP > 88
|
||||
INCMP < 98
|
||||
INCMP _ 0
|
||||
INCMP quit 99
|
||||
INCMP pool_deposit_amount *
|
||||
Loading…
Reference in New Issue
Block a user