Merge branch 'master' of ssh://float.ownsoft.de/git/beyondSoft/BeWo
This commit is contained in:
160
BeWo/BeWo.csproj
160
BeWo/BeWo.csproj
@@ -43,12 +43,12 @@
|
|||||||
<TargetCulture>de-DE</TargetCulture>
|
<TargetCulture>de-DE</TargetCulture>
|
||||||
<ProductName>BeWoPlaner</ProductName>
|
<ProductName>BeWoPlaner</ProductName>
|
||||||
<PublisherName>ownSoft GmbH</PublisherName>
|
<PublisherName>ownSoft GmbH</PublisherName>
|
||||||
<MinimumRequiredVersion>2.0.1.279</MinimumRequiredVersion>
|
<MinimumRequiredVersion>2.0.1.281</MinimumRequiredVersion>
|
||||||
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
||||||
<WebPage>publish.htm</WebPage>
|
<WebPage>publish.htm</WebPage>
|
||||||
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
|
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
|
||||||
<TrustUrlParameters>true</TrustUrlParameters>
|
<TrustUrlParameters>true</TrustUrlParameters>
|
||||||
<ApplicationRevision>279</ApplicationRevision>
|
<ApplicationRevision>282</ApplicationRevision>
|
||||||
<ApplicationVersion>2.0.1.%2a</ApplicationVersion>
|
<ApplicationVersion>2.0.1.%2a</ApplicationVersion>
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||||
@@ -3029,392 +3029,392 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PublishFile Include="Blacklight.Wpf.Controls">
|
<PublishFile Include="Blacklight.Wpf.Controls">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Charts.v23.2.Core">
|
<PublishFile Include="DevExpress.Charts.v23.2.Core">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Data.v23.2">
|
<PublishFile Include="DevExpress.Data.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Data.v23.2.Linq">
|
<PublishFile Include="DevExpress.Data.v23.2.Linq">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Office.v23.2.Core">
|
<PublishFile Include="DevExpress.Office.v23.2.Core">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.PivotGrid.v23.2.Core">
|
<PublishFile Include="DevExpress.PivotGrid.v23.2.Core">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Printing.v23.2.Core">
|
<PublishFile Include="DevExpress.Printing.v23.2.Core">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.RichEdit.v23.2.Core">
|
<PublishFile Include="DevExpress.RichEdit.v23.2.Core">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.RichEdit.v23.2.Export">
|
<PublishFile Include="DevExpress.RichEdit.v23.2.Export">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Sparkline.v23.2.Core">
|
<PublishFile Include="DevExpress.Sparkline.v23.2.Core">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Utils.v23.2">
|
<PublishFile Include="DevExpress.Utils.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Accordion.v23.2">
|
<PublishFile Include="DevExpress.Xpf.Accordion.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Charts.v23.2">
|
<PublishFile Include="DevExpress.Xpf.Charts.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Core.v23.2">
|
<PublishFile Include="DevExpress.Xpf.Core.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Docking.v23.2">
|
<PublishFile Include="DevExpress.Xpf.Docking.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Grid.v23.2">
|
<PublishFile Include="DevExpress.Xpf.Grid.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Grid.v23.2.Core">
|
<PublishFile Include="DevExpress.Xpf.Grid.v23.2.Core">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Layout.v23.2.Core">
|
<PublishFile Include="DevExpress.Xpf.Layout.v23.2.Core">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Mvvm.v23.2">
|
<PublishFile Include="DevExpress.Xpf.Mvvm.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Printing.v23.2">
|
<PublishFile Include="DevExpress.Xpf.Printing.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Printing.v23.2.Core">
|
<PublishFile Include="DevExpress.Xpf.Printing.v23.2.Core">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Ribbon.v23.2">
|
<PublishFile Include="DevExpress.Xpf.Ribbon.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Scheduler.v23.2">
|
<PublishFile Include="DevExpress.Xpf.Scheduler.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Themes.LightGray.v23.2">
|
<PublishFile Include="DevExpress.Xpf.Themes.LightGray.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Themes.Office2007Black.v23.2">
|
<PublishFile Include="DevExpress.Xpf.Themes.Office2007Black.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Themes.Office2010Black.v23.2">
|
<PublishFile Include="DevExpress.Xpf.Themes.Office2010Black.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Themes.Office2013.v23.2">
|
<PublishFile Include="DevExpress.Xpf.Themes.Office2013.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.Xpf.Themes.Office2016White.v23.2">
|
<PublishFile Include="DevExpress.Xpf.Themes.Office2016White.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.XtraBars.v23.2">
|
<PublishFile Include="DevExpress.XtraBars.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.XtraCharts.v23.2">
|
<PublishFile Include="DevExpress.XtraCharts.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.XtraEditors.v23.2">
|
<PublishFile Include="DevExpress.XtraEditors.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.XtraNavBar.v23.2">
|
<PublishFile Include="DevExpress.XtraNavBar.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.XtraPivotGrid.v23.2">
|
<PublishFile Include="DevExpress.XtraPivotGrid.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.XtraPrinting.v23.2">
|
<PublishFile Include="DevExpress.XtraPrinting.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.XtraReports.v23.2">
|
<PublishFile Include="DevExpress.XtraReports.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.XtraScheduler.v23.2">
|
<PublishFile Include="DevExpress.XtraScheduler.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.XtraScheduler.v23.2.Core">
|
<PublishFile Include="DevExpress.XtraScheduler.v23.2.Core">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.XtraScheduler.v23.2.Reporting">
|
<PublishFile Include="DevExpress.XtraScheduler.v23.2.Reporting">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
<PublishFile Include="DevExpress.XtraTreeList.v23.2">
|
<PublishFile Include="DevExpress.XtraTreeList.v23.2">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
|
<PublishState>Include</PublishState>
|
||||||
|
<IncludeHash>True</IncludeHash>
|
||||||
<Group>
|
<Group>
|
||||||
</Group>
|
</Group>
|
||||||
<TargetPath>
|
<TargetPath>
|
||||||
</TargetPath>
|
</TargetPath>
|
||||||
<PublishState>Include</PublishState>
|
|
||||||
<IncludeHash>True</IncludeHash>
|
|
||||||
<FileType>Assembly</FileType>
|
<FileType>Assembly</FileType>
|
||||||
</PublishFile>
|
</PublishFile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
@@ -56,9 +56,9 @@ namespace BeWo
|
|||||||
public static LoginControl LoginControl;
|
public static LoginControl LoginControl;
|
||||||
public static MainControl MainControl;
|
public static MainControl MainControl;
|
||||||
|
|
||||||
public static string ShortVersion = "3.27";
|
public static string ShortVersion = "3.28";
|
||||||
|
|
||||||
public static string Version = "Version 3.27.3";
|
public static string Version = "Version 3.28";
|
||||||
|
|
||||||
public static int RenderTier = 0;
|
public static int RenderTier = 0;
|
||||||
public static bool IsInDesignMode = DesignerProperties.GetIsInDesignMode(new DependencyObject());
|
public static bool IsInDesignMode = DesignerProperties.GetIsInDesignMode(new DependencyObject());
|
||||||
@@ -536,6 +536,9 @@ namespace BeWo
|
|||||||
val = UserSettingsUtils.GetSettingValue(_Mandator.Settings, SettingsKeys.AllowXRechnung);
|
val = UserSettingsUtils.GetSettingValue(_Mandator.Settings, SettingsKeys.AllowXRechnung);
|
||||||
AppSettings.AllowXRechnung = val != null && val.Equals("1");
|
AppSettings.AllowXRechnung = val != null && val.Equals("1");
|
||||||
|
|
||||||
|
val = UserSettingsUtils.GetSettingValue(_Mandator.Settings, SettingsKeys.HidePrintQBPopup);
|
||||||
|
AppSettings.HidePrintQBPopup = val != null && val.Equals("1");
|
||||||
|
|
||||||
val = UserSettingsUtils.GetSettingValue(_Mandator.Settings, SettingsKeys.UseDistanceApi);
|
val = UserSettingsUtils.GetSettingValue(_Mandator.Settings, SettingsKeys.UseDistanceApi);
|
||||||
AppSettings.UseDistanceApi = val != null && val.Equals("1");
|
AppSettings.UseDistanceApi = val != null && val.Equals("1");
|
||||||
|
|
||||||
|
|||||||
@@ -353,12 +353,13 @@ namespace BeWo.View.Detail.Accounting
|
|||||||
|
|
||||||
if (BeWoApp.AppSettings.HidePrintQBPopup)
|
if (BeWoApp.AppSettings.HidePrintQBPopup)
|
||||||
{
|
{
|
||||||
popup_PrintQB.IsOpen = true;
|
BeWoUtils.NavigateToReportUri(((Hyperlink)sender).NavigateUri.ToString(), "Druckvorschau");
|
||||||
popup_PrintQB.Tag = ((Hyperlink)sender).NavigateUri.ToString();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
BeWoUtils.NavigateToReportUri(((Hyperlink)sender).NavigateUri.ToString(), "Druckvorschau");
|
popup_PrintQB.IsOpen = true;
|
||||||
|
popup_PrintQB.Tag = ((Hyperlink)sender).NavigateUri.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<NameOfLastUsedPublishProfile>C:\Projects\Bewo\BeWo - Main\Host\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
|
<NameOfLastUsedPublishProfile>C:\Projects\Bewo\BeWo - Main\Host\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
|
||||||
<UseIISExpress>true</UseIISExpress>
|
<UseIISExpress>true</UseIISExpress>
|
||||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||||
<Use64BitIISExpress>true</Use64BitIISExpress>
|
<Use64BitIISExpress>
|
||||||
|
</Use64BitIISExpress>
|
||||||
<IISExpressSSLPort />
|
<IISExpressSSLPort />
|
||||||
<IISExpressAnonymousAuthentication />
|
<IISExpressAnonymousAuthentication />
|
||||||
<IISExpressWindowsAuthentication />
|
<IISExpressWindowsAuthentication />
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
<StartWorkingDirectory>
|
<StartWorkingDirectory>
|
||||||
</StartWorkingDirectory>
|
</StartWorkingDirectory>
|
||||||
<EnableENC>True</EnableENC>
|
<EnableENC>True</EnableENC>
|
||||||
<AlwaysStartWebServerOnDebug>False</AlwaysStartWebServerOnDebug>
|
<AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug>
|
||||||
</WebProjectProperties>
|
</WebProjectProperties>
|
||||||
</FlavorProperties>
|
</FlavorProperties>
|
||||||
</VisualStudio>
|
</VisualStudio>
|
||||||
|
|||||||
@@ -13,119 +13,167 @@ namespace ArcheTecklenburg.Service
|
|||||||
{
|
{
|
||||||
public class CustomAccountingService : AccountingService
|
public class CustomAccountingService : AccountingService
|
||||||
{
|
{
|
||||||
//protected override ServiceInvoiceDC ErstelleDifferenzRechnung(DifferenzRechnungCheck item)
|
protected override ServiceInvoiceDC ErstelleDifferenzRechnung(DifferenzRechnungCheck item)
|
||||||
//{
|
{
|
||||||
// ServiceInvoiceDC diffRechnung = null;
|
ServiceInvoiceDC diffRechnung = null;
|
||||||
// //var alterBetrag = item.VorhandeneRechungen.Sum(i => i.ClaimSum ?? 0);
|
//var alterBetrag = item.VorhandeneRechungen.Sum(i => i.ClaimSum ?? 0);
|
||||||
// var letzteRg = item.VorhandeneRechungen.OrderByDescending(r => r.ServiceInvoiceOid).FirstOrDefault();
|
var letzteRg = item.VorhandeneRechungen.OrderByDescending(r => r.ServiceInvoiceOid).FirstOrDefault();
|
||||||
|
|
||||||
// letzteRg = item.VorhandeneRechungen.FirstOrDefault(r => item.NeueRechnung.InvoiceBase.CustomerOid == r.InvoiceBase.CustomerOid);
|
letzteRg = item.VorhandeneRechungen.FirstOrDefault(r => item.NeueRechnung.InvoiceBase.CustomerOid == r.InvoiceBase.CustomerOid);
|
||||||
// if (letzteRg != null)
|
if (letzteRg != null)
|
||||||
// {
|
{
|
||||||
// if (item.NeueRechnung.ClaimSum == letzteRg.ClaimSum)
|
if (item.NeueRechnung.ClaimSum == letzteRg.ClaimSum)
|
||||||
// {
|
{
|
||||||
// diffRechnung = item.NeueRechnung;
|
diffRechnung = item.NeueRechnung;
|
||||||
// diffRechnung.InvoiceBase.NeuErstellen = false;
|
diffRechnung.InvoiceBase.NeuErstellen = false;
|
||||||
// diffRechnung.InvoiceBase.Hinweise = String.Format("Rechnung wurde bereits erstellt");
|
diffRechnung.InvoiceBase.Hinweise = String.Format("Rechnung wurde bereits erstellt");
|
||||||
// }
|
}
|
||||||
// else
|
else
|
||||||
// {
|
{
|
||||||
// diffRechnung = new ServiceInvoiceDC();
|
diffRechnung = new ServiceInvoiceDC();
|
||||||
// diffRechnung.OriginalZurDifferenz = item.NeueRechnung;
|
diffRechnung.OriginalZurDifferenz = item.NeueRechnung;
|
||||||
// diffRechnung.InvoiceBase = new InvoiceBaseDC();
|
diffRechnung.InvoiceBase = new InvoiceBaseDC();
|
||||||
// CopyInvoiceBaseDC(item.NeueRechnung.InvoiceBase, diffRechnung);
|
CopyInvoiceBaseDC(item.NeueRechnung.InvoiceBase, diffRechnung);
|
||||||
|
|
||||||
// ServiceInvoice counterInvoice = new ServiceInvoice();
|
ServiceInvoice counterInvoice = new ServiceInvoice();
|
||||||
// var serviceInvoice = DAOFactory.SearchDAO.GetServiceInvoiceByInvoiceBaseOid(letzteRg.InvoiceBase.InvoiceBaseOid.Value);
|
var serviceInvoice = DAOFactory.SearchDAO.GetServiceInvoiceByInvoiceBaseOid(letzteRg.InvoiceBase.InvoiceBaseOid.Value);
|
||||||
|
|
||||||
// CopyServiceInvoice(serviceInvoice, counterInvoice);
|
CopyServiceInvoice(serviceInvoice, counterInvoice);
|
||||||
// SetzeStornoInfos(counterInvoice);
|
SetzeStornoInfos(counterInvoice);
|
||||||
// SetzeRechnungspositionenServiceInvoice(diffRechnung, counterInvoice, item);
|
SetzeRechnungspositionenServiceInvoice(diffRechnung, counterInvoice, item);
|
||||||
|
|
||||||
// if (item.VorhandeneRechungen.Count > 1)
|
if (item.VorhandeneRechungen.Count > 1)
|
||||||
// {
|
{
|
||||||
// var restRgen = new List<ServiceInvoiceDC>(item.VorhandeneRechungen);
|
var restRgen = new List<ServiceInvoiceDC>(item.VorhandeneRechungen);
|
||||||
// restRgen.Remove(letzteRg);
|
restRgen.Remove(letzteRg);
|
||||||
// if (restRgen.All(rg => rg.ServiceInvoicePeriods != null && rg.ServiceInvoicePeriods.Any()
|
if (restRgen.All(rg => rg.ServiceInvoicePeriods != null && rg.ServiceInvoicePeriods.Any()
|
||||||
// && rg.ServiceInvoicePeriods.Select(p => p.Customer.CustomerOid).Distinct().Count() == 1))
|
&& rg.ServiceInvoicePeriods.Select(p => p.Customer.CustomerOid).Distinct().Count() == 1))
|
||||||
// {
|
{
|
||||||
// foreach (var oldRg in restRgen)
|
//foreach (var oldRg in restRgen)
|
||||||
// {
|
//{
|
||||||
// var sips = diffRechnung.ServiceInvoicePeriods.Where(s => s.Customer != null && s.Customer.CustomerOid == oldRg.ServiceInvoicePeriods[0].Customer.CustomerOid).ToList();
|
// var sips = diffRechnung.ServiceInvoicePeriods.Where(s => s.Customer != null && s.Customer.CustomerOid == oldRg.ServiceInvoicePeriods[0].Customer.CustomerOid).ToList();
|
||||||
// //var sip = sips.Where(s => s.SupportConceptApprovalPeriod != null && s.SupportConceptApprovalPeriod.ServiceCategory != null && rg.ServiceInvoicePeriods[0].SupportConceptApprovalPeriod.ServiceCategory.ServiceCategoryOid == 6).First();
|
// //var sip = sips.Where(s => s.SupportConceptApprovalPeriod != null && s.SupportConceptApprovalPeriod.ServiceCategory != null && rg.ServiceInvoicePeriods[0].SupportConceptApprovalPeriod.ServiceCategory.ServiceCategoryOid == 6).First();
|
||||||
// foreach (var sip in sips)
|
// foreach (var sip in sips)
|
||||||
// {
|
// {
|
||||||
// if (sip.InvoiceItems != null && sip.InvoiceItems.Count > 0)
|
// if (sip.InvoiceItems != null && sip.InvoiceItems.Count > 0)
|
||||||
// {
|
// {
|
||||||
// sip.Claim -= oldRg.ServiceInvoicePeriods[0].Claim;
|
// sip.Claim -= oldRg.ServiceInvoicePeriods[0].Claim;
|
||||||
// foreach (var iiDC in oldRg.ServiceInvoicePeriods[0].InvoiceItems)
|
// foreach (var iiDC in oldRg.ServiceInvoicePeriods[0].InvoiceItems)
|
||||||
// {
|
// {
|
||||||
|
|
||||||
// if (sip.InvoiceItems.Any(newII => newII.AmountTotal == iiDC.AmountTotal
|
// if (sip.InvoiceItems.Any(newII => newII.AmountTotal == iiDC.AmountTotal
|
||||||
// && iiDC.SupportConceptApprovalPeriodOid != null && newII.SupportConceptApprovalPeriodOid == iiDC.SupportConceptApprovalPeriodOid))
|
// && iiDC.SupportConceptApprovalPeriodOid != null && newII.SupportConceptApprovalPeriodOid == iiDC.SupportConceptApprovalPeriodOid))
|
||||||
// {
|
// {
|
||||||
// break; // Wenn das InvoiceItem schon storniert enthalten ist, überspring das
|
// break; // Wenn das InvoiceItem schon storniert enthalten ist, überspring das
|
||||||
// }
|
// }
|
||||||
// var copyItemDC = new InvoiceItemDC();
|
// var copyItemDC = new InvoiceItemDC();
|
||||||
// var copyItem = new InvoiceItem();
|
// var copyItem = new InvoiceItem();
|
||||||
// CopyInvoiceItem(MapperFactory.InvoiceItemDC_InvoiceItem.MapToNewEntity(iiDC), copyItem);
|
// CopyInvoiceItem(MapperFactory.InvoiceItemDC_InvoiceItem.MapToNewEntity(iiDC), copyItem);
|
||||||
// copyItemDC = MapperFactory.InvoiceItemDC_InvoiceItem.MapToNewDC(copyItem);
|
// copyItemDC = MapperFactory.InvoiceItemDC_InvoiceItem.MapToNewDC(copyItem);
|
||||||
// sip.InvoiceItems.Add(copyItemDC);
|
// sip.InvoiceItems.Add(copyItemDC);
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
// }
|
//}
|
||||||
// }
|
}
|
||||||
// }
|
else
|
||||||
|
{
|
||||||
|
ServiceInvoice counterInvoice2 = new ServiceInvoice();
|
||||||
|
if (diffRechnung.ServiceInvoicePeriods.Select(p => p.Customer.CustomerOid).Distinct().Count() == 1)
|
||||||
|
{
|
||||||
|
var cOid = diffRechnung.ServiceInvoicePeriods[0].Customer.CustomerOid;
|
||||||
|
if (restRgen.All(rg => rg.ServiceInvoicePeriods != null && rg.ServiceInvoicePeriods.Any() && rg.ServiceInvoicePeriods.Any(p => p.Customer.CustomerOid == cOid)))
|
||||||
|
{
|
||||||
|
foreach (var oldRg in restRgen)
|
||||||
|
{
|
||||||
|
var sips = oldRg.ServiceInvoicePeriods.Where(s => s.Customer.CustomerOid == cOid).ToList();
|
||||||
|
foreach (var sip in sips)
|
||||||
|
{
|
||||||
|
if (sip.InvoiceItems != null && sip.InvoiceItems.Count > 0)
|
||||||
|
{
|
||||||
|
if (sip.SupportConceptApprovalPeriod != null && sip.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid != null
|
||||||
|
&& diffRechnung.ServiceInvoicePeriods.Any(sipDif => sipDif.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid == sip.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid))
|
||||||
|
{
|
||||||
|
var sipDif = diffRechnung.ServiceInvoicePeriods.Where(si => si.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid == sip.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid).First();
|
||||||
|
foreach (var iiDC in sip.InvoiceItems)
|
||||||
|
{
|
||||||
|
|
||||||
// diffRechnung.InvoiceBase.NeuErstellen = true;
|
if (sipDif.InvoiceItems.Any(newII => newII.AmountTotal == iiDC.AmountTotal && newII.UnitCount == iiDC.UnitCount && newII.AmountPerUnit == iiDC.AmountPerUnit))
|
||||||
// diffRechnung.InvoiceBase.Hinweise = String.Format("Rechnungsdifferenz zu Rechnung {0} in Höhe von {1:c}", letzteRg.InvoiceBase.InvoiceNumber, letzteRg.InvoiceBase.TotalAmount.Value);
|
{
|
||||||
// }
|
var doubleII = sipDif.InvoiceItems.Where(newII => newII.AmountTotal == iiDC.AmountTotal && newII.UnitCount == iiDC.UnitCount && newII.AmountPerUnit == iiDC.AmountPerUnit).First();
|
||||||
// }
|
if (sipDif.InvoiceItems.Count > 1)
|
||||||
|
{
|
||||||
|
sipDif.InvoiceItems.Remove(doubleII);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
doubleII.AmountPerUnit = 0;
|
||||||
|
doubleII.UnitCount = 0;
|
||||||
|
doubleII.AmountTotal = 0;
|
||||||
|
doubleII.GrossAmountTotal = 0;
|
||||||
|
doubleII.UnitDescription += " - bereits abgerechnet";
|
||||||
|
sipDif.Claim = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// return diffRechnung;
|
diffRechnung.InvoiceBase.NeuErstellen = true;
|
||||||
//}
|
diffRechnung.InvoiceBase.Hinweise = String.Format("Rechnungsdifferenz zu Rechnung {0} in Höhe von {1:c}", letzteRg.InvoiceBase.InvoiceNumber, letzteRg.InvoiceBase.TotalAmount.Value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//public override void SetzeRechnungspositionenServiceInvoice(ServiceInvoiceDC diffRechnung, ServiceInvoice counterInvoice, DifferenzRechnungCheck item)
|
return diffRechnung;
|
||||||
//{
|
}
|
||||||
// var siDCAlt = MapperFactory.ServiceInvoiceDC_ServiceInvoice.MapToNewDC(counterInvoice);
|
|
||||||
// if (siDCAlt.ServiceInvoicePeriods != null && siDCAlt.ServiceInvoicePeriods.Count > 0)
|
|
||||||
// {
|
public override void SetzeRechnungspositionenServiceInvoice(ServiceInvoiceDC diffRechnung, ServiceInvoice counterInvoice, DifferenzRechnungCheck item)
|
||||||
// if (siDCAlt.ServiceInvoicePeriods.Select(p => p.Customer.CustomerOid).Distinct().Count() > 1
|
{
|
||||||
// && item.NeueRechnung.ServiceInvoicePeriods != null && item.NeueRechnung.ServiceInvoicePeriods.Count > 0
|
var siDCAlt = MapperFactory.ServiceInvoiceDC_ServiceInvoice.MapToNewDC(counterInvoice);
|
||||||
// && item.NeueRechnung.ServiceInvoicePeriods.Select(p => p.Customer.CustomerOid).Distinct().Count() == 1)
|
if (siDCAlt.ServiceInvoicePeriods != null && siDCAlt.ServiceInvoicePeriods.Count > 0)
|
||||||
// {
|
{
|
||||||
// if (diffRechnung.ServiceInvoicePeriods == null)
|
if (siDCAlt.ServiceInvoicePeriods.Select(p => p.Customer.CustomerOid).Distinct().Count() > 1
|
||||||
// {
|
&& item.NeueRechnung.ServiceInvoicePeriods != null && item.NeueRechnung.ServiceInvoicePeriods.Count > 0
|
||||||
// diffRechnung.ServiceInvoicePeriods = item.NeueRechnung.ServiceInvoicePeriods;
|
&& item.NeueRechnung.ServiceInvoicePeriods.Select(p => p.Customer.CustomerOid).Distinct().Count() == 1)
|
||||||
// foreach (var sip in siDCAlt.ServiceInvoicePeriods)
|
{
|
||||||
// {
|
if (diffRechnung.ServiceInvoicePeriods == null)
|
||||||
// if (sip.Customer.CustomerOid == diffRechnung.ServiceInvoicePeriods[0].Customer.CustomerOid &&
|
{
|
||||||
// sip.SupportConceptApprovalPeriod != null && sip.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid.HasValue)
|
diffRechnung.ServiceInvoicePeriods = item.NeueRechnung.ServiceInvoicePeriods;
|
||||||
// {
|
foreach (var sip in siDCAlt.ServiceInvoicePeriods)
|
||||||
// var newSip = diffRechnung.ServiceInvoicePeriods.Where(s => s.SupportConceptApprovalPeriod != null && s.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid.HasValue
|
{
|
||||||
// && s.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid == sip.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid).First();
|
if (sip.Customer.CustomerOid == diffRechnung.ServiceInvoicePeriods[0].Customer.CustomerOid &&
|
||||||
// if (newSip.InvoiceItems != null && newSip.InvoiceItems.Count > 0)
|
sip.SupportConceptApprovalPeriod != null && sip.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid.HasValue)
|
||||||
// {
|
{
|
||||||
// newSip.Claim += sip.Claim;
|
var newSip = diffRechnung.ServiceInvoicePeriods.Where(s => s.SupportConceptApprovalPeriod != null && s.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid.HasValue
|
||||||
// foreach (var ii in sip.InvoiceItems)
|
&& s.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid == sip.SupportConceptApprovalPeriod.SupportConceptApprovalPeriodOid).First();
|
||||||
// {
|
if (newSip.InvoiceItems != null && newSip.InvoiceItems.Count > 0)
|
||||||
// newSip.InvoiceItems.Add(ii);
|
{
|
||||||
// }
|
newSip.Claim += sip.Claim;
|
||||||
// }
|
foreach (var ii in sip.InvoiceItems)
|
||||||
// }
|
{
|
||||||
// }
|
newSip.InvoiceItems.Add(ii);
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// else
|
}
|
||||||
// {
|
}
|
||||||
// base.SetzeRechnungspositionenServiceInvoice(diffRechnung, counterInvoice, item);
|
}
|
||||||
// }
|
}
|
||||||
// }
|
else
|
||||||
// else
|
{
|
||||||
// {
|
base.SetzeRechnungspositionenServiceInvoice(diffRechnung, counterInvoice, item);
|
||||||
// base.SetzeRechnungspositionenServiceInvoice(diffRechnung, counterInvoice, item);
|
}
|
||||||
// }
|
}
|
||||||
//}
|
else
|
||||||
}
|
{
|
||||||
|
base.SetzeRechnungspositionenServiceInvoice(diffRechnung, counterInvoice, item);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -335,5 +335,10 @@ namespace LebenshilfeBadKreuznachFUD.Invoicing
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override void CheckMaxApprovedAmount(ServiceInvoice invoice, ServiceInvoicePeriod sip, SupportConceptApprovalPeriodDC scap, CostBearer2SupportConcept costBearer2SupportConcept, DateTimeSpan invoicePeriod, List<ServiceRecordDC> serviceRecords)
|
||||||
|
{
|
||||||
|
// Do nothing
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -11,7 +11,7 @@ namespace TwgJonathan.Export
|
|||||||
{
|
{
|
||||||
public class ConturaExporter
|
public class ConturaExporter
|
||||||
{
|
{
|
||||||
|
public static int count = 1;
|
||||||
public static QueryDC CreateQuery(QueryDC query)
|
public static QueryDC CreateQuery(QueryDC query)
|
||||||
{
|
{
|
||||||
DateTime dt = DateTime.Now;
|
DateTime dt = DateTime.Now;
|
||||||
@@ -35,15 +35,20 @@ namespace TwgJonathan.Export
|
|||||||
public static String GetAbrechnungenString(DateTime date)
|
public static String GetAbrechnungenString(DateTime date)
|
||||||
{
|
{
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.AppendLine("AnwenderNr;TeilnNr;Wirtschaftsjahr;Wirtschaftsmonat;Buchungssatz;ErfaBuchhnr;ErfaBetrag;FibuBelegNr;BelegDatum;FKontoNr;FGKontoNr;KstKtr;Buchungstext");
|
sb.AppendLine("AnwenderNr;TeilnNr;Wirtschaftsjahr;Wirtschaftsmonat;WirtJahrBeginn;Benutzer;ErfaQuelle;Bezeichnung;Buchungssatz;Umsatzart;ErfaBuchhnr;VerrBuchhNr;ErfaBetrag;ErfaWaehrung;Steuerschl;" +
|
||||||
|
"FibuBelegNr;BelegDatum;Faelligkeit;OPBelegNr;OPBelegNr2;LieferBelegNr;FKontoNr;UKontoNr;FGKontoNr;GUKontoNr;KstKtr;LeistKst;Buchungstext;VerteilGruppeK;VerteilGruppeG;Mischfall;AufteilProz;" +
|
||||||
|
"Umkehrung;Zahlungsart;Bankleitzahl;BankkontoNr;SkontoTage;AusnahmeSkonto;FKontoNrRechnEmpf;UKontoNrRechnEmpf;FKontoNrBetreuter;UKontoNrBetreuter;Aktenzeichen;Unterbringung;Leistungdatum;Geburtsdatum;" +
|
||||||
|
"Ungesichert;VersichertenNr;Lieferscheinnr;Projektnr1;ProjektNrA;Projektnr2;ProjektNrB;Projektnr3;ProjektNrC;Verwzweck1;BankNr;WMonatVonAbgr;WMonatBisAbgr;OPBelegNrK;OPBelegNrG;LieferKundenNr;" +
|
||||||
|
"Skontofaelligkeit;Name1;Name2;Name3;Strasse;PLZ;Ort;ScanID");
|
||||||
var s = GetMonatlicheRechnungenString(date);
|
var s = GetMonatlicheRechnungenString(date);
|
||||||
if (!String.IsNullOrWhiteSpace(s))
|
if (!String.IsNullOrWhiteSpace(s))
|
||||||
{
|
{
|
||||||
sb.Append(s);
|
sb.Append(s);
|
||||||
}
|
}
|
||||||
//if (sb.Length > 0)
|
if (sb.Length > 0)
|
||||||
// sb.AppendLine();
|
{
|
||||||
|
sb.AppendLine();
|
||||||
|
}
|
||||||
|
|
||||||
//s = GetAbschlagszahlungenString(date);
|
//s = GetAbschlagszahlungenString(date);
|
||||||
//if (!String.IsNullOrWhiteSpace(s))
|
//if (!String.IsNullOrWhiteSpace(s))
|
||||||
@@ -53,11 +58,11 @@ namespace TwgJonathan.Export
|
|||||||
//if (sb.Length > 0)
|
//if (sb.Length > 0)
|
||||||
// sb.AppendLine();
|
// sb.AppendLine();
|
||||||
|
|
||||||
//s = GetSelbstzahlerString(date);
|
s = GetMietzahlungenString(date);
|
||||||
//if (!String.IsNullOrWhiteSpace(s))
|
if (!String.IsNullOrWhiteSpace(s))
|
||||||
//{
|
{
|
||||||
// sb.Append(s);
|
sb.Append(s);
|
||||||
//}
|
}
|
||||||
|
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
@@ -65,21 +70,6 @@ namespace TwgJonathan.Export
|
|||||||
public static String GetMonatlicheRechnungenString(DateTime date)
|
public static String GetMonatlicheRechnungenString(DateTime date)
|
||||||
{
|
{
|
||||||
var dt = ExecuteQuery(GetMonatlicheRechnungenSql(date), date);
|
var dt = ExecuteQuery(GetMonatlicheRechnungenSql(date), date);
|
||||||
|
|
||||||
//int idx = Int32.MaxValue;
|
|
||||||
//foreach (DataRow row in dt.Rows)
|
|
||||||
//{
|
|
||||||
// var item = row[2];
|
|
||||||
// if ((int)item < idx)
|
|
||||||
// {
|
|
||||||
// idx = (int)item;
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
|
|
||||||
//if (idx == Int32.MaxValue)
|
|
||||||
//{
|
|
||||||
// idx = 1;
|
|
||||||
//}
|
|
||||||
int idx = 1;
|
int idx = 1;
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
foreach (DataRow row in dt.Rows)
|
foreach (DataRow row in dt.Rows)
|
||||||
@@ -93,30 +83,87 @@ namespace TwgJonathan.Export
|
|||||||
sb.Append(String.Format("{0:yyyy}", date)); // Wirtschaftsjahr
|
sb.Append(String.Format("{0:yyyy}", date)); // Wirtschaftsjahr
|
||||||
sb.Append(";");
|
sb.Append(";");
|
||||||
sb.Append(String.Format("{0:0}", date.Month)); // Wirtschaftsmonat
|
sb.Append(String.Format("{0:0}", date.Month)); // Wirtschaftsmonat
|
||||||
sb.Append(";1;"); //Buchungssatz
|
sb.Append(";;;;;1;;"); //Buchungssatz
|
||||||
sb.Append(String.Format("{0:0}", idx++)); //ErfaBuchhnr
|
_ = sb.Append(String.Format("{0:0}", idx++)); //ErfaBuchhnr
|
||||||
sb.Append(";");
|
sb.Append(";;");
|
||||||
sb.Append(String.Format("{0:0.00}", row[0])); // ErfaBetrag
|
sb.Append(String.Format("{0:0.00}", row[0])); // ErfaBetrag
|
||||||
sb.Append(";");
|
sb.Append(";;;");
|
||||||
sb.Append(String.Format("{0}", row[2])); // FibuBelegNr
|
sb.Append(String.Format("{0}", row[2])); // FibuBelegNr
|
||||||
sb.Append(";");
|
sb.Append(";");
|
||||||
sb.Append(String.Format("{0:dd.MM.yyyy}", row[3])); // Belegdatum
|
sb.Append(String.Format("{0:dd.MM.yyyy}", row[3])); // Belegdatum
|
||||||
sb.Append(";");
|
sb.Append(";;;;;");
|
||||||
sb.Append(String.Format("{0}", row[4])); // FKontoNr (Debitor)
|
sb.Append(String.Format("{0}", row[4])); // FKontoNr (Debitor)
|
||||||
sb.Append(";");
|
sb.Append(";;");
|
||||||
sb.Append(String.Format("{0}", row[1])); // FGKontoNr
|
sb.Append(String.Format("{0}", row[1])); // FGKontoNr
|
||||||
sb.Append(";6300;"); // Kostenstelle
|
sb.Append(";;6300;;"); // Kostenstelle
|
||||||
String buchungstext = "";
|
String buchungstext = "";
|
||||||
long? c2sOid = (long?)row[6];
|
if (row[8] != null && row[8].ToString() == "Allgemeine Rechnung")
|
||||||
|
|
||||||
if (c2sOid.HasValue)
|
|
||||||
{
|
{
|
||||||
var c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(c2sOid.Value);
|
buchungstext = row[8].ToString();
|
||||||
var c = c2s.SupportConcept.Customer;
|
}
|
||||||
buchungstext = String.Format("{0} {1} {2:0.00}/{3}", c.Person.LastName, c.Person.FirstName, date.Month, date.Year);
|
else
|
||||||
buchungstext = buchungstext.Replace(";", ",");
|
{
|
||||||
|
long? c2sOid = (long?)row[6];
|
||||||
|
|
||||||
|
if (c2sOid.HasValue)
|
||||||
|
{
|
||||||
|
var c2s = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(c2sOid.Value);
|
||||||
|
var c = c2s.SupportConcept.Customer;
|
||||||
|
buchungstext = String.Format("{0} {1} {2:MM}/{3}", c.Person.LastName, c.Person.FirstName, date, date.Year);
|
||||||
|
buchungstext = buchungstext.Replace(";", ",");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
sb.Append(buchungstext);
|
sb.Append(buchungstext);
|
||||||
|
sb.Append(";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"); // Leerspalten
|
||||||
|
}
|
||||||
|
count = idx;
|
||||||
|
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string GetMietzahlungenString(DateTime date)
|
||||||
|
{
|
||||||
|
/* Round(scap.ApprovedFixedAmount, 2) AS 'Miete',
|
||||||
|
'40126' AS 'Gegenkonto',
|
||||||
|
'123456' AS InvoiceNumber,
|
||||||
|
cust.CostCenter,
|
||||||
|
cust.DebitorNumber,
|
||||||
|
CONCAT(p.LastName, ', ', p.FirstName) AS KlientName */
|
||||||
|
var dt = ExecuteQuery(GetMonatlicheMietenSql(date), date);
|
||||||
|
int idx = count;
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
foreach (DataRow row in dt.Rows)
|
||||||
|
{
|
||||||
|
if (sb.Length > 0)
|
||||||
|
{
|
||||||
|
sb.AppendLine();
|
||||||
|
}
|
||||||
|
sb.Append("172265000;172265;"); // Anwender Nr.;TeilNr
|
||||||
|
sb.Append(String.Format("{0:yyyy}", date)); // Wirtschaftsjahr
|
||||||
|
sb.Append(";");
|
||||||
|
sb.Append(String.Format("{0:0}", date.Month)); // Wirtschaftsmonat
|
||||||
|
sb.Append(";;;;;1;;"); //Buchungssatz
|
||||||
|
sb.Append(String.Format("{0:0}", idx)); //ErfaBuchhnr
|
||||||
|
sb.Append(";;");
|
||||||
|
sb.Append(String.Format("{0:0.00}", row[0])); // ErfaBetrag
|
||||||
|
sb.Append(";;;");
|
||||||
|
sb.Append(String.Format("{0}", idx++)); // FibuBelegNr
|
||||||
|
sb.Append(";");
|
||||||
|
sb.Append(String.Format("{0:dd.MM.yyyy}", date)); // Belegdatum
|
||||||
|
sb.Append(";;;;;");
|
||||||
|
sb.Append(String.Format("{0}", row[3])); // FKontoNr (Debitor) Debitor für Miete ist in Kostenstelle, da abweicht
|
||||||
|
sb.Append(";;");
|
||||||
|
sb.Append(String.Format("{0}", row[1])); // FGKontoNr
|
||||||
|
sb.Append(";;6300;;"); // Kostenstelle
|
||||||
|
String buchungstext = "";
|
||||||
|
if (row[5] != null)
|
||||||
|
{
|
||||||
|
buchungstext = row[5].ToString();
|
||||||
|
buchungstext = String.Format("{0} {1:MM}/{2}", row[5], date, date.Year);
|
||||||
|
//buchungstext = buchungstext.Replace(";", ",");
|
||||||
|
}
|
||||||
|
sb.Append(buchungstext);
|
||||||
|
sb.Append(";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"); // Leerspalten
|
||||||
}
|
}
|
||||||
|
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
@@ -148,8 +195,48 @@ namespace TwgJonathan.Export
|
|||||||
inner join invoicebase ib on ib.costbearer2supportconceptoid = c2s.oid
|
inner join invoicebase ib on ib.costbearer2supportconceptoid = c2s.oid
|
||||||
inner join serviceinvoice si on si.invoicebaseoid = ib.oid
|
inner join serviceinvoice si on si.invoicebaseoid = ib.oid
|
||||||
inner join serviceinvoiceperiod sip on sip.serviceinvoiceoid = si.oid
|
inner join serviceinvoiceperiod sip on sip.serviceinvoiceoid = si.oid
|
||||||
|
WHERE ib.`AccountingPeriodEnd` >= ':Monat_Start' AND ib.`AccountingPeriodEnd` < ':Monat_End' and ib.IsActive = 1 AND ib.`IsExported` = 0
|
||||||
|
UNION
|
||||||
|
SELECT DISTINCT
|
||||||
|
(select sum(ii.AmountTotal) from invoiceitem ii where ii.invoicebaseoid = ib.oid),
|
||||||
|
'40125' as 'Gegenkonto',
|
||||||
|
ib.invoicenumber,
|
||||||
|
ib.InvoiceDate,
|
||||||
|
'113999',
|
||||||
|
'6300',
|
||||||
|
ib.Oid,
|
||||||
|
ib.InvoiceId,
|
||||||
|
'Allgemeine Rechnung'
|
||||||
|
from invoicebase ib
|
||||||
|
inner join organisation org on org.costbeareroid = ib.RecipientOrganisationOid
|
||||||
WHERE ib.`AccountingPeriodEnd` >= ':Monat_Start' AND ib.`AccountingPeriodEnd` < ':Monat_End' and ib.IsActive = 1
|
WHERE ib.`AccountingPeriodEnd` >= ':Monat_Start' AND ib.`AccountingPeriodEnd` < ':Monat_End' and ib.IsActive = 1
|
||||||
order by ib.invoicenumber
|
and ib.Type = 2 AND ib.`IsExported` = 0
|
||||||
|
-- order by ib.invoicenumber
|
||||||
|
";
|
||||||
|
|
||||||
|
return sql;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static String GetMonatlicheMietenSql(DateTime date)
|
||||||
|
{
|
||||||
|
//40125 Betreuung
|
||||||
|
//40126 Mietkostenerstattung
|
||||||
|
|
||||||
|
String sql = @"
|
||||||
|
SELECT
|
||||||
|
Round(IFNULL(scap.ApprovedFixedAmount, 0), 2) as 'Miete',
|
||||||
|
'40126' AS 'Gegenkonto',
|
||||||
|
'123456' AS InvoiceNumber,
|
||||||
|
cust.CostCenter,
|
||||||
|
cust.DebitorNumber,
|
||||||
|
CONCAT(p.LastName, ', ', p.FirstName, ', Miete ') AS KlientName
|
||||||
|
FROM `person` p join `customer` cust on p.Oid = cust.PersonOid join `supportconcept` sc on cust.Oid = sc.CustomerOid
|
||||||
|
join `costbearer2supportconcept` cb2sc on sc.Oid = cb2sc.SupportConceptOid join `costbearer` cb on cb2sc.`CostBearerOid` = cb.`Oid`
|
||||||
|
join `supportconceptapprovalperiod` scap on cb2sc.`Oid` = scap.`CostBearer2SupportConceptOid`
|
||||||
|
join `organisation` o on cb.`Oid` = o.`CostBearerOid`
|
||||||
|
WHERE cust.IsActive = 1 AND sc.IsActive = 1 AND (scap.ServicecategoryOid) = 6
|
||||||
|
AND scap.Start < ':Monat_End' && scap.EndDate > ':Monat_Start'
|
||||||
|
Order by KlientName
|
||||||
";
|
";
|
||||||
|
|
||||||
return sql;
|
return sql;
|
||||||
|
|||||||
@@ -28,7 +28,11 @@ namespace TwgJonathan
|
|||||||
sb.AppendLine(pRO.RecipientOrganisation);
|
sb.AppendLine(pRO.RecipientOrganisation);
|
||||||
sb.AppendLine("");
|
sb.AppendLine("");
|
||||||
}
|
}
|
||||||
if (!String.IsNullOrEmpty(pRO.RecipientContactPerson))
|
if (!String.IsNullOrEmpty(pRO.RecipientAddressLine1))
|
||||||
|
{
|
||||||
|
sb.AppendLine(pRO.RecipientAddressLine1);
|
||||||
|
}
|
||||||
|
if (!String.IsNullOrEmpty(pRO.RecipientContactPerson))
|
||||||
{
|
{
|
||||||
sb.AppendLine(pRO.RecipientContactPerson);
|
sb.AppendLine(pRO.RecipientContactPerson);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user