From 2ff705bfb029bb78f1c2d018f98879adb275ec41 Mon Sep 17 00:00:00 2001 From: Lyndon Jetten Date: Thu, 12 Sep 2024 14:55:35 +0200 Subject: [PATCH] Diverse Bugfixes und Verbesserungen im MoK Dateien Hochladen im MoK --- BeWo/View/Detail/CustomerView2.xaml | 69 +- BeWo/View/Detail/Report/QueryView.xaml.cs | 2 +- BeWo/View/HomeView.xaml | 1 - BeWo/View/HomeView.xaml.cs | 9 +- BeWoPlanerMobil/BeWoPlanerMobil.csproj | 1 + BeWoPlanerMobil/Content/style.css | 45 ++ BeWoPlanerMobil/Content/style.css.map | 2 +- BeWoPlanerMobil/Content/style.scss | 45 ++ .../Controllers/CustomerController.cs | 240 ++++++- BeWoPlanerMobil/Controllers/MainController.cs | 176 +++-- .../Controllers/ReportController.cs | 27 +- .../Controllers/ReportViewerController.cs | 232 +++++- BeWoPlanerMobil/Models/AbstractModel.cs | 17 +- BeWoPlanerMobil/Models/CustomerModel.cs | 5 +- BeWoPlanerMobil/Models/MainModel.cs | 2 + BeWoPlanerMobil/Models/ReportViewerModel.cs | 44 +- .../Scripts/bs-custom-file-input.min.js | 7 + .../Scripts/ownSoft-Scripts/mobileUtils.js | 47 +- .../ownSoft-Scripts/view-scripts/main.js | 5 +- .../ownSoft-Scripts/view-scripts/report.js | 59 -- .../Util/FormCollectionConstants.cs | 2 + BeWoPlanerMobil/Util/MobileUtils.cs | 4 +- .../Views/Customer/Customer.cshtml | 109 ++- .../Customer/CustomerBargeldkassen.cshtml | 6 +- ...omerBargeldtransaktionenFormPartial.cshtml | 2 +- .../Views/Customer/DocumentPartial.cshtml | 333 ++++++++- .../Views/Main/GroupBookingFormPartial.cshtml | 30 +- .../Views/Main/GroupBookingPartial.cshtml | 4 +- BeWoPlanerMobil/Views/Main/Main.cshtml | 70 +- .../Views/Main/MultiBookingFormPartial.cshtml | 22 + .../Views/Main/MultiBookingPartial.cshtml | 4 +- .../Main/ServiceRecordListPartial.cshtml | 204 +++--- .../Views/Main/SingleBookingPartial.cshtml | 668 ++++++++++-------- ...ConfirmationReceiptSignaturePartial.cshtml | 2 +- BeWoPlanerMobil/Views/Report/Report.cshtml | 254 ++++++- .../BerichteFormPartialView.cshtml | 404 +++++++---- .../Views/ReportViewer/ReportViewer.cshtml | 7 +- .../ReportViewerFormPartial.cshtml | 8 +- .../Scheduler/AppointmentFormPartial.cshtml | 6 +- .../AppointmentIntervalFinderPartial.cshtml | 6 +- .../CustomerFilterSelectionPartial.cshtml | 2 +- .../EmployeeForFilteringPartial.cshtml | 2 +- .../Scheduler/OneDaySchedulerPartial.cshtml | 2 +- .../Views/Scheduler/Scheduler.cshtml | 4 +- .../Views/Shared/BeWoReportPartial.cshtml | 2 +- BeWoPlanerMobil/Views/Shared/Error.cshtml | 8 +- BeWoPlanerMobil/Views/Shared/_Layout.cshtml | 73 +- Service/Plugins/PluginLoader.cs | 5 +- 48 files changed, 2388 insertions(+), 890 deletions(-) create mode 100644 BeWoPlanerMobil/Scripts/bs-custom-file-input.min.js diff --git a/BeWo/View/Detail/CustomerView2.xaml b/BeWo/View/Detail/CustomerView2.xaml index a5de10774..40bc8eeff 100644 --- a/BeWo/View/Detail/CustomerView2.xaml +++ b/BeWo/View/Detail/CustomerView2.xaml @@ -160,11 +160,12 @@ - + - + + @@ -176,13 +177,12 @@ - - + + - + - @@ -201,18 +201,18 @@ @@ -242,7 +242,8 @@ - + + @@ -263,8 +264,8 @@ - - + + @@ -289,7 +290,8 @@ - + + @@ -312,7 +314,8 @@ - + + @@ -350,17 +353,17 @@ - - - - - + + + + + - + @@ -505,7 +508,7 @@ - + diff --git a/BeWo/View/Detail/Report/QueryView.xaml.cs b/BeWo/View/Detail/Report/QueryView.xaml.cs index 6089df2cd..d749dbdde 100644 --- a/BeWo/View/Detail/Report/QueryView.xaml.cs +++ b/BeWo/View/Detail/Report/QueryView.xaml.cs @@ -754,7 +754,7 @@ namespace BeWo.View.Detail.Report }, rstr => this.Dispatch(delegate { - DataTable table = BS.Shared.Core.Utils.XMLDeserializeFromString(rstr); + var table = Utils.XMLDeserializeFromString(rstr); datagrid_result.ItemsSource = table; SetOidColumnsInvisible(); diff --git a/BeWo/View/HomeView.xaml b/BeWo/View/HomeView.xaml index 4dd5a4e3c..12e8b7c37 100644 --- a/BeWo/View/HomeView.xaml +++ b/BeWo/View/HomeView.xaml @@ -198,7 +198,6 @@ + + - @Html.DropDownListFor(m => m.SelectedCustomerOid, Model.CustomerListItems, new { onchange = "submitCustomerSelectionForm();", @class = "custom-select" }) + } -
+
@if(Model?.SelectedJsonCustomer != null) { @* ----- Details ----- *@ @@ -129,7 +206,7 @@ var inputDisabled = !AbstractModel.HasRightToEditCustomers ? "disabled" : string.Empty;
-
+
@@ -226,7 +303,7 @@
-
+
Krankenkasse
@@ -238,8 +315,8 @@
-
- Versichertennummer +
+ Versichertennr.
@@ -250,7 +327,7 @@
-
+
Versichertenstatus
@@ -261,7 +338,7 @@
-
+
@@ -318,7 +395,7 @@
-
+
@@ -375,7 +452,7 @@
-
+
@@ -766,7 +843,7 @@
-
+
@Html.Partial("DocumentPartial", Model)
@@ -1030,7 +1107,7 @@