90 lines
5.4 KiB
XML
90 lines
5.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Report ScriptLanguage="Vb" ReportInfo.Created="11/28/2015 07:43:07" ReportInfo.Modified="02/18/2019 09:11:18" ReportInfo.CreatorVersion="2018.4.2.0">
|
|
<ScriptText>Imports System
|
|
Imports System.Collections
|
|
Imports System.Collections.Generic
|
|
Imports System.ComponentModel
|
|
Imports System.Windows.Forms
|
|
Imports System.Drawing
|
|
Imports Microsoft.VisualBasic
|
|
Imports FastReport
|
|
Imports FastReport.Data
|
|
Imports FastReport.Dialog
|
|
Imports FastReport.Table
|
|
Imports FastReport.Barcode
|
|
Imports FastReport.Utils
|
|
|
|
Namespace FastReport
|
|
Public Class ReportScript
|
|
|
|
Private Sub Picture1_BeforePrint(ByVal sender As object, ByVal e As EventArgs)
|
|
dim s as String()
|
|
dim pfad as string
|
|
pfad=""
|
|
s=report.FileName.Split("\")
|
|
dim i as integer
|
|
for i=0 to s.length-3
|
|
pfad=pfad+s(i)+"\"
|
|
next i
|
|
Dim ReportLogo as String
|
|
ReportLogo=pfad+"Logo\reportlogo.png"
|
|
picture1.ImageLocation=Reportlogo
|
|
End Sub
|
|
End Class
|
|
End Namespace
|
|
</ScriptText>
|
|
<Dictionary>
|
|
<TableDataSource Name="Daten" ReferenceName="Data.Daten" DataType="System.Int32" Enabled="true">
|
|
<Column Name="Nrfaktura" DataType="System.Int32"/>
|
|
<Column Name="Nrdebitor" DataType="System.Int32"/>
|
|
<Column Name="Nrpatient" DataType="System.Int32"/>
|
|
<Column Name="Datum" DataType="System.DateTime"/>
|
|
<Column Name="Total" DataType="System.Double"/>
|
|
<Column Name="Status" DataType="System.Int32"/>
|
|
<Column Name="Patient" DataType="System.String"/>
|
|
<Column Name="Debitor" DataType="System.String"/>
|
|
<Column Name="behandler" DataType="System.String"/>
|
|
</TableDataSource>
|
|
<Parameter Name="Absender" DataType="System.String"/>
|
|
<Parameter Name="Datum von" DataType="System.String"/>
|
|
<Parameter Name="Datum bis" DataType="System.String"/>
|
|
<Parameter Name="Behandler" DataType="System.String"/>
|
|
<Total Name="Total" Expression="[Daten.Total]" Evaluator="Data1" EvaluateCondition="[Daten.Status]<>9"/>
|
|
<Total Name="Total_Storno" Expression="[Daten.Total]" Evaluator="Data1" EvaluateCondition="[Daten.Status]=9"/>
|
|
</Dictionary>
|
|
<ReportPage Name="Page1">
|
|
<ReportTitleBand Name="ReportTitle1" Width="718.2"/>
|
|
<PageHeaderBand Name="PageHeader1" Top="2.86" Width="718.2" Height="94.5">
|
|
<PictureObject Name="Picture1" Width="132.3" Height="66.15" BeforePrintEvent="Picture1_BeforePrint" ImageLocation="E:\Software-Projekte\DPM\DPM2016\DPM2016\bin\Debug\\Reporting\Logo\reportlogo.png"/>
|
|
<TextObject Name="Text1" Left="406.35" Top="9.45" Width="302.4" Height="28.35" Text="Rechnungsjournal [Datum von] - [Datum bis] Behandler: [Behandler]" HorzAlign="Right"/>
|
|
<TextObject Name="Text8" Top="75.6" Width="94.5" Height="18.9" Text="RG-Nummer" Font="Arial, 9pt, style=Bold"/>
|
|
<TextObject Name="Text9" Left="85.05" Top="75.6" Width="94.5" Height="18.9" Text="Datum" Font="Arial, 9pt, style=Bold"/>
|
|
<TextObject Name="Text10" Left="179.55" Top="75.6" Width="170.1" Height="18.9" Text="Patient / Debitor" Font="Arial, 9pt, style=Bold"/>
|
|
<TextObject Name="Text11" Left="614.25" Top="75.6" Width="47.25" Height="18.9" Text="Betrag" HorzAlign="Right" Font="Arial, 9pt, style=Bold"/>
|
|
<TextObject Name="Text12" Left="642.6" Top="75.6" Width="66.15" Height="18.9" Text="Storno" HorzAlign="Right" Font="Arial, 9pt, style=Bold"/>
|
|
<LineObject Name="Line2" Top="90.5" Width="708.75"/>
|
|
</PageHeaderBand>
|
|
<DataBand Name="Data1" Top="100.21" Width="718.2" Height="19.9" CanGrow="true" DataSource="Daten">
|
|
<TextObject Name="Text2" Top="1" Width="85.05" Height="18.9" Text="[Daten.Nrfaktura]" Font="Arial, 9pt"/>
|
|
<TextObject Name="Text3" Left="85.05" Top="1" Width="94.5" Height="18.9" Text="[Daten.Datum]" Format="Date" Format.Format="d" Font="Arial, 9pt"/>
|
|
<TextObject Name="Text4" Left="179.55" Top="1" Width="378" Height="18.9" CanGrow="true" Text="[Daten.Patient] [Daten.Debitor]" Font="Arial, 9pt"/>
|
|
<TextObject Name="Text6" Left="567" Top="1" Width="94.5" Height="18.9" Text="[Daten.Total]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Font="Arial, 9pt" Trimming="EllipsisCharacter"/>
|
|
<TextObject Name="Text7" Left="670.95" Top="1" Width="37.8" Height="18.9" Text="[IIf([Daten.Status]=9,"J","")]" HorzAlign="Right" Font="Arial, 9pt"/>
|
|
<ChildBand Name="Child1" Top="122.97" Width="718.2">
|
|
<LineObject Name="Line1" Width="708.75"/>
|
|
</ChildBand>
|
|
<Sort>
|
|
<Sort Expression="[Daten.Nrfaktura]"/>
|
|
</Sort>
|
|
</DataBand>
|
|
<ReportSummaryBand Name="ReportSummary1" Top="125.83" Width="718.2" Height="37.8">
|
|
<TextObject Name="Text13" Left="434.7" Top="3" Width="132.3" Height="28.35" Text="Total (ohne Storno) Total Storno" HorzAlign="Right" Font="Arial, 9pt, style=Bold"/>
|
|
<TextObject Name="Text14" Left="567" Top="3" Width="94.5" Height="28.35" Text="[Total] [Total_Storno]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Font="Arial, 9pt, style=Bold" Trimming="EllipsisCharacter"/>
|
|
</ReportSummaryBand>
|
|
<PageFooterBand Name="PageFooter1" Top="166.49" Width="718.2" Height="18.9">
|
|
<TextObject Name="Text5" Width="189" Height="18.9" Text="[Date]" Font="Arial, 9pt"/>
|
|
<TextObject Name="Text15" Left="614.25" Width="94.5" Height="18.9" Text="[Page#]" HorzAlign="Right" Font="Arial, 9pt"/>
|
|
</PageFooterBand>
|
|
</ReportPage>
|
|
</Report>
|