From b99924e9274b0f681352eba42d6b6287d3ffa937 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 10 Jul 2023 17:50:02 -0400 Subject: [PATCH] transaction cases --- www-api/app/Controllers/WrenchTransactions.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/www-api/app/Controllers/WrenchTransactions.php b/www-api/app/Controllers/WrenchTransactions.php index d60ee9ab..e52675a9 100644 --- a/www-api/app/Controllers/WrenchTransactions.php +++ b/www-api/app/Controllers/WrenchTransactions.php @@ -75,6 +75,16 @@ class WrenchTransactions extends BaseController $in["loc"] = $_SERVER["REMOTE_ADDR"]; + switch ($endpoints){ + + case 'startcredit': + + break; + + case 'confirmcredit': + // Confrim + break; + } $response = [];