diff --git a/BeWo/ServiceProxy/Generated.cs b/BeWo/ServiceProxy/Generated.cs
index 271bc8f61..c6db1c2ba 100644
--- a/BeWo/ServiceProxy/Generated.cs
+++ b/BeWo/ServiceProxy/Generated.cs
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
//
-// Dieser Code wurde von einem Tool generiert.
-// Laufzeitversion:4.0.30319.42000
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
//
-// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-// der Code erneut generiert wird.
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
//
//------------------------------------------------------------------------------
@@ -3859,24 +3859,24 @@ namespace BeWo.ServiceProxy
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IStreamingService/UpdateBeWoFoldersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
void UpdateBeWoFolders(System.Collections.Generic.List dcs);
- // CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadPackage) von Nachricht "UploadPackage" nicht mit dem Standardwert (UploadDocument) übereinstimmt.
+ // CODEGEN: Generating message contract since the wrapper name (UploadPackage) of message UploadPackage does not match the default value (UploadDocument)
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UploadDocument", ReplyAction="http://tempuri.org/IStreamingService/UploadDocumentResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IStreamingService/UploadDocumentBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.ServiceProxy.UploadResult UploadDocument(BeWo.ServiceProxy.UploadPackage request);
- // CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UpdatePackage) von Nachricht "UpdatePackage" nicht mit dem Standardwert (UpdateDocument) übereinstimmt.
+ // CODEGEN: Generating message contract since the wrapper name (UpdatePackage) of message UpdatePackage does not match the default value (UpdateDocument)
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UpdateDocument", ReplyAction="http://tempuri.org/IStreamingService/UpdateDocumentResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IStreamingService/UpdateDocumentBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.ServiceProxy.UploadResult UpdateDocument(BeWo.ServiceProxy.UpdatePackage request);
- // CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadChatPackage) von Nachricht "UploadChatPackage" nicht mit dem Standardwert (CreateNewSpeziallStreamChatMessagesDC) übereinstimmt.
+ // CODEGEN: Generating message contract since the wrapper name (UploadChatPackage) of message UploadChatPackage does not match the default value (CreateNewSpeziallStreamChatMessagesDC)
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/CreateNewSpeziallStreamChatMessagesDC", ReplyAction="http://tempuri.org/IStreamingService/CreateNewSpeziallStreamChatMessagesDCRespons" +
"e")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IStreamingService/CreateNewSpeziallStreamChatMessagesDCBeWoFau" +
"ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.ServiceProxy.UploadChatResult CreateNewSpeziallStreamChatMessagesDC(BeWo.ServiceProxy.UploadChatPackage request);
- // CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadPackage) von Nachricht "UploadPackage" nicht mit dem Standardwert (UploadImportFile) übereinstimmt.
+ // CODEGEN: Generating message contract since the wrapper name (UploadPackage) of message UploadPackage does not match the default value (UploadImportFile)
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UploadImportFile", ReplyAction="http://tempuri.org/IStreamingService/UploadImportFileResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IStreamingService/UploadImportFileBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
BeWo.ServiceProxy.UploadImportFileResult UploadImportFile(BeWo.ServiceProxy.UploadPackage request);
diff --git a/BeWo/View/Detail/Report/DienstplanerView.xaml.cs b/BeWo/View/Detail/Report/DienstplanerView.xaml.cs
index b2e9a3418..e0f3f26e1 100644
--- a/BeWo/View/Detail/Report/DienstplanerView.xaml.cs
+++ b/BeWo/View/Detail/Report/DienstplanerView.xaml.cs
@@ -2171,7 +2171,14 @@ namespace BeWo.View.Detail.Report
//Event, was bei Klick auf "Drucken" ausgelöst wird
private void LinkPdfExport_OnRequestNavigate(object sender, RequestNavigateEventArgs e)
{
- UpdateReportUrl(_AuswahlWohnheim.WohnheimOid, _AuswahlMonat, "soll");
+ var index = Combobox_Sortierungsarten.SelectedIndex;
+ bool aufsteigend = false;
+ if (radiobutton_absteigend.IsChecked.Value)
+ aufsteigend = false;
+ else if (radiobutton_aufsteigend.IsChecked.Value)
+ aufsteigend = true;
+
+ UpdateReportUrl(_AuswahlWohnheim.WohnheimOid, _AuswahlMonat, "soll", index, aufsteigend);
BeWoUtils.NavigateToReportUri((sender as System.Windows.Documents.Hyperlink).NavigateUri.ToString(), Translator.Translate("Dienstplan (Soll-Version)"));
}
// Dienstzeilen neu generieren
@@ -2204,14 +2211,16 @@ namespace BeWo.View.Detail.Report
}
// Abhängig von Version URL zum Drucken generieren
- private void UpdateReportUrl(long wOid, DateTime date, string sollOderIst)
+ private void UpdateReportUrl(long wOid, DateTime date, string sollOderIst, int sortingIndex, bool aufsteigend)
{
var version = sollOderIst == "soll" ? Utils.EnumName(ReportTypes.RosterReport) : Utils.EnumName(ReportTypes.RosterReportIst);
var url = BeWoApp.SiteOfOrigin
+ "/ReportView.aspx"
+ "?type=" + version
+ "&wid=" + wOid
- + "&dt=" + date.ToString("dd.MM.yyyy");
+ + "&dt=" + date.ToString("dd.MM.yyyy")
+ + "&si=" + sortingIndex
+ + "&order=" + Convert.ToInt32(aufsteigend);
if (sollOderIst == "soll")
{
@@ -2486,7 +2495,8 @@ namespace BeWo.View.Detail.Report
private void linkSortierung_Click(object sender, RoutedEventArgs e)
{
Combobox_Sortierungsarten.ItemsSource = _DienstplanerRootObj.SortierMethoden;
- Combobox_Sortierungsarten.SelectedIndex = 0;
+ if (Combobox_Sortierungsarten.SelectedIndex == -1)
+ Combobox_Sortierungsarten.SelectedIndex = 0;
popUp_sortierung.IsOpen = true;
}
private void Button_SortierungBestaetigen_Click(object sender, RoutedEventArgs e)
diff --git a/BeWoPlanerMobil/Views/Scheduler/OneDaySchedulerPartial.cshtml b/BeWoPlanerMobil/Views/Scheduler/OneDaySchedulerPartial.cshtml
index 13130b0fd..e0d0320a3 100644
--- a/BeWoPlanerMobil/Views/Scheduler/OneDaySchedulerPartial.cshtml
+++ b/BeWoPlanerMobil/Views/Scheduler/OneDaySchedulerPartial.cshtml
@@ -8,7 +8,7 @@
{