From 5fa48c1e9accb587fcb14ae807ab2080a05a7a16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrea=20D=C3=ADaz=20Correia?= Date: Fri, 16 Aug 2024 15:53:56 -0300 Subject: [PATCH] Issue #470 Add validation on /settleorder (#567) * feat(settleorder): implement check in settleorder command disallow settlement of orders with PAID_HOLD_INVOICE status * refactor(settleorder): implement check in settleorder command --- bot/start.ts | 6 ++++++ locales/de.yaml | 1 + locales/en.yaml | 1 + locales/es.yaml | 1 + locales/fa.yaml | 1 + locales/fr.yaml | 1 + locales/it.yaml | 1 + locales/ko.yaml | 1 + locales/pt.yaml | 1 + locales/ru.yaml | 1 + locales/uk.yaml | 1 + 11 files changed, 16 insertions(+) diff --git a/bot/start.ts b/bot/start.ts index b091e3f5..1210f384 100644 --- a/bot/start.ts +++ b/bot/start.ts @@ -464,6 +464,12 @@ const initialize = (botToken: string, options: Partial