From c0ccdce0a9e2d2a574a55b223b5ebab6d2008299 Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Fri, 15 Nov 2024 21:02:44 +0300 Subject: [PATCH] add the voucher details node --- services/registration/my_vouchers.vis | 1 + services/registration/voucher_details | 1 + services/registration/voucher_details.vis | 6 ++++++ services/registration/voucher_details_swa | 1 + 4 files changed, 9 insertions(+) create mode 100644 services/registration/voucher_details create mode 100644 services/registration/voucher_details.vis create mode 100644 services/registration/voucher_details_swa diff --git a/services/registration/my_vouchers.vis b/services/registration/my_vouchers.vis index b59441a..e79438e 100644 --- a/services/registration/my_vouchers.vis +++ b/services/registration/my_vouchers.vis @@ -6,3 +6,4 @@ MOUT back 0 HALT INCMP _ 0 INCMP select_voucher 1 +INCMP voucher_details 2 diff --git a/services/registration/voucher_details b/services/registration/voucher_details new file mode 100644 index 0000000..d437681 --- /dev/null +++ b/services/registration/voucher_details @@ -0,0 +1 @@ +{{.get_voucher_details}} \ No newline at end of file diff --git a/services/registration/voucher_details.vis b/services/registration/voucher_details.vis new file mode 100644 index 0000000..1b009f1 --- /dev/null +++ b/services/registration/voucher_details.vis @@ -0,0 +1,6 @@ +CATCH no_voucher flag_no_active_voucher 1 +LOAD get_voucher_details 0 +MAP get_voucher_details +MOUT back 0 +HALT +INCMP _ 0 diff --git a/services/registration/voucher_details_swa b/services/registration/voucher_details_swa new file mode 100644 index 0000000..d437681 --- /dev/null +++ b/services/registration/voucher_details_swa @@ -0,0 +1 @@ +{{.get_voucher_details}} \ No newline at end of file