AB
This commit is contained in:
@@ -324,6 +324,10 @@
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\Detail\PreisView.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="View\Detail\UrlaubstagSchenkenView.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
@@ -901,6 +905,8 @@
|
||||
<Compile Include="ViewModel\DocumentTreeItemVM.cs" />
|
||||
<Compile Include="ViewModel\DokumentvorlageVM.cs" />
|
||||
<Compile Include="ViewModel\GeschenkterUrlaubstagVM.cs" />
|
||||
<Compile Include="ViewModel\ListViewModel\PreisListVM.cs" />
|
||||
<Compile Include="ViewModel\PreisVM.cs" />
|
||||
<Compile Include="ViewModel\PrintSelectionVM.cs" />
|
||||
<Compile Include="ViewModel\QuittierungsbelegsstatusVM.cs" />
|
||||
<Compile Include="ViewModel\RatingTypeVM.cs" />
|
||||
@@ -1039,6 +1045,9 @@
|
||||
<Compile Include="View\Detail\DateiBearbeiten.xaml.cs">
|
||||
<DependentUpon>DateiBearbeiten.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\Detail\PreisView.xaml.cs">
|
||||
<DependentUpon>PreisView.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\Detail\UrlaubstagSchenkenView.xaml.cs">
|
||||
<DependentUpon>UrlaubstagSchenkenView.xaml</DependentUpon>
|
||||
</Compile>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -1667,6 +1667,9 @@ namespace BeWo.ServiceProxy
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Employee2SchedulerAppointmentDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Employee2SchedulerAppointmentDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<BS.Shared.DataContracts.ValueListEntryDC, System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC>>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.PlatzhalterDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.PlatzhalterDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.VorlagentabelleDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.DokumentvorlageDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.DokumentvorlageDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ConfirmationReceiptSignatureDC>))]
|
||||
@@ -1693,6 +1696,9 @@ namespace BeWo.ServiceProxy
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.RatingTypeDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.UrlaubsplanerRootDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceRecordValidationResultDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.BudgetDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.PreisDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.PreisDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.FlexibleReportFilterDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceDescriptionDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.FlexibleReportResultDC))]
|
||||
@@ -1709,9 +1715,6 @@ namespace BeWo.ServiceProxy
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ReportTypes))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AbsenceOverviewFilterDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.VorlagentabelleDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.VorlagentabelleDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.PlatzhalterDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.PlatzhalterDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.BargeldkassenDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.BargeldkassenDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.BargeldtransaktionDC>))]
|
||||
@@ -1734,7 +1737,8 @@ namespace BeWo.ServiceProxy
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.TextbausteinDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SbdConfigDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SignatureDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.BudgetDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.InvoiceDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.MandatorDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceCategoryDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceRecordGroupDC))]
|
||||
@@ -1764,8 +1768,6 @@ namespace BeWo.ServiceProxy
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.UiElementDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.TextModuleDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.TextModuleDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceDC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.InvoiceDC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Settlement2DC>))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Settlement2DC))]
|
||||
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceItemDC>))]
|
||||
@@ -3714,24 +3716,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<BS.Shared.DataContracts.BeWoFolderDC> dcs);
|
||||
|
||||
// CODEGEN: Generating message contract since the wrapper name (UploadPackage) of message UploadPackage does not match the default value (UploadDocument)
|
||||
// CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadPackage) von Nachricht "UploadPackage" nicht mit dem Standardwert (UploadDocument) übereinstimmt.
|
||||
[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: Generating message contract since the wrapper name (UpdatePackage) of message UpdatePackage does not match the default value (UpdateDocument)
|
||||
// CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UpdatePackage) von Nachricht "UpdatePackage" nicht mit dem Standardwert (UpdateDocument) übereinstimmt.
|
||||
[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: Generating message contract since the wrapper name (UploadChatPackage) of message UploadChatPackage does not match the default value (CreateNewSpeziallStreamChatMessagesDC)
|
||||
// CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadChatPackage) von Nachricht "UploadChatPackage" nicht mit dem Standardwert (CreateNewSpeziallStreamChatMessagesDC) übereinstimmt.
|
||||
[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: Generating message contract since the wrapper name (UploadPackage) of message UploadPackage does not match the default value (UploadImportFile)
|
||||
// CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadPackage) von Nachricht "UploadPackage" nicht mit dem Standardwert (UploadImportFile) übereinstimmt.
|
||||
[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);
|
||||
@@ -4941,6 +4943,22 @@ namespace BeWo.ServiceProxy
|
||||
public interface IOperationsService
|
||||
{
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetPlatzhalterForCustomer", ReplyAction="http://tempuri.org/IOperationsService/GetPlatzhalterForCustomerResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetPlatzhalterForCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
System.Collections.Generic.List<BS.Shared.DataContracts.PlatzhalterDC> GetPlatzhalterForCustomer();
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetPlatzhalterForEmployee", ReplyAction="http://tempuri.org/IOperationsService/GetPlatzhalterForEmployeeResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetPlatzhalterForEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
System.Collections.Generic.List<BS.Shared.DataContracts.PlatzhalterDC> GetPlatzhalterForEmployee();
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetFolderById", ReplyAction="http://tempuri.org/IOperationsService/GetFolderByIdResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetFolderByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
BS.Shared.DataContracts.BeWoFolderDC GetFolderById(long oid);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetVorlagentabelleById", ReplyAction="http://tempuri.org/IOperationsService/GetVorlagentabelleByIdResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetVorlagentabelleByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
BS.Shared.DataContracts.VorlagentabelleDC GetVorlagentabelleById(long oid);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetDokumentvorlagenInFolder", ReplyAction="http://tempuri.org/IOperationsService/GetDokumentvorlagenInFolderResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetDokumentvorlagenInFolderBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
System.Collections.Generic.List<BS.Shared.DataContracts.DokumentvorlageDC> GetDokumentvorlagenInFolder(long folderOid);
|
||||
@@ -5091,6 +5109,22 @@ namespace BeWo.ServiceProxy
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CheckForExistingSignatureBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
BS.Shared.DataContracts.ServiceRecordValidationResultDC CheckForExistingSignature(BS.Shared.DataContracts.ServiceRecordDC serviceRecord);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateBudget", ReplyAction="http://tempuri.org/IOperationsService/UpdateBudgetResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateBudgetBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void UpdateBudget(System.Collections.Generic.List<BS.Shared.DataContracts.BudgetDC> budgets);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewPreis", ReplyAction="http://tempuri.org/IOperationsService/InsertNewPreisResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewPreisBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void InsertNewPreis(System.Collections.Generic.List<BS.Shared.DataContracts.PreisDC> preise);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivatePreis", ReplyAction="http://tempuri.org/IOperationsService/DeactivatePreisResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivatePreisBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void DeactivatePreis(System.Collections.Generic.Dictionary<long, long> pOid2Version);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdatePreis", ReplyAction="http://tempuri.org/IOperationsService/UpdatePreisResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdatePreisBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void UpdatePreis(System.Collections.Generic.List<BS.Shared.DataContracts.PreisDC> preise);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetFlexibleReportResult", ReplyAction="http://tempuri.org/IOperationsService/GetFlexibleReportResultResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetFlexibleReportResultBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
BS.Shared.DataContracts.FlexibleReportResultDC GetFlexibleReportResult(BS.Shared.DataContracts.FlexibleReportFilterDC filter);
|
||||
@@ -5359,21 +5393,9 @@ namespace BeWo.ServiceProxy
|
||||
"lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
System.Collections.Generic.List<BS.Shared.DataContracts.PlatzhalterDC> GetPlatzhalterForSupportConcept();
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetPlatzhalterForCustomer", ReplyAction="http://tempuri.org/IOperationsService/GetPlatzhalterForCustomerResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetPlatzhalterForCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
System.Collections.Generic.List<BS.Shared.DataContracts.PlatzhalterDC> GetPlatzhalterForCustomer();
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetPlatzhalterForEmployee", ReplyAction="http://tempuri.org/IOperationsService/GetPlatzhalterForEmployeeResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetPlatzhalterForEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
System.Collections.Generic.List<BS.Shared.DataContracts.PlatzhalterDC> GetPlatzhalterForEmployee();
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetFolderById", ReplyAction="http://tempuri.org/IOperationsService/GetFolderByIdResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetFolderByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
BS.Shared.DataContracts.BeWoFolderDC GetFolderById(long oid);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetVorlagentabelleById", ReplyAction="http://tempuri.org/IOperationsService/GetVorlagentabelleByIdResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetVorlagentabelleByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
BS.Shared.DataContracts.VorlagentabelleDC GetVorlagentabelleById(long oid);
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateNewChatMessagesDC", ReplyAction="http://tempuri.org/IOperationsService/CreateNewChatMessagesDCResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateNewChatMessagesDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
BS.Shared.DataContracts.ChatMessageDC CreateNewChatMessagesDC(long senderOid, long empfängerOid, string message, bool isDeliverd, long teamid, string messageid);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateIsChatActiveCustomerAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/UpdateIsChatActiveCustomerAPPCodeDCResponse" +
|
||||
"")]
|
||||
@@ -5653,9 +5675,9 @@ namespace BeWo.ServiceProxy
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateBudgetBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void DeactivateBudget(System.Collections.Generic.Dictionary<long, long> pOid2Version);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateBudget", ReplyAction="http://tempuri.org/IOperationsService/UpdateBudgetResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateBudgetBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void UpdateBudget(System.Collections.Generic.List<BS.Shared.DataContracts.BudgetDC> budgets);
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateInvoices", ReplyAction="http://tempuri.org/IOperationsService/UpdateInvoicesResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateInvoicesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void UpdateInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceDC> invoices);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateMandator", ReplyAction="http://tempuri.org/IOperationsService/UpdateMandatorResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateMandatorBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
@@ -5956,10 +5978,6 @@ namespace BeWo.ServiceProxy
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateNewCustomerAPPCodeDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
BS.Shared.DataContracts.CustomerAPPCodeDC CreateNewCustomerAPPCodeDC(long customerOid, string kundennummer, string apikey);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateNewChatMessagesDC", ReplyAction="http://tempuri.org/IOperationsService/CreateNewChatMessagesDCResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateNewChatMessagesDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
BS.Shared.DataContracts.ChatMessageDC CreateNewChatMessagesDC(long senderOid, long empfängerOid, string message, bool isDeliverd, long teamid, string messageid);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateInvoices", ReplyAction="http://tempuri.org/IOperationsService/DeactivateInvoicesResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateInvoicesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void DeactivateInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceDC> invoices);
|
||||
@@ -6059,6 +6077,10 @@ namespace BeWo.ServiceProxy
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllBudgetsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
System.Collections.Generic.List<BS.Shared.DataContracts.BudgetDC> GetAllBudgets();
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllPreise", ReplyAction="http://tempuri.org/IOperationsService/GetAllPreiseResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllPreiseBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
System.Collections.Generic.List<BS.Shared.DataContracts.PreisDC> GetAllPreise();
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllServiceDescriptions", ReplyAction="http://tempuri.org/IOperationsService/GetAllServiceDescriptionsResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllServiceDescriptionsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
System.Collections.Generic.List<BS.Shared.DataContracts.ServiceDescriptionDC> GetAllServiceDescriptions();
|
||||
@@ -6235,10 +6257,6 @@ namespace BeWo.ServiceProxy
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAccountingTransactions", ReplyAction="http://tempuri.org/IOperationsService/UpdateAccountingTransactionsResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAccountingTransactionsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void UpdateAccountingTransactions(System.Collections.Generic.List<BS.Shared.DataContracts.AccountingTransactionDC> pAccountingTransactions);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateInvoices", ReplyAction="http://tempuri.org/IOperationsService/UpdateInvoicesResponse")]
|
||||
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateInvoicesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
|
||||
void UpdateInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceDC> invoices);
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
@@ -6275,6 +6293,26 @@ namespace BeWo.ServiceProxy
|
||||
{
|
||||
}
|
||||
|
||||
public System.Collections.Generic.List<BS.Shared.DataContracts.PlatzhalterDC> GetPlatzhalterForCustomer()
|
||||
{
|
||||
return base.Channel.GetPlatzhalterForCustomer();
|
||||
}
|
||||
|
||||
public System.Collections.Generic.List<BS.Shared.DataContracts.PlatzhalterDC> GetPlatzhalterForEmployee()
|
||||
{
|
||||
return base.Channel.GetPlatzhalterForEmployee();
|
||||
}
|
||||
|
||||
public BS.Shared.DataContracts.BeWoFolderDC GetFolderById(long oid)
|
||||
{
|
||||
return base.Channel.GetFolderById(oid);
|
||||
}
|
||||
|
||||
public BS.Shared.DataContracts.VorlagentabelleDC GetVorlagentabelleById(long oid)
|
||||
{
|
||||
return base.Channel.GetVorlagentabelleById(oid);
|
||||
}
|
||||
|
||||
public System.Collections.Generic.List<BS.Shared.DataContracts.DokumentvorlageDC> GetDokumentvorlagenInFolder(long folderOid)
|
||||
{
|
||||
return base.Channel.GetDokumentvorlagenInFolder(folderOid);
|
||||
@@ -6420,6 +6458,26 @@ namespace BeWo.ServiceProxy
|
||||
return base.Channel.CheckForExistingSignature(serviceRecord);
|
||||
}
|
||||
|
||||
public void UpdateBudget(System.Collections.Generic.List<BS.Shared.DataContracts.BudgetDC> budgets)
|
||||
{
|
||||
base.Channel.UpdateBudget(budgets);
|
||||
}
|
||||
|
||||
public void InsertNewPreis(System.Collections.Generic.List<BS.Shared.DataContracts.PreisDC> preise)
|
||||
{
|
||||
base.Channel.InsertNewPreis(preise);
|
||||
}
|
||||
|
||||
public void DeactivatePreis(System.Collections.Generic.Dictionary<long, long> pOid2Version)
|
||||
{
|
||||
base.Channel.DeactivatePreis(pOid2Version);
|
||||
}
|
||||
|
||||
public void UpdatePreis(System.Collections.Generic.List<BS.Shared.DataContracts.PreisDC> preise)
|
||||
{
|
||||
base.Channel.UpdatePreis(preise);
|
||||
}
|
||||
|
||||
public BS.Shared.DataContracts.FlexibleReportResultDC GetFlexibleReportResult(BS.Shared.DataContracts.FlexibleReportFilterDC filter)
|
||||
{
|
||||
return base.Channel.GetFlexibleReportResult(filter);
|
||||
@@ -6715,24 +6773,9 @@ namespace BeWo.ServiceProxy
|
||||
return base.Channel.GetPlatzhalterForSupportConcept();
|
||||
}
|
||||
|
||||
public System.Collections.Generic.List<BS.Shared.DataContracts.PlatzhalterDC> GetPlatzhalterForCustomer()
|
||||
public BS.Shared.DataContracts.ChatMessageDC CreateNewChatMessagesDC(long senderOid, long empfängerOid, string message, bool isDeliverd, long teamid, string messageid)
|
||||
{
|
||||
return base.Channel.GetPlatzhalterForCustomer();
|
||||
}
|
||||
|
||||
public System.Collections.Generic.List<BS.Shared.DataContracts.PlatzhalterDC> GetPlatzhalterForEmployee()
|
||||
{
|
||||
return base.Channel.GetPlatzhalterForEmployee();
|
||||
}
|
||||
|
||||
public BS.Shared.DataContracts.BeWoFolderDC GetFolderById(long oid)
|
||||
{
|
||||
return base.Channel.GetFolderById(oid);
|
||||
}
|
||||
|
||||
public BS.Shared.DataContracts.VorlagentabelleDC GetVorlagentabelleById(long oid)
|
||||
{
|
||||
return base.Channel.GetVorlagentabelleById(oid);
|
||||
return base.Channel.CreateNewChatMessagesDC(senderOid, empfängerOid, message, isDeliverd, teamid, messageid);
|
||||
}
|
||||
|
||||
public void UpdateIsChatActiveCustomerAPPCodeDC(long customerOid, int activeType)
|
||||
@@ -7050,9 +7093,9 @@ namespace BeWo.ServiceProxy
|
||||
base.Channel.DeactivateBudget(pOid2Version);
|
||||
}
|
||||
|
||||
public void UpdateBudget(System.Collections.Generic.List<BS.Shared.DataContracts.BudgetDC> budgets)
|
||||
public void UpdateInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceDC> invoices)
|
||||
{
|
||||
base.Channel.UpdateBudget(budgets);
|
||||
base.Channel.UpdateInvoices(invoices);
|
||||
}
|
||||
|
||||
public BS.Shared.DataContracts.MandatorDC UpdateMandator(BS.Shared.DataContracts.MandatorDC mandator)
|
||||
@@ -7370,11 +7413,6 @@ namespace BeWo.ServiceProxy
|
||||
return base.Channel.CreateNewCustomerAPPCodeDC(customerOid, kundennummer, apikey);
|
||||
}
|
||||
|
||||
public BS.Shared.DataContracts.ChatMessageDC CreateNewChatMessagesDC(long senderOid, long empfängerOid, string message, bool isDeliverd, long teamid, string messageid)
|
||||
{
|
||||
return base.Channel.CreateNewChatMessagesDC(senderOid, empfängerOid, message, isDeliverd, teamid, messageid);
|
||||
}
|
||||
|
||||
public void DeactivateInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceDC> invoices)
|
||||
{
|
||||
base.Channel.DeactivateInvoices(invoices);
|
||||
@@ -7490,6 +7528,11 @@ namespace BeWo.ServiceProxy
|
||||
return base.Channel.GetAllBudgets();
|
||||
}
|
||||
|
||||
public System.Collections.Generic.List<BS.Shared.DataContracts.PreisDC> GetAllPreise()
|
||||
{
|
||||
return base.Channel.GetAllPreise();
|
||||
}
|
||||
|
||||
public System.Collections.Generic.List<BS.Shared.DataContracts.ServiceDescriptionDC> GetAllServiceDescriptions()
|
||||
{
|
||||
return base.Channel.GetAllServiceDescriptions();
|
||||
@@ -7689,11 +7732,6 @@ namespace BeWo.ServiceProxy
|
||||
{
|
||||
base.Channel.UpdateAccountingTransactions(pAccountingTransactions);
|
||||
}
|
||||
|
||||
public void UpdateInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceDC> invoices)
|
||||
{
|
||||
base.Channel.UpdateInvoices(invoices);
|
||||
}
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
|
||||
56
BeWo/View/Detail/PreisView.xaml
Normal file
56
BeWo/View/Detail/PreisView.xaml
Normal file
@@ -0,0 +1,56 @@
|
||||
<localView:BeWoView
|
||||
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
||||
x:Class="BeWo.View.Detail.PreisView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:localView="clr-namespace:BeWo.View"
|
||||
xmlns:val="clr-namespace:BeWo.Validation"
|
||||
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
||||
xmlns:dxe2="clr-namespace:DevExpress.XtraEditors;assembly=DevExpress.XtraEditors.v17.1"
|
||||
Height="Auto" Width="Auto" HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch" Focusable="True">
|
||||
<GroupBox Name="root" Header="Aktuell definierte Preise" Style="{StaticResource ObjectEditGroupBox}">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Label>Bezeichnung</Label>
|
||||
<TextBox Grid.Column="1" Margin="3" Height="23" Text="{val:ValidationBinding Path=NewVM.Name, UpdateSourceTrigger=PropertyChanged}"/>
|
||||
<Label Grid.Column="2" >Preis</Label>
|
||||
<dxe:TextEdit Grid.Column="3" MaskType="Numeric" Mask="########0.00" MaskUseAsDisplayFormat="True" Height ="23" Margin="3" EditValue="{val:ValidationBinding Path=NewVM.Betrag, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Button Name="button_addPreis" Click="Button_addPreis_Click" Grid.Column="4" Height="25" Margin="3,3,3,3" Padding="5 0" IsDefault="True" Content="Hinzufügen" />
|
||||
|
||||
<dxg:GridControl x:Name="DatagridRegions" Margin="0,10,0,0" Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="6" DataSource="{Binding VMList}">
|
||||
<dxg:GridControl.Columns>
|
||||
<dxg:GridColumn FieldName="IsDeleteable" Header="" FixedWidth="True" Width="24" ReadOnly="True">
|
||||
<dxg:GridColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<Button Content="r" IsEnabled="{Binding Path=EditValue}" FontFamily="Webdings" Click="DeleteButton_Click" Width="18" Height="18" VerticalAlignment="Center" />
|
||||
</DataTemplate>
|
||||
</dxg:GridColumn.CellTemplate>
|
||||
</dxg:GridColumn>
|
||||
<dxg:GridColumn FieldName="Name" Header="Bezeichnung" Width="200" />
|
||||
<dxg:GridColumn FieldName="Betrag" Header="Preis" Width="200" SortOrder="Ascending" SortIndex="0">
|
||||
<dxg:GridColumn.EditSettings>
|
||||
<dxe:TextEditSettings DisplayFormat="##,###,##0.00" Mask="##,###,##0.00" MaskType="Numeric"></dxe:TextEditSettings>
|
||||
</dxg:GridColumn.EditSettings>
|
||||
</dxg:GridColumn>
|
||||
<dxg:GridColumn FieldName="PreisInsTs" Header="Gültig ab" Width="200" EditSettings="{dxe:DateSettings DisplayFormat=d}"/>
|
||||
</dxg:GridControl.Columns>
|
||||
<dxg:GridControl.View>
|
||||
<dxg:TableView AutoWidth="true" ShowGroupPanel="False" ShowGroupedColumns="false" ShowTotalSummary="False" NavigationStyle="Cell" />
|
||||
</dxg:GridControl.View>
|
||||
</dxg:GridControl>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</localView:BeWoView>
|
||||
99
BeWo/View/Detail/PreisView.xaml.cs
Normal file
99
BeWo/View/Detail/PreisView.xaml.cs
Normal file
@@ -0,0 +1,99 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.Extensions;
|
||||
|
||||
using BeWo.Core;
|
||||
using BeWo.Core.Service;
|
||||
using BeWo.ServiceProxy;
|
||||
using BeWo.Validation;
|
||||
using BeWo.ViewModel;
|
||||
using BeWo.ViewModel.ListViewModel;
|
||||
|
||||
using DevExpress.Xpf.Editors.Settings;
|
||||
using DevExpress.Xpf.Grid;
|
||||
|
||||
namespace BeWo.View.Detail
|
||||
{
|
||||
public partial class PreisView : BeWoView
|
||||
{
|
||||
private PreisListVM _ViewModel;
|
||||
|
||||
public PreisView(PreisListVM pViewModel)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
ViewModel = pViewModel;
|
||||
}
|
||||
|
||||
public override bool IsDirty
|
||||
{
|
||||
get { return ViewModel != null && ViewModel.IsDirty; }
|
||||
}
|
||||
|
||||
public override string Title
|
||||
{
|
||||
get { return "Preise"; }
|
||||
}
|
||||
|
||||
// TODO
|
||||
internal override DependencyObject ValidationOnSaveRootElement
|
||||
{
|
||||
get { return button_addPreis; }
|
||||
}
|
||||
|
||||
private PreisListVM ViewModel
|
||||
{
|
||||
get { return _ViewModel; }
|
||||
|
||||
set
|
||||
{
|
||||
_ViewModel = value;
|
||||
root.DataContext = value;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void Save()
|
||||
{
|
||||
var lToDos = new List<Action<IOperationsService>>();
|
||||
|
||||
if (ViewModel.AddedCount > 0)
|
||||
{
|
||||
lToDos.Add(s => s.InsertNewPreis(ViewModel.CommitAdded()));
|
||||
}
|
||||
|
||||
if (ViewModel.RemovedCount > 0)
|
||||
{
|
||||
lToDos.Add(s => s.DeactivatePreis(ViewModel.GetRemoved().ToDictionary(dc => dc.PreisOid.Value, dc => dc.PreisVersion.Value)));
|
||||
}
|
||||
|
||||
if (ViewModel.ChangedCount > 0)
|
||||
{
|
||||
lToDos.Add(s => s.UpdatePreis(ViewModel.CommitChanged()));
|
||||
}
|
||||
|
||||
ServiceFacade.DoMultipleOperationsServicesAsync(lToDos, ReloadViewModel);
|
||||
}
|
||||
|
||||
private void DeleteButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ViewModel.VMList.Remove(DatagridRegions.GetCurrentValue<PreisVM>());
|
||||
BeWoWpfUtils.RefreshDXGrid(DatagridRegions);
|
||||
}
|
||||
|
||||
private void ReloadViewModel()
|
||||
{
|
||||
VMFactory.CreatePreisListVMAsync(r => this.Dispatch(delegate { ViewModel = r; }));
|
||||
}
|
||||
|
||||
private void Button_addPreis_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (ValidationTrigger.Validate(this))
|
||||
{
|
||||
ViewModel.AddNewVMToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -100,6 +100,7 @@
|
||||
<dxa:AccordionItem Header="Sonstiges" Foreground="{StaticResource TabItemTextBrush}">
|
||||
<dxa:AccordionItem Header="{markup:Translate Abwesenheitskategorien}" Name="TabitemAbsenceCategories" Selected="Tabitem_Selected" Foreground="Black"/>
|
||||
<dxa:AccordionItem Header="{markup:Translate Budgets}" Name="TabitemBudgets" Selected="Tabitem_Selected" Foreground="Black"/>
|
||||
<dxa:AccordionItem Header="{markup:Translate Preise}" Name="TabitemPreise" Selected="Tabitem_Selected" Foreground="Black"/>
|
||||
<dxa:AccordionItem Header="{markup:Translate Dienste}" Name="TabitemDienste" Selected="Tabitem_Selected" Foreground="Black"/>
|
||||
<dxa:AccordionItem Header="{markup:Translate Finanzkategorien}" Name="TabitemFinazCategories" Selected="Tabitem_Selected" Foreground="Black"/>
|
||||
<dxa:AccordionItem Header="{markup:Translate Notizenkategorie}" Name="TabitemNotizenkategorie" Selected="Tabitem_Selected" Foreground="Black"/>
|
||||
|
||||
@@ -402,6 +402,10 @@ namespace BeWo.View.Master
|
||||
VMFactory.CreateBudgetListVMAsync(r =>
|
||||
this.Dispatch(() => AddView(TabitemBudgets, new BudgetView(r))));
|
||||
return;
|
||||
case nameof(TabitemPreise):
|
||||
VMFactory.CreatePreisListVMAsync(r =>
|
||||
this.Dispatch(() => AddView(TabitemPreise, new PreisView(r))));
|
||||
return;
|
||||
case nameof(TabitemDienste):
|
||||
VMFactory.CreateDienstListVMAsync(r =>
|
||||
this.Dispatch(() => AddView(TabitemDienste, new DienstView(r))));
|
||||
|
||||
15
BeWo/ViewModel/ListViewModel/PreisListVM.cs
Normal file
15
BeWo/ViewModel/ListViewModel/PreisListVM.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
|
||||
namespace BeWo.ViewModel.ListViewModel
|
||||
{
|
||||
public class PreisListVM : AbstractDCListMapperVM<PreisDC, PreisVM>
|
||||
{
|
||||
public PreisListVM(List<PreisDC> pDCs): base(pDCs)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
113
BeWo/ViewModel/PreisVM.cs
Normal file
113
BeWo/ViewModel/PreisVM.cs
Normal file
@@ -0,0 +1,113 @@
|
||||
using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BeWo.ViewModel
|
||||
{
|
||||
public class PreisVM : AbstractDCMapperVM<PreisDC>
|
||||
{
|
||||
private DateTime? _PreisInsTs;
|
||||
private long? _PreisOid;
|
||||
private long? _PreisVersion;
|
||||
private SystemEntryID? _PreisSystemEntryID;
|
||||
private string _Name;
|
||||
private decimal? _Betrag;
|
||||
|
||||
public PreisVM(PreisDC preisDC) : base(preisDC, preisDC.PreisOid == null)
|
||||
{ }
|
||||
|
||||
public long? PreisOid
|
||||
{
|
||||
get { return _PreisOid; }
|
||||
set
|
||||
{
|
||||
_PreisOid = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.PreisOid, value), nameof(_PreisOid));
|
||||
FirePropertyChanged(nameof(_PreisOid));
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime? PreisInsTs
|
||||
{
|
||||
get { return _PreisInsTs; }
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_PreisInsTs, value))
|
||||
{
|
||||
_PreisInsTs = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.PreisInsTs, value), nameof(_PreisInsTs));
|
||||
FirePropertyChanged(nameof(_PreisInsTs));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public long? PreisVersion
|
||||
{
|
||||
get { return _PreisVersion; }
|
||||
set
|
||||
{
|
||||
_PreisVersion = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.PreisVersion, value), nameof(_PreisVersion));
|
||||
FirePropertyChanged(nameof(_PreisVersion));
|
||||
}
|
||||
}
|
||||
|
||||
public SystemEntryID? PreisSystemEntryID
|
||||
{
|
||||
get { return _PreisSystemEntryID; }
|
||||
set
|
||||
{
|
||||
_PreisSystemEntryID = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.PreisSystemEntryID, value), nameof(_PreisSystemEntryID));
|
||||
FirePropertyChanged(nameof(_PreisSystemEntryID));
|
||||
}
|
||||
}
|
||||
|
||||
public string Name
|
||||
{
|
||||
get { return _Name; }
|
||||
set
|
||||
{
|
||||
_Name = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Name, value), nameof(_Name));
|
||||
FirePropertyChanged(nameof(_Name));
|
||||
}
|
||||
}
|
||||
|
||||
public decimal? Betrag
|
||||
{
|
||||
get { return _Betrag; }
|
||||
set
|
||||
{
|
||||
_Betrag = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.Betrag, value), nameof(_Betrag));
|
||||
FirePropertyChanged(nameof(_Betrag));
|
||||
}
|
||||
}
|
||||
|
||||
protected override void InitByDataContract(PreisDC bDataContract)
|
||||
{
|
||||
_PreisOid = bDataContract.PreisOid;
|
||||
_PreisVersion = bDataContract.PreisVersion;
|
||||
_PreisSystemEntryID = bDataContract.PreisSystemEntryID;
|
||||
Name = bDataContract.Name;
|
||||
Betrag = bDataContract.Betrag;
|
||||
PreisInsTs = bDataContract.PreisInsTs;
|
||||
}
|
||||
|
||||
protected override PreisDC MapToDataContract(PreisDC bDataContract, bool doCommit)
|
||||
{
|
||||
bDataContract.PreisOid = _PreisOid;
|
||||
bDataContract.PreisVersion = _PreisVersion;
|
||||
bDataContract.PreisSystemEntryID = _PreisSystemEntryID;
|
||||
bDataContract.Name = _Name;
|
||||
bDataContract.Betrag = _Betrag;
|
||||
bDataContract.PreisInsTs = _PreisInsTs;
|
||||
return bDataContract;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -460,6 +460,12 @@ namespace BeWo.ViewModel
|
||||
r => pCallBack(new BudgetListVM(r.ToList())));
|
||||
}
|
||||
|
||||
public static void CreatePreisListVMAsync(Action<PreisListVM> pCallBack)
|
||||
{
|
||||
ServiceFacade.DoOperationsServiceAsync(s => s.GetAllPreise(),
|
||||
r => pCallBack(new PreisListVM(r.ToList())));
|
||||
}
|
||||
|
||||
public static void CreateDienstListVMAsync(Action<DienstInfoListVM> pCallBack)
|
||||
{
|
||||
ServiceFacade.DoOperationsServiceAsync(s => s.GetAllDienste(),
|
||||
|
||||
@@ -1,18 +1,13 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.28307.1209
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.31424.327
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Client", "Client", "{E7543C39-A44C-40C9-82C9-E7FAA2D9A852}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Server", "Server", "{FEB0336B-F053-40B6-92DD-7DE56AB9408A}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ReportImp", "ReportImp", "{D8A691C5-146D-4613-86CC-438F02FE9106}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
ReportImp\demo_reports\ServiceInvoiceReport.cs = ReportImp\demo_reports\ServiceInvoiceReport.cs
|
||||
ReportImp\demo_reports\ServiceInvoiceReport.Designer.cs = ReportImp\demo_reports\ServiceInvoiceReport.Designer.cs
|
||||
ReportImp\demo_reports\ServiceInvoiceReport.resx = ReportImp\demo_reports\ServiceInvoiceReport.resx
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BeWo", "BeWo\BeWo.csproj", "{3FEBB560-9275-413A-9767-BB68C44EEBC3}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
@@ -651,6 +646,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InFamiliaGbr", "ReportImp\I
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AbwMuenster", "ReportImp\AbwMuenster\AbwMuenster.csproj", "{78CEF27A-E950-41B0-B0FD-2930D2873CE7}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProIntegra", "ReportImp\ProIntegra\ProIntegra.csproj", "{7FCD3132-1656-4051-B4D8-650DEB349A61}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|.NET = Debug|.NET
|
||||
@@ -7786,6 +7783,30 @@ Global
|
||||
{78CEF27A-E950-41B0-B0FD-2930D2873CE7}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{78CEF27A-E950-41B0-B0FD-2930D2873CE7}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{78CEF27A-E950-41B0-B0FD-2930D2873CE7}.Release|x86.Build.0 = Release|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Debug|.NET.Build.0 = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.DebugRemote|.NET.ActiveCfg = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.DebugRemote|.NET.Build.0 = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.DebugRemote|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.DebugRemote|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.DebugRemote|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.DebugRemote|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.DebugRemote|x86.ActiveCfg = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.DebugRemote|x86.Build.0 = Debug|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Release|.NET.ActiveCfg = Release|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Release|.NET.Build.0 = Release|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
@@ -8107,6 +8128,7 @@ Global
|
||||
{7CEC8766-79E1-4A4E-A140-EFE4A8A160D3} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{047F72F1-C8C7-4BBE-95EF-C98167D9229D} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{78CEF27A-E950-41B0-B0FD-2930D2873CE7} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
{7FCD3132-1656-4051-B4D8-650DEB349A61} = {D8A691C5-146D-4613-86CC-438F02FE9106}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {FBE985BB-9F0F-4DBB-8F94-ABC37A803FF9}
|
||||
|
||||
@@ -203,6 +203,7 @@
|
||||
<Compile Include="Entities\Dokumentvorlage.cs" />
|
||||
<Compile Include="Entities\GeschenkterUrlaubstag.cs" />
|
||||
<Compile Include="Entities\GoalRating.cs" />
|
||||
<Compile Include="Entities\Preis.cs" />
|
||||
<Compile Include="Entities\Quittierungsbelegsstatus.cs" />
|
||||
<Compile Include="Entities\Rating.cs" />
|
||||
<Compile Include="Entities\RatingType.cs" />
|
||||
@@ -666,6 +667,7 @@
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="ICD10\icd10gm2012syst_claml_20110923.xml" />
|
||||
<Content Include="Mappings\Preis.hbm.xml" />
|
||||
<EmbeddedResource Include="Mappings\Dokumentvorlage.hbm.xml" />
|
||||
<EmbeddedResource Include="Mappings\Vorlagentabelle.hbm.xml" />
|
||||
<EmbeddedResource Include="Mappings\HomeViewPanel.hbm.xml">
|
||||
|
||||
66
Data/Entities/Preis.cs
Normal file
66
Data/Entities/Preis.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using BS.Shared;
|
||||
|
||||
namespace BeWo.Data.Entities
|
||||
{
|
||||
public class Preis : BeWoEntityBase
|
||||
{
|
||||
private string _Name;
|
||||
private decimal? _Betrag;
|
||||
private DateTime? _InsTs;
|
||||
|
||||
public Preis()
|
||||
{
|
||||
_Tid = TableID.Preis;
|
||||
}
|
||||
|
||||
public virtual string Name
|
||||
{
|
||||
get
|
||||
{
|
||||
return _Name;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_Name, value))
|
||||
{
|
||||
_Name = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual decimal? Betrag
|
||||
{
|
||||
get
|
||||
{
|
||||
return _Betrag;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_Betrag, value))
|
||||
{
|
||||
_Betrag = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual DateTime? InsTs
|
||||
{
|
||||
get
|
||||
{
|
||||
return _InsTs;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (AreDifferent(_InsTs, value))
|
||||
{
|
||||
_InsTs = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
21
Data/Mappings/Preis.hbm.xml
Normal file
21
Data/Mappings/Preis.hbm.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
|
||||
<class name="BeWo.Data.Entities.Preis,BeWo.Data" table="Preis">
|
||||
<id name="Oid" column="Oid" type="Int64" unsaved-value="null">
|
||||
<generator class="identity" />
|
||||
</id>
|
||||
|
||||
<version column="Version" type="Int64" name="Version" />
|
||||
|
||||
<property column="Tid" type="BS.Shared.TableID, BS.Shared" name="_Tid" access="field" />
|
||||
<property column="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" name="IsActive" />
|
||||
<property column="Notice" type="String" name="Notice" length="1024" />
|
||||
<property column="InsTs" type="DateTime" name="InsTs" />
|
||||
<property column="InsUser" type="String" name="InsUser" length="256" />
|
||||
<property column="UdpUser" type="String" name="UdpUser" length="256" />
|
||||
<property column="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" name="SystemEntryID" />
|
||||
|
||||
<property column="Name" type="string" name="Name" />
|
||||
<property column="Betrag" type="decimal" name="Betrag" />
|
||||
</class>
|
||||
</hibernate-mapping>
|
||||
2147
ReportImp/ProIntegra/CustomerDataReport.Designer.cs
generated
Normal file
2147
ReportImp/ProIntegra/CustomerDataReport.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
142
ReportImp/ProIntegra/CustomerDataReport.cs
Normal file
142
ReportImp/ProIntegra/CustomerDataReport.cs
Normal file
@@ -0,0 +1,142 @@
|
||||
using System;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Report;
|
||||
using DevExpress.XtraReports.UI;
|
||||
using BeWo.Report.ReportObjects;
|
||||
using BS.Shared;
|
||||
using BS.Shared.Core;
|
||||
using BS.Shared.DataContracts;
|
||||
|
||||
namespace ProIntegra
|
||||
{
|
||||
public partial class Klientenstammblatt : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<CustomerDataRO>
|
||||
{
|
||||
public Klientenstammblatt()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void SetReportDataSource(CustomerDataRO pRO)
|
||||
{
|
||||
var c = DAOFactory.GenericDAO.LoadByID<Customer>(pRO.CustomerOid);
|
||||
|
||||
|
||||
lblVersorgungsamt.Text = c.AusstVersAmt;
|
||||
lblAusweisGueltigVon.Text = String.Format("{0:dd.MM.yyyy}", c.AusweisGueltigVon);
|
||||
if (c.AusweisUnbefristetGueltig.HasValue && c.AusweisUnbefristetGueltig.Value)
|
||||
{
|
||||
lblAusweisGueltigBis.Text = "unbefristet";
|
||||
}
|
||||
else
|
||||
{
|
||||
lblAusweisGueltigBis.Text = String.Format("{0:dd.MM.yyyy}", c.AusweisGueltigBis);
|
||||
}
|
||||
lblBeiblattGueltigBis.Text = String.Format("{0:dd.MM.yyyy}", c.BeiblattGueltigBis);
|
||||
lblGrad.Text = c.GradDerBehinderung;
|
||||
|
||||
String bastr = "";
|
||||
if (c.BehinderungsartenListe != null)
|
||||
{
|
||||
foreach (var ba in c.BehinderungsartenListe)
|
||||
{
|
||||
if (bastr.Length > 0)
|
||||
{
|
||||
bastr += ", ";
|
||||
}
|
||||
bastr += Translate(ba);
|
||||
}
|
||||
}
|
||||
lblBehinderungsart.Text = bastr;
|
||||
|
||||
if (c.Pflegegrad.HasValue)
|
||||
lblPflegegrad.Text = EnumTranslations.PflegegradTranslations[c.Pflegegrad];
|
||||
else
|
||||
{
|
||||
lblPflegegrad.Text = "";
|
||||
}
|
||||
|
||||
SetVarfields(pRO);
|
||||
|
||||
this.bindingSource1.DataSource = pRO;
|
||||
}
|
||||
|
||||
private void SetVarfields(CustomerDataRO pRo)
|
||||
{
|
||||
var c = DAOFactory.GenericDAO.LoadByID<Customer>(pRo.CustomerOid);
|
||||
|
||||
foreach (var vv in c.VarFieldValueList)
|
||||
{
|
||||
var varFieldValue = Utils.XMLDeserializeFromString(vv.SerializedValue, Type.GetType(vv.TypeName));
|
||||
if (varFieldValue != null)
|
||||
{
|
||||
switch (vv.VarFieldDefOid)
|
||||
{
|
||||
case 1:
|
||||
cbRechtlBetreuer.Checked = (bool)varFieldValue;
|
||||
break;
|
||||
case 2:
|
||||
cbOhneRechtlBetr.Checked = (bool)varFieldValue;
|
||||
break;
|
||||
case 3:
|
||||
cbBeantragt.Checked = (bool)varFieldValue;
|
||||
break;
|
||||
case 4:
|
||||
cbVollmacht.Checked = (bool)varFieldValue;
|
||||
break;
|
||||
case 5:
|
||||
lblInst.Text = varFieldValue.ToString();
|
||||
break;
|
||||
case 6:
|
||||
lblVerwandte.Text = varFieldValue.ToString();
|
||||
break;
|
||||
case 7:
|
||||
lblStrasse.Text = varFieldValue.ToString();
|
||||
break;
|
||||
case 8:
|
||||
lblOrt.Text = varFieldValue.ToString();
|
||||
break;
|
||||
case 9:
|
||||
lblTel.Text = varFieldValue.ToString();
|
||||
break;
|
||||
case 10:
|
||||
lblFax.Text = varFieldValue.ToString();
|
||||
break;
|
||||
case 11:
|
||||
lblEmail.Text = varFieldValue.ToString();
|
||||
break;
|
||||
case 20:
|
||||
cbVermoegens.Checked = (bool)varFieldValue;
|
||||
break;
|
||||
case 21:
|
||||
cbAngelegenh.Checked = (bool)varFieldValue;
|
||||
break;
|
||||
case 22:
|
||||
cbWhgAng.Checked = (bool)varFieldValue;
|
||||
break;
|
||||
case 23:
|
||||
cbAufent.Checked = (bool)varFieldValue;
|
||||
break;
|
||||
case 24:
|
||||
cbGesundheit.Checked = (bool)varFieldValue;
|
||||
break;
|
||||
case 25:
|
||||
cbPost.Checked = (bool)varFieldValue;
|
||||
break;
|
||||
case 26:
|
||||
cbAndBereiche.Checked = (bool)varFieldValue;
|
||||
break;
|
||||
case 27:
|
||||
cbEinw.Checked = (bool)varFieldValue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private string Translate(Behinderungsart ba)
|
||||
{
|
||||
return EnumTranslations.BehinderungsartTranslations[ba];
|
||||
}
|
||||
}
|
||||
}
|
||||
123
ReportImp/ProIntegra/CustomerDataReport.resx
Normal file
123
ReportImp/ProIntegra/CustomerDataReport.resx
Normal file
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -238,6 +238,8 @@ namespace BeWo.Service.DCEntityMapper
|
||||
|
||||
private static BudgetDC_Budget _BudgetDC_Budget;
|
||||
|
||||
private static PreisDC_Preis _PreisDC_Preis;
|
||||
|
||||
private static DienstInfoDC_DienstInfo _DienstInfoDC_DienstInfo;
|
||||
|
||||
private static FlexibleReportLayoutDC_FlexibleReportLayout _FlexibleReportLayoutDC_FlexibleReportLayout;
|
||||
@@ -669,6 +671,9 @@ namespace BeWo.Service.DCEntityMapper
|
||||
public static BudgetDC_Budget BudgetDC_Budget =>
|
||||
_BudgetDC_Budget ?? (_BudgetDC_Budget = new BudgetDC_Budget());
|
||||
|
||||
public static PreisDC_Preis PreisDC_Preis =>
|
||||
_PreisDC_Preis ?? (_PreisDC_Preis = new PreisDC_Preis());
|
||||
|
||||
public static DienstInfoDC_DienstInfo DienstInfoDC_DienstInfo =>
|
||||
_DienstInfoDC_DienstInfo ?? (_DienstInfoDC_DienstInfo = new DienstInfoDC_DienstInfo());
|
||||
|
||||
|
||||
54
Service/DCEntityMapper/PreisDC_Preis.cs
Normal file
54
Service/DCEntityMapper/PreisDC_Preis.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
using System.Linq;
|
||||
using BeWo.Data.Access;
|
||||
using BeWo.Data.Entities;
|
||||
|
||||
using BS.Shared;
|
||||
using BS.Shared.DataContracts;
|
||||
using System.Collections.Generic;
|
||||
using BS.Shared.Core;
|
||||
|
||||
namespace BeWo.Service.DCEntityMapper
|
||||
{
|
||||
public class PreisDC_Preis : AbstractIDCEntityMapper<Preis, PreisDC>
|
||||
{
|
||||
public override PreisDC MergeWithDC(Preis bEntity, PreisDC bDataContract)
|
||||
{
|
||||
bDataContract.PreisOid = bEntity.Oid;
|
||||
bDataContract.PreisIsActive = bEntity.IsActive;
|
||||
bDataContract.PreisNotice = bEntity.Notice;
|
||||
bDataContract.PreisInsTs = bEntity.InsTs;
|
||||
bDataContract.PreisInsUser = bEntity.InsUser;
|
||||
bDataContract.PreisVersion = bEntity.Version;
|
||||
bDataContract.PreisUdpUser = bEntity.UdpUser;
|
||||
bDataContract.PreisSystemEntryID = bEntity.SystemEntryID;
|
||||
bDataContract.Name = bEntity.Name;
|
||||
bDataContract.Betrag = bEntity.Betrag;
|
||||
|
||||
return bDataContract;
|
||||
}
|
||||
|
||||
public override Preis MergeWithEntity(PreisDC bDataContract, Preis bEntity)
|
||||
{
|
||||
this.ConcurrencyCheck(bDataContract.PreisVersion, bEntity);
|
||||
|
||||
bEntity.Oid = bDataContract.PreisOid;
|
||||
bEntity.Notice = bDataContract.PreisNotice;
|
||||
bEntity.SystemEntryID = bDataContract.PreisSystemEntryID;
|
||||
bEntity.Name = bDataContract.Name;
|
||||
bEntity.Betrag = bDataContract.Betrag;
|
||||
bEntity.InsTs = bDataContract.PreisInsTs;
|
||||
|
||||
return bEntity;
|
||||
}
|
||||
|
||||
protected override bool AreDCAndEntityEqual(PreisDC bDC, Preis bEntity)
|
||||
{
|
||||
if (bDC.PreisOid == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return bDC.PreisOid == bEntity.Oid;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -29,7 +29,7 @@ namespace BeWo.Service.Plugins
|
||||
//t = "8562233401"; // Sozialwirkstatt Schmitz
|
||||
//t = "1076891970"; // Assistenza
|
||||
//t = "0216265667"; // LH Hannover
|
||||
t = "1774789565"; // LH Essen
|
||||
//t = "1774789565"; // LH Essen
|
||||
//t = "9342168675"; // ABC Betreuungen
|
||||
//t = "1193188501"; // Aids Hilfe Dortmund
|
||||
//t = "7860351957"; // SKF Alsdorf
|
||||
@@ -91,7 +91,7 @@ namespace BeWo.Service.Plugins
|
||||
//t = "5700328131"; // Betreutes Wohnen St. Ludgerus Essen-Werden
|
||||
//t = "1907984777"; // Soziale Dienste Katrin Schmidt
|
||||
//t = "9033246467"; // SKM Menden
|
||||
//t = "9290510010"; // BeWo Schilling
|
||||
//t = "9290510010"; // Soziale Dienste Schilling (ehemals BeWo Schilling)
|
||||
//t = "5251218094"; // KOMO e.V.
|
||||
//t = "3529871747"; // Vivat gemeinnützige GmbH
|
||||
//t = "8561513464"; // Caritasverband Wuppertal/Solingen
|
||||
@@ -279,7 +279,7 @@ namespace BeWo.Service.Plugins
|
||||
//t = "8283849714"; // Forum e.V. (proviel GmbH)
|
||||
//t = "3915346496"; // Sprungbrett 2. DB (Haus Theresia)
|
||||
//t = "5595701056"; // Domiziel Ansbach
|
||||
//t = "9430188510"; // Pro INTEGRA
|
||||
t = "9430188510"; // Pro INTEGRA
|
||||
//t = "4820371076"; // Zuhause Wohnen Iris Thimm
|
||||
//t = "1078667960"; // FAM Rhein-Sieg Gbr
|
||||
|
||||
|
||||
@@ -232,6 +232,7 @@
|
||||
<Compile Include="DCEntityMapper\DienstvertretungDC_Dienstvertretung.cs" />
|
||||
<Compile Include="DCEntityMapper\DokumentvorlageDC_Dokumentvorlage.cs" />
|
||||
<Compile Include="DCEntityMapper\GeschenkterUrlaubstagDC_GeschenkterUrlaubstag.cs" />
|
||||
<Compile Include="DCEntityMapper\PreisDC_Preis.cs" />
|
||||
<Compile Include="DCEntityMapper\QuittierungsbelegsstatusDC_Quittierungsbelegsstatus.cs" />
|
||||
<Compile Include="DCEntityMapper\RatingTypeDC_RatingType.cs" />
|
||||
<Compile Include="DCEntityMapper\GoalRatingDC_GoalRating.cs" />
|
||||
|
||||
@@ -6,6 +6,7 @@ using BS.Shared.DataContracts.Reports;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ServiceModel;
|
||||
using BeWo.Data.Entities;
|
||||
|
||||
|
||||
namespace BeWo.Service.ServiceContracts
|
||||
@@ -107,6 +108,10 @@ namespace BeWo.Service.ServiceContracts
|
||||
|
||||
[FaultContract(typeof(BeWoFault))]
|
||||
[OperationContract]
|
||||
List<PreisDC> GetAllPreise();
|
||||
|
||||
[FaultContract(typeof(BeWoFault))]
|
||||
[OperationContract]
|
||||
List<ServiceDescriptionDC> GetAllServiceDescriptions();
|
||||
|
||||
[FaultContract(typeof(BeWoFault))]
|
||||
@@ -814,6 +819,19 @@ namespace BeWo.Service.ServiceContracts
|
||||
|
||||
[FaultContract(typeof(BeWoFault))]
|
||||
[OperationContract]
|
||||
void InsertNewPreis(List<PreisDC> preise);
|
||||
|
||||
[FaultContract(typeof(BeWoFault))]
|
||||
[OperationContract]
|
||||
void DeactivatePreis(Dictionary<long, long> pOid2Version);
|
||||
|
||||
[FaultContract(typeof(BeWoFault))]
|
||||
[OperationContract]
|
||||
void UpdatePreis(List<PreisDC> preise);
|
||||
|
||||
[FaultContract(typeof(BeWoFault))]
|
||||
[OperationContract]
|
||||
|
||||
FlexibleReportResultDC GetFlexibleReportResult(FlexibleReportFilterDC filter);
|
||||
|
||||
[FaultContract(typeof(BeWoFault))]
|
||||
|
||||
@@ -5561,6 +5561,61 @@ namespace BeWo.Service.ServiceImplementations
|
||||
}
|
||||
}
|
||||
|
||||
public List<PreisDC> GetAllPreise()
|
||||
{
|
||||
try
|
||||
{
|
||||
var list = DAOFactory.GenericDAO.GetAllActive<Preis>();
|
||||
return MapperFactory.PreisDC_Preis.MapToNewDCs(list);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw Utils.CreateBeWoFaultException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void InsertNewPreis(List<PreisDC> preise)
|
||||
{
|
||||
try
|
||||
{
|
||||
var preis = MapperFactory.PreisDC_Preis.MapToNewEntities(preise);
|
||||
DAOFactory.GenericDAO.Insert(preis);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw Utils.CreateBeWoFaultException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void DeactivatePreis(Dictionary<long, long> pOid2Version)
|
||||
{
|
||||
try
|
||||
{
|
||||
ServiceLogic.SetActivationType<Preis>(pOid2Version, ActivationTypeId.Deleted);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw Utils.CreateBeWoFaultException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public void UpdatePreis(List<PreisDC> preise)
|
||||
{
|
||||
try
|
||||
{
|
||||
var lOriginals = DAOFactory.GenericDAO.LoadByIDs<Preis>(preise.Select(sc => sc.PreisOid.Value));
|
||||
|
||||
MapperFactory.PreisDC_Preis.MergeWithEntitys(preise, lOriginals);
|
||||
|
||||
DAOFactory.GenericDAO.Update(lOriginals);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw Utils.CreateBeWoFaultException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public FlexibleReportResultDC GetFlexibleReportResult(FlexibleReportFilterDC filter)
|
||||
{
|
||||
try
|
||||
|
||||
@@ -158,7 +158,8 @@ namespace BS.Shared
|
||||
Vorlagentabelle = 151,
|
||||
Dienstvertretung = 152,
|
||||
RegelmaessigerDienst = 153,
|
||||
GeschenkterUrlaubstag = 154
|
||||
GeschenkterUrlaubstag = 154,
|
||||
Preis = 155,
|
||||
}
|
||||
|
||||
public enum SystemEntryID
|
||||
|
||||
61
Shared/DataContracts/PreisDC.cs
Normal file
61
Shared/DataContracts/PreisDC.cs
Normal file
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
using BS.Shared.Core;
|
||||
|
||||
namespace BS.Shared.DataContracts
|
||||
{
|
||||
public class PreisDC : IDataContract
|
||||
{
|
||||
[DataMember]
|
||||
public long? PreisOid { get; set; }
|
||||
|
||||
[DataMember]
|
||||
public ActivationTypeId PreisIsActive { get; set; }
|
||||
|
||||
[DataMember]
|
||||
public string PreisNotice { get; set; }
|
||||
|
||||
[DataMember]
|
||||
public DateTime? PreisInsTs { get; set; }
|
||||
|
||||
[DataMember]
|
||||
public string PreisInsUser { get; set; }
|
||||
|
||||
[DataMember]
|
||||
public long? PreisVersion { get; set; }
|
||||
|
||||
[DataMember]
|
||||
public string PreisUdpUser { get; set; }
|
||||
|
||||
[DataMember]
|
||||
public SystemEntryID? PreisSystemEntryID { get; set; }
|
||||
|
||||
[DataMember]
|
||||
public string Name { get; set; }
|
||||
|
||||
[DataMember]
|
||||
public decimal? Betrag { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return Name + " (" + (Betrag.HasValue ? Math.Round(Betrag.Value, 2) : 0) + " Std)";
|
||||
}
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if (obj is PreisDC preis)
|
||||
{
|
||||
return PreisOid == preis.PreisOid;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return GetType().Name.GetHashCode() ^ PreisOid.GetHashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -174,6 +174,7 @@
|
||||
<Compile Include="DataContracts\GeschenkterUrlaubstagDC.cs" />
|
||||
<Compile Include="DataContracts\GoalRatingDC.cs" />
|
||||
<Compile Include="DataContracts\PlatzhalterDC.cs" />
|
||||
<Compile Include="DataContracts\PreisDC.cs" />
|
||||
<Compile Include="DataContracts\QuittierungsbelegsstatusDC.cs" />
|
||||
<Compile Include="DataContracts\RatingTypeDC.cs" />
|
||||
<Compile Include="DataContracts\RegelmaessigerDienstDC.cs" />
|
||||
|
||||
Reference in New Issue
Block a user