From fd74dee965e92fc51ee42f53f73cce03930ccc3d Mon Sep 17 00:00:00 2001 From: s-choi Date: Mon, 28 Sep 2026 16:32:02 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20=E5=9B=BA=E5=AE=9A=E8=B2=BB=E3=81=A7?= =?UTF-8?q?=E7=99=BB=E9=8C=B2=E3=81=99=E3=82=8B=E9=9A=9B=E3=80=81=E5=8F=8E?= =?UTF-8?q?=E6=94=AF=E5=8C=BA=E5=88=86=E3=81=8C=E8=87=AA=E5=8B=95=E3=81=A7?= =?UTF-8?q?=E5=85=A5=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E3=81=97=E3=81=BE=E3=81=97=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/TransactionController.java | 2 ++ src/main/resources/templates/fixed_cost_create.html | 2 ++ .../resources/templates/transaction_create.html | 13 +++++++++++-- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/example/demo/app/presentation/controller/TransactionController.java b/src/main/java/com/example/demo/app/presentation/controller/TransactionController.java index 009acc8..b81c0ff 100644 --- a/src/main/java/com/example/demo/app/presentation/controller/TransactionController.java +++ b/src/main/java/com/example/demo/app/presentation/controller/TransactionController.java @@ -237,6 +237,8 @@ public class TransactionController { model.addAttribute(PageReturnAttributeKeyword.INCOME_LIST, incomeList); model.addAttribute(PageReturnAttributeKeyword.TRANSACTION_FORM, transactionForm); + + session.setAttribute("tType", String.valueOf(transactionForm.getTransactionType())); model.addAttribute(PageReturnAttributeKeyword.CATEGORY_FORM_LIST, categoryFormList); diff --git a/src/main/resources/templates/fixed_cost_create.html b/src/main/resources/templates/fixed_cost_create.html index a004f50..c6397e9 100644 --- a/src/main/resources/templates/fixed_cost_create.html +++ b/src/main/resources/templates/fixed_cost_create.html @@ -83,6 +83,7 @@
+