MoK: Einträge ohne Zeitangaben, aber mit Dauer werden korrekt gespeichert.

This commit is contained in:
2024-03-20 16:41:05 +01:00
parent 28ff0df2ba
commit d5ab9d86ad
7 changed files with 15 additions and 8 deletions

View File

@@ -2480,12 +2480,18 @@ namespace BeWoPlanerMobil.Controllers
Model.SelectedServiceRecord.DistanceInMeterDecimal = distanceInMeters;
}
if(decimal.TryParse(durationRaw, out var duration) &&
// Warum wird das alles abgefragt?
/*
if(decimal.TryParse(durationRaw, out var duration) &&
Model.SelectedServiceRecord != null &&
Model.SelectedServiceRecord.Start.HasValue &&
Model.SelectedServiceRecord.End.HasValue &&
(Model.SelectedServiceRecord.End-Model.SelectedServiceRecord.Start).Value.TotalMinutes > 0 &&
Model.SelectedServiceRecord.RoundedDuration == 0)
*/
if(decimal.TryParse(durationRaw, out var duration) &&
Model.SelectedServiceRecord != null &&
Model.SelectedServiceRecord.RoundedDuration == 0)
{
Model.SelectedServiceRecord.RoundedDuration = duration;
}

View File

@@ -3,7 +3,7 @@
<PropertyGroup>
<NameOfLastUsedPublishProfile>BeWo2.0</NameOfLastUsedPublishProfile>
<UseIISExpress>true</UseIISExpress>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<Use64BitIISExpress>false</Use64BitIISExpress>
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />

View File

@@ -0,0 +1 @@
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a

View File

@@ -657,7 +657,7 @@ namespace ProHilfeGbR
this.Margins = new System.Drawing.Printing.Margins(75, 75, 47, 100);
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
this.Version = "17.1";
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();

View File

@@ -765,7 +765,7 @@ namespace ProHilfeGbR
this.Margins = new System.Drawing.Printing.Margins(75, 75, 46, 50);
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
this.Version = "17.1";
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();

View File

@@ -860,7 +860,7 @@ namespace ProHilfeGbR
this.Margins = new System.Drawing.Printing.Margins(75, 74, 40, 100);
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
this.Version = "17.1";
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();

View File

@@ -153,7 +153,7 @@ namespace BeWo.Service.Plugins
//t = "7381352241"; // Ressource e.V.
//t = "3607551608"; // Betreuungsbüro Scholz
//t = "3104936392"; // B.A.P. Bielefelder Ambulante Pflege
t = "1106039294"; // Hph Bersenbrück ATZ
//t = "1106039294"; // Hph Bersenbrück ATZ
//t = "5562845955"; // Praunheimer Werkstätten
//t = "4801617798"; // Severin
//t = "1172092025"; // Flingern
@@ -322,7 +322,7 @@ namespace BeWo.Service.Plugins
//t = "9518001524"; // Sozialpädagogische Praxis Astrid Schnödewind
//t = "1048483934"; // Frauenhaus e.V. EWFRA - Wohnprojekt für Frauen
//t = "4293131072"; // ASB Rhein-Erft/Düren e.V. Schulbegleitung
//t = "2221228727"; // Autismus Leben gGmbH
t = "2221228727"; // Autismus Leben gGmbH
//t = "5065709552"; // Biotop e.V.
//t = "9094672461"; // Transkulturelles Betreuungsbüro (Toprak GmbH)
//t = "9008813932"; // Aids Hilfe Giessen
@@ -380,7 +380,7 @@ namespace BeWo.Service.Plugins
//t = "2804185856"; // BEWO Pyramide GmbH (früher HSH Cologne / IFH Cologne)
//t = "2661610871"; // Spitalstiftung Konstanz
//t = "8641002030"; // PHÖNIX BeWo GbR
t = "3367947706"; // PaS - Praxis für angewandte Sozialarbeit (Ambulant betreutes Wohnen)
//t = "3367947706"; // PaS - Praxis für angewandte Sozialarbeit (Ambulant betreutes Wohnen)
return t;