From 6bb8799ec128686782481158d7eabcf7f44627a7 Mon Sep 17 00:00:00 2001 From: Jepp9350 <2jepp9350@gmail.com> Date: Tue, 4 Mar 2025 12:02:40 +0100 Subject: [PATCH] Remove deprecated button and add development warning Removed the "Create daily report" button as it is no longer needed. Added a warning message indicating the feature is under development in the daily report form and disabled the save button to prevent incomplete functionality usage. --- .../modules/daily-report/DepartmentDailyReport.vue | 12 ------------ .../DepartmentDashboardDailyReportTodayForm.vue | 9 ++++++++- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/src/views/dashboards/departmentDashboard/modules/daily-report/DepartmentDailyReport.vue b/src/views/dashboards/departmentDashboard/modules/daily-report/DepartmentDailyReport.vue index 950377a3..61f4ce16 100644 --- a/src/views/dashboards/departmentDashboard/modules/daily-report/DepartmentDailyReport.vue +++ b/src/views/dashboards/departmentDashboard/modules/daily-report/DepartmentDailyReport.vue @@ -106,18 +106,6 @@ const product_ids = ref([ subtitle="Få et overblik over dagens omsætning, forbrug og bookinger" > - -
-
- -
-
diff --git a/src/views/dashboards/departmentDashboard/modules/daily-report/displays/DepartmentDashboardDailyReportTodayForm.vue b/src/views/dashboards/departmentDashboard/modules/daily-report/displays/DepartmentDashboardDailyReportTodayForm.vue index 008716fe..d11d1f2a 100644 --- a/src/views/dashboards/departmentDashboard/modules/daily-report/displays/DepartmentDashboardDailyReportTodayForm.vue +++ b/src/views/dashboards/departmentDashboard/modules/daily-report/displays/DepartmentDashboardDailyReportTodayForm.vue @@ -22,6 +22,13 @@ const onFormSubmit = async (event) => {

Dagens rapport

+ +
+
+

Under udvikling

+

Denne funktion er under udvikling og vil snart være tilgængelig.

+
+
@@ -42,7 +49,7 @@ const onFormSubmit = async (event) => {
- +