From 88b5a33c2e1b50d2979dfd9d02ee8e4db003afe3 Mon Sep 17 00:00:00 2001 From: Alfred Kamanda Date: Thu, 29 Jan 2026 19:37:33 +0300 Subject: [PATCH] update the sym name to be more descriptive --- handlers/local.go | 2 +- services/registration/pay_debt | 2 +- services/registration/pay_debt.vis | 6 +++--- services/registration/pay_debt_swa | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/handlers/local.go b/handlers/local.go index 4c13794..7c4b696 100644 --- a/handlers/local.go +++ b/handlers/local.go @@ -147,7 +147,7 @@ func (ls *LocalHandlerService) GetHandler(accountService remote.AccountService) ls.DbRs.AddLocalFunc("send_mpesa_min_limit", appHandlers.SendMpesaMinLimit) ls.DbRs.AddLocalFunc("send_mpesa_preview", appHandlers.SendMpesaPreview) ls.DbRs.AddLocalFunc("initiate_send_mpesa", appHandlers.InitiateSendMpesa) - ls.DbRs.AddLocalFunc("calculate_pay_debt", appHandlers.CalculatePayDebt) + ls.DbRs.AddLocalFunc("calculate_max_pay_debt", appHandlers.CalculateMaxPayDebt) ls.DbRs.AddLocalFunc("confirm_debt_removal", appHandlers.ConfirmDebtRemoval) ls.DbRs.AddLocalFunc("initiate_pay_debt", appHandlers.InitiatePayDebt) diff --git a/services/registration/pay_debt b/services/registration/pay_debt index 0fa2022..1e2b322 100644 --- a/services/registration/pay_debt +++ b/services/registration/pay_debt @@ -1 +1 @@ -{{.calculate_pay_debt}} \ No newline at end of file +{{.calculate_max_pay_debt}} \ No newline at end of file diff --git a/services/registration/pay_debt.vis b/services/registration/pay_debt.vis index eee4b2c..1b5a819 100644 --- a/services/registration/pay_debt.vis +++ b/services/registration/pay_debt.vis @@ -1,6 +1,6 @@ -LOAD calculate_pay_debt 0 -RELOAD calculate_pay_debt -MAP calculate_pay_debt +LOAD calculate_max_pay_debt 0 +RELOAD calculate_max_pay_debt +MAP calculate_max_pay_debt MOUT back 0 HALT INCMP _ 0 diff --git a/services/registration/pay_debt_swa b/services/registration/pay_debt_swa index 0fa2022..1e2b322 100644 --- a/services/registration/pay_debt_swa +++ b/services/registration/pay_debt_swa @@ -1 +1 @@ -{{.calculate_pay_debt}} \ No newline at end of file +{{.calculate_max_pay_debt}} \ No newline at end of file