diff --git a/front/src/main/resources/templates/record/expense/index.html b/front/src/main/resources/templates/record/expense/index.html index dc795d01..84f6a4b5 100644 --- a/front/src/main/resources/templates/record/expense/index.html +++ b/front/src/main/resources/templates/record/expense/index.html @@ -36,7 +36,8 @@ + th:checked="${#strings.equals(dailyRecord.expenseStatus, T(app.module.core.config.application.enums.DailyTargetStatus).TODAY_NONE)}" + onchange="modalControl.showTodayNoneAlert(this)"> 금일 등록내용 없음 @@ -466,6 +467,23 @@ ajaxUtil._hideWaiting(); }, + showTodayNoneAlert(checkbox){ + if (checkbox.checked) { + etUI.dialog.alert({ + message: '금일 등록내용 없음을 선택하셨습니다.', + type: 'alert', + callback: function () { + }, + }); + }else{ + etUI.dialog.alert({ + message: '등록을 선택하셨습니다.', + type: 'alert', + callback: function () { + }, + }); + } + }, }; diff --git a/front/src/main/resources/templates/record/farming/index.html b/front/src/main/resources/templates/record/farming/index.html index b9ed6a39..775fee32 100644 --- a/front/src/main/resources/templates/record/farming/index.html +++ b/front/src/main/resources/templates/record/farming/index.html @@ -36,7 +36,8 @@ + th:checked="${#strings.equals(dailyRecord.farmingStatus, T(app.module.core.config.application.enums.DailyTargetStatus).TODAY_NONE)}" + onchange="modalControl.showTodayNoneAlert(this)"> 금일 등록내용 없음 @@ -216,6 +217,23 @@ }, ); }, + showTodayNoneAlert(checkbox){ + if (checkbox.checked) { + etUI.dialog.alert({ + message: '금일 등록내용 없음을 선택하셨습니다.', + type: 'alert', + callback: function () { + }, + }); + }else{ + etUI.dialog.alert({ + message: '등록을 선택하셨습니다.', + type: 'alert', + callback: function () { + }, + }); + } + }, }; diff --git a/front/src/main/resources/templates/record/forestry/index.html b/front/src/main/resources/templates/record/forestry/index.html index 8324c0ba..ae4a60d0 100644 --- a/front/src/main/resources/templates/record/forestry/index.html +++ b/front/src/main/resources/templates/record/forestry/index.html @@ -36,7 +36,8 @@ + th:checked="${#strings.equals(dailyRecord.forestryStatus, T(app.module.core.config.application.enums.DailyTargetStatus).TODAY_NONE)}" + onchange="modalControl.showTodayNoneAlert(this)"> 금일 등록내용 없음 @@ -204,6 +205,23 @@ }, ); }, + showTodayNoneAlert(checkbox){ + if (checkbox.checked) { + etUI.dialog.alert({ + message: '금일 등록내용 없음을 선택하셨습니다.', + type: 'alert', + callback: function () { + }, + }); + }else{ + etUI.dialog.alert({ + message: '등록을 선택하셨습니다.', + type: 'alert', + callback: function () { + }, + }); + } + }, }; diff --git a/front/src/main/resources/templates/record/income/index.html b/front/src/main/resources/templates/record/income/index.html index 98e2792b..4baa9800 100644 --- a/front/src/main/resources/templates/record/income/index.html +++ b/front/src/main/resources/templates/record/income/index.html @@ -45,7 +45,8 @@ + th:checked="${#strings.equals(dailyRecord.incomeStatus, T(app.module.core.config.application.enums.DailyTargetStatus).TODAY_NONE)}" + onchange="modalControl.showTodayNoneAlert(this)"> 금일 등록내용 없음 @@ -525,7 +526,23 @@ ajaxUtil._hideWaiting(); }, - + showTodayNoneAlert(checkbox){ + if (checkbox.checked) { + etUI.dialog.alert({ + message: '금일 등록내용 없음을 선택하셨습니다.', + type: 'alert', + callback: function () { + }, + }); + }else{ + etUI.dialog.alert({ + message: '등록을 선택하셨습니다.', + type: 'alert', + callback: function () { + }, + }); + } + }, }; diff --git a/front/src/main/resources/templates/record/power/index.html b/front/src/main/resources/templates/record/power/index.html index bd07d638..58c293d5 100644 --- a/front/src/main/resources/templates/record/power/index.html +++ b/front/src/main/resources/templates/record/power/index.html @@ -36,7 +36,8 @@ + th:checked="${#strings.equals(dailyRecord.powerStatus, T(app.module.core.config.application.enums.DailyTargetStatus).TODAY_NONE)}" + onchange="modalControl.showTodayNoneAlert(this)"> 금일 등록내용 없음 @@ -205,6 +206,23 @@ }, ); }, + showTodayNoneAlert(checkbox){ + if (checkbox.checked) { + etUI.dialog.alert({ + message: '금일 등록내용 없음을 선택하셨습니다.', + type: 'alert', + callback: function () { + }, + }); + }else{ + etUI.dialog.alert({ + message: '등록을 선택하셨습니다.', + type: 'alert', + callback: function () { + }, + }); + } + }, }; diff --git a/front/src/main/resources/templates/record/work/index.html b/front/src/main/resources/templates/record/work/index.html index cb20f194..cbe70a52 100644 --- a/front/src/main/resources/templates/record/work/index.html +++ b/front/src/main/resources/templates/record/work/index.html @@ -36,7 +36,8 @@ + th:checked="${#strings.equals(dailyRecord.workStatus, T(app.module.core.config.application.enums.DailyTargetStatus).TODAY_NONE)}" + onchange="modalControl.showTodayNoneAlert(this)"> 금일 등록내용 없음 @@ -266,6 +267,23 @@ } ); }, + showTodayNoneAlert(checkbox){ + if (checkbox.checked) { + etUI.dialog.alert({ + message: '금일 등록내용 없음을 선택하셨습니다.', + type: 'alert', + callback: function () { + }, + }); + }else{ + etUI.dialog.alert({ + message: '등록을 선택하셨습니다.', + type: 'alert', + callback: function () { + }, + }); + } + }, };