Fakturierung Prüfung bereits fakt.; EUST separieren; Spire PDF
This commit is contained in:
@@ -1652,6 +1652,12 @@ Public Class cFakturierung
|
|||||||
Shared Function Abrechnugsdaten_AKTUALISIEREN(ByRef RECHNUNG As VERAG_PROG_ALLGEMEIN.cRechnungsausgang, Optional RechnungsDatum As Object = Nothing) As Boolean
|
Shared Function Abrechnugsdaten_AKTUALISIEREN(ByRef RECHNUNG As VERAG_PROG_ALLGEMEIN.cRechnungsausgang, Optional RechnungsDatum As Object = Nothing) As Boolean
|
||||||
RECHNUNG.[DruckDatumZeit] = Now
|
RECHNUNG.[DruckDatumZeit] = Now
|
||||||
|
|
||||||
|
If RECHNUNG.checkAlreadyPrinted Then
|
||||||
|
'Rechnung wurde bereits gedruck - evtl. bei überschneidenden Rechnungslauf --> Druck abbrechen!
|
||||||
|
MsgBox("Die Rechnung '" & RECHNUNG.FilialenNr & "/" & RECHNUNG.AbfertigungsNr & "' an '" & RECHNUNG.RechnungsName_1 & "' wurde bereits gedruckt!")
|
||||||
|
Return False
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
If RECHNUNG.Sammelrechnung = 0 Then
|
If RECHNUNG.Sammelrechnung = 0 Then
|
||||||
' Rechnungsdaten im RK eintragen.
|
' Rechnungsdaten im RK eintragen.
|
||||||
|
|||||||
@@ -262,6 +262,7 @@ Public Class frmAbrechnungsMaske
|
|||||||
|
|
||||||
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
||||||
If checkSrchValues() Then
|
If checkSrchValues() Then
|
||||||
|
getDGV().RELOAD()
|
||||||
Dim orderBy = ""
|
Dim orderBy = ""
|
||||||
Select Case cboSort._value
|
Select Case cboSort._value
|
||||||
Case "EZ" : orderBy = " ORDER BY [ReErfZeitstempel] ASC"
|
Case "EZ" : orderBy = " ORDER BY [ReErfZeitstempel] ASC"
|
||||||
@@ -353,6 +354,7 @@ Public Class frmAbrechnungsMaske
|
|||||||
|
|
||||||
Private Sub Button9_Click(sender As Object, e As EventArgs) Handles Button9.Click
|
Private Sub Button9_Click(sender As Object, e As EventArgs) Handles Button9.Click
|
||||||
If dgvRechnungen.SelectedRows.Count > 0 Then
|
If dgvRechnungen.SelectedRows.Count > 0 Then
|
||||||
|
' getDGV().RELOAD() -> hebt Selektierung auf
|
||||||
If vbYes = MsgBox("Es werden " & dgvRechnungen.SelectedRows.Count & " Rechnungen in ein PDF gewandelt." & vbNewLine & "Möchten Sie fortfahren?", vbYesNoCancel) Then
|
If vbYes = MsgBox("Es werden " & dgvRechnungen.SelectedRows.Count & " Rechnungen in ein PDF gewandelt." & vbNewLine & "Möchten Sie fortfahren?", vbYesNoCancel) Then
|
||||||
|
|
||||||
'Rechnungsdatum festlegen:
|
'Rechnungsdatum festlegen:
|
||||||
@@ -389,6 +391,7 @@ Public Class frmAbrechnungsMaske
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub Button8_Click(sender As Object, e As EventArgs) Handles Button8.Click, Button11.Click
|
Private Sub Button8_Click(sender As Object, e As EventArgs) Handles Button8.Click, Button11.Click
|
||||||
|
' getDGV().RELOAD() -> hebt Selektierung auf
|
||||||
For Each r As DataGridViewRow In dgvRechnungen.SelectedRows
|
For Each r As DataGridViewRow In dgvRechnungen.SelectedRows
|
||||||
If r.Cells("Art").Value <> "0" Then
|
If r.Cells("Art").Value <> "0" Then
|
||||||
MsgBox("Nur bei Einzelrechnung")
|
MsgBox("Nur bei Einzelrechnung")
|
||||||
@@ -524,6 +527,7 @@ Public Class frmAbrechnungsMaske
|
|||||||
|
|
||||||
Private Sub Button7_Click2(sender As Object, e As EventArgs) Handles Button7.Click
|
Private Sub Button7_Click2(sender As Object, e As EventArgs) Handles Button7.Click
|
||||||
If dgvRechnungen.SelectedRows.Count > 0 Then
|
If dgvRechnungen.SelectedRows.Count > 0 Then
|
||||||
|
' getDGV().RELOAD() -> hebt Selektierung auf
|
||||||
If vbYes = MsgBox("Es werden " & dgvRechnungen.SelectedRows.Count & " Rechnungen gedruckt." & vbNewLine & "Möchten Sie fortfahren?", vbYesNoCancel) Then
|
If vbYes = MsgBox("Es werden " & dgvRechnungen.SelectedRows.Count & " Rechnungen gedruckt." & vbNewLine & "Möchten Sie fortfahren?", vbYesNoCancel) Then
|
||||||
|
|
||||||
'Rechnungsdatum festlegen:
|
'Rechnungsdatum festlegen:
|
||||||
|
|||||||
348
SDL/Fakturierung/usrCntlFaktAbrechnung.Designer.vb
generated
348
SDL/Fakturierung/usrCntlFaktAbrechnung.Designer.vb
generated
@@ -23,27 +23,27 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
<System.Diagnostics.DebuggerStepThrough()>
|
<System.Diagnostics.DebuggerStepThrough()>
|
||||||
Private Sub InitializeComponent()
|
Private Sub InitializeComponent()
|
||||||
Me.components = New System.ComponentModel.Container()
|
Me.components = New System.ComponentModel.Container()
|
||||||
Dim DataGridViewCellStyle22 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle25 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle26 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle23 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle24 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle27 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle32 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle11 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle33 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle12 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle28 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle29 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle30 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle31 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle34 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle13 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle35 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle14 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle36 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle15 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle37 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle16 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle38 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle17 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle39 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle18 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle40 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle19 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle41 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle20 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim DataGridViewCellStyle42 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
Dim DataGridViewCellStyle21 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(usrCntlFaktAbrechnung))
|
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(usrCntlFaktAbrechnung))
|
||||||
Me.Label9 = New System.Windows.Forms.Label()
|
Me.Label9 = New System.Windows.Forms.Label()
|
||||||
Me.Label4 = New System.Windows.Forms.Label()
|
Me.Label4 = New System.Windows.Forms.Label()
|
||||||
@@ -234,7 +234,6 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
Me.lblEUR_4 = New System.Windows.Forms.Label()
|
Me.lblEUR_4 = New System.Windows.Forms.Label()
|
||||||
Me.Label55 = New System.Windows.Forms.Label()
|
Me.Label55 = New System.Windows.Forms.Label()
|
||||||
Me.cboSteuerschlüssel = New VERAG_PROG_ALLGEMEIN.MyComboBox()
|
Me.cboSteuerschlüssel = New VERAG_PROG_ALLGEMEIN.MyComboBox()
|
||||||
Me.rtbAbf_Besonderheiten = New SDL.usrCntlKundenBesonderheiten()
|
|
||||||
Me.cbxOriginalPrint = New System.Windows.Forms.CheckBox()
|
Me.cbxOriginalPrint = New System.Windows.Forms.CheckBox()
|
||||||
Me.Label46 = New System.Windows.Forms.Label()
|
Me.Label46 = New System.Windows.Forms.Label()
|
||||||
Me.Button9 = New System.Windows.Forms.Button()
|
Me.Button9 = New System.Windows.Forms.Button()
|
||||||
@@ -271,6 +270,10 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
Me.EmpfängerToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
Me.EmpfängerToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||||
Me.AuftraggeberToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
Me.AuftraggeberToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||||
Me.AvisiererToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
Me.AvisiererToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||||
|
Me.ContextMenuStrip2 = New System.Windows.Forms.ContextMenuStrip(Me.components)
|
||||||
|
Me.GutschriftAusRechnungToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||||
|
Me.SeperateRechnungFürEUSTToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||||
|
Me.rtbAbf_Besonderheiten = New SDL.usrCntlKundenBesonderheiten()
|
||||||
Me.pnlTop.SuspendLayout()
|
Me.pnlTop.SuspendLayout()
|
||||||
Me.Panel3.SuspendLayout()
|
Me.Panel3.SuspendLayout()
|
||||||
Me.Panel1.SuspendLayout()
|
Me.Panel1.SuspendLayout()
|
||||||
@@ -295,6 +298,7 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.CntxtAbfArt.SuspendLayout()
|
Me.CntxtAbfArt.SuspendLayout()
|
||||||
Me.ContextMenuStrip1.SuspendLayout()
|
Me.ContextMenuStrip1.SuspendLayout()
|
||||||
|
Me.ContextMenuStrip2.SuspendLayout()
|
||||||
Me.SuspendLayout()
|
Me.SuspendLayout()
|
||||||
'
|
'
|
||||||
'Label9
|
'Label9
|
||||||
@@ -405,7 +409,7 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
Me.Button11.Name = "Button11"
|
Me.Button11.Name = "Button11"
|
||||||
Me.Button11.Size = New System.Drawing.Size(107, 24)
|
Me.Button11.Size = New System.Drawing.Size(107, 24)
|
||||||
Me.Button11.TabIndex = 20
|
Me.Button11.TabIndex = 20
|
||||||
Me.Button11.Text = "Gutschrift aus RG"
|
Me.Button11.Text = "Optionen"
|
||||||
Me.Button11.UseVisualStyleBackColor = True
|
Me.Button11.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
'lblDruckaufheben
|
'lblDruckaufheben
|
||||||
@@ -859,36 +863,36 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
Me.dgvAnhaenge.AllowUserToResizeColumns = False
|
Me.dgvAnhaenge.AllowUserToResizeColumns = False
|
||||||
Me.dgvAnhaenge.AllowUserToResizeRows = False
|
Me.dgvAnhaenge.AllowUserToResizeRows = False
|
||||||
Me.dgvAnhaenge.BackgroundColor = System.Drawing.Color.White
|
Me.dgvAnhaenge.BackgroundColor = System.Drawing.Color.White
|
||||||
DataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
DataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
DataGridViewCellStyle22.BackColor = System.Drawing.SystemColors.Control
|
DataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control
|
||||||
DataGridViewCellStyle22.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
DataGridViewCellStyle1.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
DataGridViewCellStyle22.ForeColor = System.Drawing.SystemColors.WindowText
|
DataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText
|
||||||
DataGridViewCellStyle22.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
DataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
||||||
DataGridViewCellStyle22.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
DataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
||||||
DataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
||||||
Me.dgvAnhaenge.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle22
|
Me.dgvAnhaenge.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle1
|
||||||
Me.dgvAnhaenge.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
Me.dgvAnhaenge.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||||
Me.dgvAnhaenge.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.optAnhSel, Me.DataGridViewTextBoxColumn2, Me.clmnBezeichnung, Me.clmnDsId, Me.clmnAnhId})
|
Me.dgvAnhaenge.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.optAnhSel, Me.DataGridViewTextBoxColumn2, Me.clmnBezeichnung, Me.clmnDsId, Me.clmnAnhId})
|
||||||
DataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
DataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
DataGridViewCellStyle25.BackColor = System.Drawing.SystemColors.Window
|
DataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window
|
||||||
DataGridViewCellStyle25.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
DataGridViewCellStyle4.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
DataGridViewCellStyle25.ForeColor = System.Drawing.SystemColors.ControlText
|
DataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText
|
||||||
DataGridViewCellStyle25.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
DataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
||||||
DataGridViewCellStyle25.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
DataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
||||||
DataGridViewCellStyle25.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
|
DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
|
||||||
Me.dgvAnhaenge.DefaultCellStyle = DataGridViewCellStyle25
|
Me.dgvAnhaenge.DefaultCellStyle = DataGridViewCellStyle4
|
||||||
Me.dgvAnhaenge.Location = New System.Drawing.Point(493, 911)
|
Me.dgvAnhaenge.Location = New System.Drawing.Point(493, 911)
|
||||||
Me.dgvAnhaenge.MultiSelect = False
|
Me.dgvAnhaenge.MultiSelect = False
|
||||||
Me.dgvAnhaenge.Name = "dgvAnhaenge"
|
Me.dgvAnhaenge.Name = "dgvAnhaenge"
|
||||||
Me.dgvAnhaenge.ReadOnly = True
|
Me.dgvAnhaenge.ReadOnly = True
|
||||||
DataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
DataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
DataGridViewCellStyle26.BackColor = System.Drawing.SystemColors.Control
|
DataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control
|
||||||
DataGridViewCellStyle26.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
DataGridViewCellStyle5.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
DataGridViewCellStyle26.ForeColor = System.Drawing.SystemColors.WindowText
|
DataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText
|
||||||
DataGridViewCellStyle26.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
DataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
||||||
DataGridViewCellStyle26.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
DataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
||||||
DataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
DataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
||||||
Me.dgvAnhaenge.RowHeadersDefaultCellStyle = DataGridViewCellStyle26
|
Me.dgvAnhaenge.RowHeadersDefaultCellStyle = DataGridViewCellStyle5
|
||||||
Me.dgvAnhaenge.RowHeadersVisible = False
|
Me.dgvAnhaenge.RowHeadersVisible = False
|
||||||
Me.dgvAnhaenge.RowHeadersWidth = 62
|
Me.dgvAnhaenge.RowHeadersWidth = 62
|
||||||
Me.dgvAnhaenge.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
|
Me.dgvAnhaenge.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
|
||||||
@@ -910,10 +914,10 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
'
|
'
|
||||||
'DataGridViewTextBoxColumn2
|
'DataGridViewTextBoxColumn2
|
||||||
'
|
'
|
||||||
DataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
|
DataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
|
||||||
DataGridViewCellStyle23.Format = "N0"
|
DataGridViewCellStyle2.Format = "N0"
|
||||||
DataGridViewCellStyle23.NullValue = Nothing
|
DataGridViewCellStyle2.NullValue = Nothing
|
||||||
Me.DataGridViewTextBoxColumn2.DefaultCellStyle = DataGridViewCellStyle23
|
Me.DataGridViewTextBoxColumn2.DefaultCellStyle = DataGridViewCellStyle2
|
||||||
Me.DataGridViewTextBoxColumn2.HeaderText = "Art"
|
Me.DataGridViewTextBoxColumn2.HeaderText = "Art"
|
||||||
Me.DataGridViewTextBoxColumn2.MinimumWidth = 8
|
Me.DataGridViewTextBoxColumn2.MinimumWidth = 8
|
||||||
Me.DataGridViewTextBoxColumn2.Name = "DataGridViewTextBoxColumn2"
|
Me.DataGridViewTextBoxColumn2.Name = "DataGridViewTextBoxColumn2"
|
||||||
@@ -923,9 +927,9 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
'clmnBezeichnung
|
'clmnBezeichnung
|
||||||
'
|
'
|
||||||
Me.clmnBezeichnung.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill
|
Me.clmnBezeichnung.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill
|
||||||
DataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
DataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
DataGridViewCellStyle24.Format = "c2"
|
DataGridViewCellStyle3.Format = "c2"
|
||||||
Me.clmnBezeichnung.DefaultCellStyle = DataGridViewCellStyle24
|
Me.clmnBezeichnung.DefaultCellStyle = DataGridViewCellStyle3
|
||||||
Me.clmnBezeichnung.FillWeight = 121.2598!
|
Me.clmnBezeichnung.FillWeight = 121.2598!
|
||||||
Me.clmnBezeichnung.HeaderText = "Bezeichnung"
|
Me.clmnBezeichnung.HeaderText = "Bezeichnung"
|
||||||
Me.clmnBezeichnung.MinimumWidth = 8
|
Me.clmnBezeichnung.MinimumWidth = 8
|
||||||
@@ -2856,35 +2860,35 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
Me.dgvRechnungenPositionen.AllowUserToResizeColumns = False
|
Me.dgvRechnungenPositionen.AllowUserToResizeColumns = False
|
||||||
Me.dgvRechnungenPositionen.AllowUserToResizeRows = False
|
Me.dgvRechnungenPositionen.AllowUserToResizeRows = False
|
||||||
Me.dgvRechnungenPositionen.BackgroundColor = System.Drawing.Color.White
|
Me.dgvRechnungenPositionen.BackgroundColor = System.Drawing.Color.White
|
||||||
DataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
DataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
DataGridViewCellStyle27.BackColor = System.Drawing.SystemColors.Control
|
DataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control
|
||||||
DataGridViewCellStyle27.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
DataGridViewCellStyle6.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
DataGridViewCellStyle27.ForeColor = System.Drawing.SystemColors.WindowText
|
DataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText
|
||||||
DataGridViewCellStyle27.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
DataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
||||||
DataGridViewCellStyle27.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
DataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
||||||
DataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
||||||
Me.dgvRechnungenPositionen.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle27
|
Me.dgvRechnungenPositionen.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle6
|
||||||
Me.dgvRechnungenPositionen.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
Me.dgvRechnungenPositionen.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||||
Me.dgvRechnungenPositionen.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.Leistung, Me.Anzahl, Me.Preis, Me.SteuerpflichtigerBetrag, Me.SteuerfreierBetrag, Me.Aufschubkonto})
|
Me.dgvRechnungenPositionen.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.Leistung, Me.Anzahl, Me.Preis, Me.SteuerpflichtigerBetrag, Me.SteuerfreierBetrag, Me.Aufschubkonto})
|
||||||
DataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
DataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
DataGridViewCellStyle32.BackColor = System.Drawing.SystemColors.Window
|
DataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Window
|
||||||
DataGridViewCellStyle32.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
DataGridViewCellStyle11.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
DataGridViewCellStyle32.ForeColor = System.Drawing.SystemColors.ControlText
|
DataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.ControlText
|
||||||
DataGridViewCellStyle32.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
DataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
||||||
DataGridViewCellStyle32.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
DataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
||||||
DataGridViewCellStyle32.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
|
DataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
|
||||||
Me.dgvRechnungenPositionen.DefaultCellStyle = DataGridViewCellStyle32
|
Me.dgvRechnungenPositionen.DefaultCellStyle = DataGridViewCellStyle11
|
||||||
Me.dgvRechnungenPositionen.Location = New System.Drawing.Point(10, 258)
|
Me.dgvRechnungenPositionen.Location = New System.Drawing.Point(10, 258)
|
||||||
Me.dgvRechnungenPositionen.Name = "dgvRechnungenPositionen"
|
Me.dgvRechnungenPositionen.Name = "dgvRechnungenPositionen"
|
||||||
Me.dgvRechnungenPositionen.ReadOnly = True
|
Me.dgvRechnungenPositionen.ReadOnly = True
|
||||||
DataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
DataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
DataGridViewCellStyle33.BackColor = System.Drawing.SystemColors.Control
|
DataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control
|
||||||
DataGridViewCellStyle33.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
DataGridViewCellStyle12.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
DataGridViewCellStyle33.ForeColor = System.Drawing.SystemColors.WindowText
|
DataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText
|
||||||
DataGridViewCellStyle33.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
DataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
||||||
DataGridViewCellStyle33.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
DataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
||||||
DataGridViewCellStyle33.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
DataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
||||||
Me.dgvRechnungenPositionen.RowHeadersDefaultCellStyle = DataGridViewCellStyle33
|
Me.dgvRechnungenPositionen.RowHeadersDefaultCellStyle = DataGridViewCellStyle12
|
||||||
Me.dgvRechnungenPositionen.RowHeadersVisible = False
|
Me.dgvRechnungenPositionen.RowHeadersVisible = False
|
||||||
Me.dgvRechnungenPositionen.RowHeadersWidth = 62
|
Me.dgvRechnungenPositionen.RowHeadersWidth = 62
|
||||||
Me.dgvRechnungenPositionen.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
|
Me.dgvRechnungenPositionen.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
|
||||||
@@ -2902,10 +2906,10 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
'
|
'
|
||||||
'Anzahl
|
'Anzahl
|
||||||
'
|
'
|
||||||
DataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
|
DataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
|
||||||
DataGridViewCellStyle28.Format = "N0"
|
DataGridViewCellStyle7.Format = "N0"
|
||||||
DataGridViewCellStyle28.NullValue = Nothing
|
DataGridViewCellStyle7.NullValue = Nothing
|
||||||
Me.Anzahl.DefaultCellStyle = DataGridViewCellStyle28
|
Me.Anzahl.DefaultCellStyle = DataGridViewCellStyle7
|
||||||
Me.Anzahl.HeaderText = "Anzahl"
|
Me.Anzahl.HeaderText = "Anzahl"
|
||||||
Me.Anzahl.MinimumWidth = 8
|
Me.Anzahl.MinimumWidth = 8
|
||||||
Me.Anzahl.Name = "Anzahl"
|
Me.Anzahl.Name = "Anzahl"
|
||||||
@@ -2914,9 +2918,9 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
'
|
'
|
||||||
'Preis
|
'Preis
|
||||||
'
|
'
|
||||||
DataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
|
DataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
|
||||||
DataGridViewCellStyle29.Format = "c2"
|
DataGridViewCellStyle8.Format = "c2"
|
||||||
Me.Preis.DefaultCellStyle = DataGridViewCellStyle29
|
Me.Preis.DefaultCellStyle = DataGridViewCellStyle8
|
||||||
Me.Preis.HeaderText = "Preis"
|
Me.Preis.HeaderText = "Preis"
|
||||||
Me.Preis.MinimumWidth = 8
|
Me.Preis.MinimumWidth = 8
|
||||||
Me.Preis.Name = "Preis"
|
Me.Preis.Name = "Preis"
|
||||||
@@ -2925,9 +2929,9 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
'
|
'
|
||||||
'SteuerpflichtigerBetrag
|
'SteuerpflichtigerBetrag
|
||||||
'
|
'
|
||||||
DataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
|
DataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
|
||||||
DataGridViewCellStyle30.Format = "c2"
|
DataGridViewCellStyle9.Format = "c2"
|
||||||
Me.SteuerpflichtigerBetrag.DefaultCellStyle = DataGridViewCellStyle30
|
Me.SteuerpflichtigerBetrag.DefaultCellStyle = DataGridViewCellStyle9
|
||||||
Me.SteuerpflichtigerBetrag.HeaderText = "Steuerpfl."
|
Me.SteuerpflichtigerBetrag.HeaderText = "Steuerpfl."
|
||||||
Me.SteuerpflichtigerBetrag.MinimumWidth = 8
|
Me.SteuerpflichtigerBetrag.MinimumWidth = 8
|
||||||
Me.SteuerpflichtigerBetrag.Name = "SteuerpflichtigerBetrag"
|
Me.SteuerpflichtigerBetrag.Name = "SteuerpflichtigerBetrag"
|
||||||
@@ -2936,10 +2940,10 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
'
|
'
|
||||||
'SteuerfreierBetrag
|
'SteuerfreierBetrag
|
||||||
'
|
'
|
||||||
DataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
|
DataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight
|
||||||
DataGridViewCellStyle31.Format = "C2"
|
DataGridViewCellStyle10.Format = "C2"
|
||||||
DataGridViewCellStyle31.NullValue = Nothing
|
DataGridViewCellStyle10.NullValue = Nothing
|
||||||
Me.SteuerfreierBetrag.DefaultCellStyle = DataGridViewCellStyle31
|
Me.SteuerfreierBetrag.DefaultCellStyle = DataGridViewCellStyle10
|
||||||
Me.SteuerfreierBetrag.HeaderText = "Steuerfrei"
|
Me.SteuerfreierBetrag.HeaderText = "Steuerfrei"
|
||||||
Me.SteuerfreierBetrag.MinimumWidth = 8
|
Me.SteuerfreierBetrag.MinimumWidth = 8
|
||||||
Me.SteuerfreierBetrag.Name = "SteuerfreierBetrag"
|
Me.SteuerfreierBetrag.Name = "SteuerfreierBetrag"
|
||||||
@@ -2962,41 +2966,41 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
Me.dgvOffertenSperrliste.AllowUserToResizeRows = False
|
Me.dgvOffertenSperrliste.AllowUserToResizeRows = False
|
||||||
Me.dgvOffertenSperrliste.BackgroundColor = System.Drawing.Color.White
|
Me.dgvOffertenSperrliste.BackgroundColor = System.Drawing.Color.White
|
||||||
Me.dgvOffertenSperrliste.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
|
Me.dgvOffertenSperrliste.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
|
||||||
DataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
DataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
DataGridViewCellStyle34.BackColor = System.Drawing.SystemColors.Control
|
DataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control
|
||||||
DataGridViewCellStyle34.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
DataGridViewCellStyle13.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
DataGridViewCellStyle34.ForeColor = System.Drawing.SystemColors.WindowText
|
DataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText
|
||||||
DataGridViewCellStyle34.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
DataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
||||||
DataGridViewCellStyle34.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
DataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
||||||
DataGridViewCellStyle34.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
DataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
||||||
Me.dgvOffertenSperrliste.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle34
|
Me.dgvOffertenSperrliste.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle13
|
||||||
Me.dgvOffertenSperrliste.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
Me.dgvOffertenSperrliste.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||||
DataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
DataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
DataGridViewCellStyle35.BackColor = System.Drawing.SystemColors.Window
|
DataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Window
|
||||||
DataGridViewCellStyle35.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
DataGridViewCellStyle14.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
DataGridViewCellStyle35.ForeColor = System.Drawing.SystemColors.ControlText
|
DataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.ControlText
|
||||||
DataGridViewCellStyle35.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
DataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
||||||
DataGridViewCellStyle35.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
DataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
||||||
DataGridViewCellStyle35.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
|
DataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
|
||||||
Me.dgvOffertenSperrliste.DefaultCellStyle = DataGridViewCellStyle35
|
Me.dgvOffertenSperrliste.DefaultCellStyle = DataGridViewCellStyle14
|
||||||
Me.dgvOffertenSperrliste.Location = New System.Drawing.Point(11, 29)
|
Me.dgvOffertenSperrliste.Location = New System.Drawing.Point(11, 29)
|
||||||
Me.dgvOffertenSperrliste.MultiSelect = False
|
Me.dgvOffertenSperrliste.MultiSelect = False
|
||||||
Me.dgvOffertenSperrliste.Name = "dgvOffertenSperrliste"
|
Me.dgvOffertenSperrliste.Name = "dgvOffertenSperrliste"
|
||||||
Me.dgvOffertenSperrliste.ReadOnly = True
|
Me.dgvOffertenSperrliste.ReadOnly = True
|
||||||
DataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
DataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
DataGridViewCellStyle36.BackColor = System.Drawing.SystemColors.Control
|
DataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control
|
||||||
DataGridViewCellStyle36.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
DataGridViewCellStyle15.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
DataGridViewCellStyle36.ForeColor = System.Drawing.SystemColors.WindowText
|
DataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText
|
||||||
DataGridViewCellStyle36.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
DataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
||||||
DataGridViewCellStyle36.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
DataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
||||||
DataGridViewCellStyle36.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
DataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
||||||
Me.dgvOffertenSperrliste.RowHeadersDefaultCellStyle = DataGridViewCellStyle36
|
Me.dgvOffertenSperrliste.RowHeadersDefaultCellStyle = DataGridViewCellStyle15
|
||||||
Me.dgvOffertenSperrliste.RowHeadersVisible = False
|
Me.dgvOffertenSperrliste.RowHeadersVisible = False
|
||||||
Me.dgvOffertenSperrliste.RowHeadersWidth = 62
|
Me.dgvOffertenSperrliste.RowHeadersWidth = 62
|
||||||
DataGridViewCellStyle37.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
DataGridViewCellStyle16.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
DataGridViewCellStyle37.SelectionBackColor = System.Drawing.Color.PapayaWhip
|
DataGridViewCellStyle16.SelectionBackColor = System.Drawing.Color.PapayaWhip
|
||||||
DataGridViewCellStyle37.SelectionForeColor = System.Drawing.Color.Black
|
DataGridViewCellStyle16.SelectionForeColor = System.Drawing.Color.Black
|
||||||
Me.dgvOffertenSperrliste.RowsDefaultCellStyle = DataGridViewCellStyle37
|
Me.dgvOffertenSperrliste.RowsDefaultCellStyle = DataGridViewCellStyle16
|
||||||
Me.dgvOffertenSperrliste.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
|
Me.dgvOffertenSperrliste.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
|
||||||
Me.dgvOffertenSperrliste.Size = New System.Drawing.Size(204, 201)
|
Me.dgvOffertenSperrliste.Size = New System.Drawing.Size(204, 201)
|
||||||
Me.dgvOffertenSperrliste.TabIndex = 2
|
Me.dgvOffertenSperrliste.TabIndex = 2
|
||||||
@@ -3009,44 +3013,44 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
Me.dgvOfferteDetailsUebersicht.AllowUserToDeleteRows = False
|
Me.dgvOfferteDetailsUebersicht.AllowUserToDeleteRows = False
|
||||||
Me.dgvOfferteDetailsUebersicht.AllowUserToOrderColumns = True
|
Me.dgvOfferteDetailsUebersicht.AllowUserToOrderColumns = True
|
||||||
Me.dgvOfferteDetailsUebersicht.AllowUserToResizeRows = False
|
Me.dgvOfferteDetailsUebersicht.AllowUserToResizeRows = False
|
||||||
DataGridViewCellStyle38.BackColor = System.Drawing.Color.FromArgb(CType(CType(240, Byte), Integer), CType(CType(245, Byte), Integer), CType(CType(255, Byte), Integer))
|
DataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(CType(CType(240, Byte), Integer), CType(CType(245, Byte), Integer), CType(CType(255, Byte), Integer))
|
||||||
Me.dgvOfferteDetailsUebersicht.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle38
|
Me.dgvOfferteDetailsUebersicht.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle17
|
||||||
Me.dgvOfferteDetailsUebersicht.BackgroundColor = System.Drawing.Color.White
|
Me.dgvOfferteDetailsUebersicht.BackgroundColor = System.Drawing.Color.White
|
||||||
Me.dgvOfferteDetailsUebersicht.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
|
Me.dgvOfferteDetailsUebersicht.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
|
||||||
DataGridViewCellStyle39.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
DataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
DataGridViewCellStyle39.BackColor = System.Drawing.SystemColors.Control
|
DataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Control
|
||||||
DataGridViewCellStyle39.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
DataGridViewCellStyle18.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
DataGridViewCellStyle39.ForeColor = System.Drawing.SystemColors.WindowText
|
DataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.WindowText
|
||||||
DataGridViewCellStyle39.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
DataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
||||||
DataGridViewCellStyle39.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
DataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
||||||
DataGridViewCellStyle39.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
DataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
||||||
Me.dgvOfferteDetailsUebersicht.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle39
|
Me.dgvOfferteDetailsUebersicht.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle18
|
||||||
Me.dgvOfferteDetailsUebersicht.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
Me.dgvOfferteDetailsUebersicht.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||||
DataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
DataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
DataGridViewCellStyle40.BackColor = System.Drawing.SystemColors.Window
|
DataGridViewCellStyle19.BackColor = System.Drawing.SystemColors.Window
|
||||||
DataGridViewCellStyle40.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
DataGridViewCellStyle19.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
DataGridViewCellStyle40.ForeColor = System.Drawing.SystemColors.ControlText
|
DataGridViewCellStyle19.ForeColor = System.Drawing.SystemColors.ControlText
|
||||||
DataGridViewCellStyle40.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
DataGridViewCellStyle19.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
||||||
DataGridViewCellStyle40.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
DataGridViewCellStyle19.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
||||||
DataGridViewCellStyle40.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
|
DataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
|
||||||
Me.dgvOfferteDetailsUebersicht.DefaultCellStyle = DataGridViewCellStyle40
|
Me.dgvOfferteDetailsUebersicht.DefaultCellStyle = DataGridViewCellStyle19
|
||||||
Me.dgvOfferteDetailsUebersicht.Location = New System.Drawing.Point(220, 29)
|
Me.dgvOfferteDetailsUebersicht.Location = New System.Drawing.Point(220, 29)
|
||||||
Me.dgvOfferteDetailsUebersicht.MultiSelect = False
|
Me.dgvOfferteDetailsUebersicht.MultiSelect = False
|
||||||
Me.dgvOfferteDetailsUebersicht.Name = "dgvOfferteDetailsUebersicht"
|
Me.dgvOfferteDetailsUebersicht.Name = "dgvOfferteDetailsUebersicht"
|
||||||
DataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
DataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
DataGridViewCellStyle41.BackColor = System.Drawing.SystemColors.Control
|
DataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Control
|
||||||
DataGridViewCellStyle41.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
DataGridViewCellStyle20.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
DataGridViewCellStyle41.ForeColor = System.Drawing.SystemColors.WindowText
|
DataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.WindowText
|
||||||
DataGridViewCellStyle41.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
DataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
||||||
DataGridViewCellStyle41.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
DataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
||||||
DataGridViewCellStyle41.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
DataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
||||||
Me.dgvOfferteDetailsUebersicht.RowHeadersDefaultCellStyle = DataGridViewCellStyle41
|
Me.dgvOfferteDetailsUebersicht.RowHeadersDefaultCellStyle = DataGridViewCellStyle20
|
||||||
Me.dgvOfferteDetailsUebersicht.RowHeadersVisible = False
|
Me.dgvOfferteDetailsUebersicht.RowHeadersVisible = False
|
||||||
Me.dgvOfferteDetailsUebersicht.RowHeadersWidth = 62
|
Me.dgvOfferteDetailsUebersicht.RowHeadersWidth = 62
|
||||||
DataGridViewCellStyle42.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
DataGridViewCellStyle21.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
DataGridViewCellStyle42.SelectionBackColor = System.Drawing.Color.FromArgb(CType(CType(240, Byte), Integer), CType(CType(240, Byte), Integer), CType(CType(240, Byte), Integer))
|
DataGridViewCellStyle21.SelectionBackColor = System.Drawing.Color.FromArgb(CType(CType(240, Byte), Integer), CType(CType(240, Byte), Integer), CType(CType(240, Byte), Integer))
|
||||||
DataGridViewCellStyle42.SelectionForeColor = System.Drawing.Color.Black
|
DataGridViewCellStyle21.SelectionForeColor = System.Drawing.Color.Black
|
||||||
Me.dgvOfferteDetailsUebersicht.RowsDefaultCellStyle = DataGridViewCellStyle42
|
Me.dgvOfferteDetailsUebersicht.RowsDefaultCellStyle = DataGridViewCellStyle21
|
||||||
Me.dgvOfferteDetailsUebersicht.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
|
Me.dgvOfferteDetailsUebersicht.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
|
||||||
Me.dgvOfferteDetailsUebersicht.Size = New System.Drawing.Size(601, 201)
|
Me.dgvOfferteDetailsUebersicht.Size = New System.Drawing.Size(601, 201)
|
||||||
Me.dgvOfferteDetailsUebersicht.TabIndex = 3
|
Me.dgvOfferteDetailsUebersicht.TabIndex = 3
|
||||||
@@ -3433,17 +3437,6 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
Me.cboSteuerschlüssel.Size = New System.Drawing.Size(145, 21)
|
Me.cboSteuerschlüssel.Size = New System.Drawing.Size(145, 21)
|
||||||
Me.cboSteuerschlüssel.TabIndex = 3
|
Me.cboSteuerschlüssel.TabIndex = 3
|
||||||
'
|
'
|
||||||
'rtbAbf_Besonderheiten
|
|
||||||
'
|
|
||||||
Me.rtbAbf_Besonderheiten.BackColor = System.Drawing.Color.White
|
|
||||||
Me.rtbAbf_Besonderheiten.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
|
||||||
Me.rtbAbf_Besonderheiten.Location = New System.Drawing.Point(10, 19)
|
|
||||||
Me.rtbAbf_Besonderheiten.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5)
|
|
||||||
Me.rtbAbf_Besonderheiten.Name = "rtbAbf_Besonderheiten"
|
|
||||||
Me.rtbAbf_Besonderheiten.Size = New System.Drawing.Size(107, 133)
|
|
||||||
Me.rtbAbf_Besonderheiten.TabIndex = 235
|
|
||||||
Me.rtbAbf_Besonderheiten.Visible = False
|
|
||||||
'
|
|
||||||
'cbxOriginalPrint
|
'cbxOriginalPrint
|
||||||
'
|
'
|
||||||
Me.cbxOriginalPrint.AutoSize = True
|
Me.cbxOriginalPrint.AutoSize = True
|
||||||
@@ -3881,6 +3874,35 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
Me.AvisiererToolStripMenuItem.Size = New System.Drawing.Size(153, 22)
|
Me.AvisiererToolStripMenuItem.Size = New System.Drawing.Size(153, 22)
|
||||||
Me.AvisiererToolStripMenuItem.Text = "4 Avisierer"
|
Me.AvisiererToolStripMenuItem.Text = "4 Avisierer"
|
||||||
'
|
'
|
||||||
|
'ContextMenuStrip2
|
||||||
|
'
|
||||||
|
Me.ContextMenuStrip2.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.GutschriftAusRechnungToolStripMenuItem, Me.SeperateRechnungFürEUSTToolStripMenuItem})
|
||||||
|
Me.ContextMenuStrip2.Name = "ContextMenuStrip2"
|
||||||
|
Me.ContextMenuStrip2.Size = New System.Drawing.Size(224, 48)
|
||||||
|
'
|
||||||
|
'GutschriftAusRechnungToolStripMenuItem
|
||||||
|
'
|
||||||
|
Me.GutschriftAusRechnungToolStripMenuItem.Name = "GutschriftAusRechnungToolStripMenuItem"
|
||||||
|
Me.GutschriftAusRechnungToolStripMenuItem.Size = New System.Drawing.Size(223, 22)
|
||||||
|
Me.GutschriftAusRechnungToolStripMenuItem.Text = "Gutschrift aus Rechnung"
|
||||||
|
'
|
||||||
|
'SeperateRechnungFürEUSTToolStripMenuItem
|
||||||
|
'
|
||||||
|
Me.SeperateRechnungFürEUSTToolStripMenuItem.Name = "SeperateRechnungFürEUSTToolStripMenuItem"
|
||||||
|
Me.SeperateRechnungFürEUSTToolStripMenuItem.Size = New System.Drawing.Size(223, 22)
|
||||||
|
Me.SeperateRechnungFürEUSTToolStripMenuItem.Text = "Seperate Rechnung für EUST"
|
||||||
|
'
|
||||||
|
'rtbAbf_Besonderheiten
|
||||||
|
'
|
||||||
|
Me.rtbAbf_Besonderheiten.BackColor = System.Drawing.Color.White
|
||||||
|
Me.rtbAbf_Besonderheiten.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||||
|
Me.rtbAbf_Besonderheiten.Location = New System.Drawing.Point(10, 19)
|
||||||
|
Me.rtbAbf_Besonderheiten.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5)
|
||||||
|
Me.rtbAbf_Besonderheiten.Name = "rtbAbf_Besonderheiten"
|
||||||
|
Me.rtbAbf_Besonderheiten.Size = New System.Drawing.Size(107, 133)
|
||||||
|
Me.rtbAbf_Besonderheiten.TabIndex = 235
|
||||||
|
Me.rtbAbf_Besonderheiten.Visible = False
|
||||||
|
'
|
||||||
'usrCntlFaktAbrechnung
|
'usrCntlFaktAbrechnung
|
||||||
'
|
'
|
||||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
@@ -3927,6 +3949,7 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
Me.CntxtAbfArt.ResumeLayout(False)
|
Me.CntxtAbfArt.ResumeLayout(False)
|
||||||
Me.ContextMenuStrip1.ResumeLayout(False)
|
Me.ContextMenuStrip1.ResumeLayout(False)
|
||||||
|
Me.ContextMenuStrip2.ResumeLayout(False)
|
||||||
Me.ResumeLayout(False)
|
Me.ResumeLayout(False)
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
@@ -4156,4 +4179,7 @@ Partial Class usrCntlFaktAbrechnung
|
|||||||
Friend WithEvents AvisiererToolStripMenuItem As ToolStripMenuItem
|
Friend WithEvents AvisiererToolStripMenuItem As ToolStripMenuItem
|
||||||
Friend WithEvents txtTextZZ As VERAG_PROG_ALLGEMEIN.MyRichTextBox
|
Friend WithEvents txtTextZZ As VERAG_PROG_ALLGEMEIN.MyRichTextBox
|
||||||
Friend WithEvents Button16 As Button
|
Friend WithEvents Button16 As Button
|
||||||
|
Friend WithEvents ContextMenuStrip2 As ContextMenuStrip
|
||||||
|
Friend WithEvents GutschriftAusRechnungToolStripMenuItem As ToolStripMenuItem
|
||||||
|
Friend WithEvents SeperateRechnungFürEUSTToolStripMenuItem As ToolStripMenuItem
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -187,6 +187,9 @@
|
|||||||
<metadata name="ContextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="ContextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>343, 15</value>
|
<value>343, 15</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="ContextMenuStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>500, 15</value>
|
||||||
|
</metadata>
|
||||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>45</value>
|
<value>45</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ Public Class usrCntlFaktAbrechnung
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Sub newRECHNUNG(Optional Firma = Nothing)
|
Public Sub newRECHNUNG(Optional Firma = Nothing)
|
||||||
|
|
||||||
RECHNUNG = Nothing
|
RECHNUNG = Nothing
|
||||||
dgvOfferteDetailsUebersicht.Columns.Clear()
|
dgvOfferteDetailsUebersicht.Columns.Clear()
|
||||||
initRECHNUNG()
|
initRECHNUNG()
|
||||||
@@ -82,11 +82,12 @@ Public Class usrCntlFaktAbrechnung
|
|||||||
vorherige_RK_ID = 0
|
vorherige_RK_ID = 0
|
||||||
nachstehende_RK_ID = 0
|
nachstehende_RK_ID = 0
|
||||||
|
|
||||||
Dim dt As DataTable = SQL.loadDgvBySql("SELECT UnterNr,RK_ID FROM Rechnungsausgang WHERE FilialenNr='" & RECHNUNG.FilialenNr & "' AND AbfertigungsNr='" & RECHNUNG.AbfertigungsNr & "' ", "FMZOLL")
|
Dim dt As DataTable = SQL.loadDgvBySql("SELECT UnterNr,RK_ID FROM Rechnungsausgang WHERE FilialenNr='" & RECHNUNG.FilialenNr & "' AND AbfertigungsNr='" & RECHNUNG.AbfertigungsNr & "' order by UnterNr", "FMZOLL")
|
||||||
If dt IsNot Nothing AndAlso dt.Rows.Count > 0 Then
|
If dt IsNot Nothing AndAlso dt.Rows.Count > 0 Then
|
||||||
Dim anzahlRg = dt.Rows.Count
|
Dim anzahlRg = dt.Rows.Count
|
||||||
Dim cnt = 1
|
Dim cnt = 1
|
||||||
Dim exitSub = False
|
Dim exitSub = False
|
||||||
|
Dim found = False
|
||||||
For Each r In dt.Rows
|
For Each r In dt.Rows
|
||||||
If exitSub Then
|
If exitSub Then
|
||||||
nachstehende_RK_ID = r("RK_ID")
|
nachstehende_RK_ID = r("RK_ID")
|
||||||
@@ -98,14 +99,17 @@ Public Class usrCntlFaktAbrechnung
|
|||||||
If r("UnterNr") = RECHNUNG.UnterNr Then
|
If r("UnterNr") = RECHNUNG.UnterNr Then
|
||||||
|
|
||||||
lblSendungen.Text = cnt & "/" & anzahlRg
|
lblSendungen.Text = cnt & "/" & anzahlRg
|
||||||
|
found = True
|
||||||
exitSub = True
|
exitSub = True
|
||||||
|
Else
|
||||||
|
If Not exitSub Then vorherige_RK_ID = r("RK_ID")
|
||||||
|
|
||||||
End If
|
End If
|
||||||
If Not exitSub Then vorherige_RK_ID = r("RK_ID")
|
|
||||||
cnt += 1
|
cnt += 1
|
||||||
Next
|
Next
|
||||||
If exitSub Then Exit Sub
|
'If exitSub Then Exit Sub
|
||||||
lblSendungen.Text = "-/" & anzahlRg
|
If Not found Then lblSendungen.Text = "-/" & anzahlRg : Exit Sub
|
||||||
|
|
||||||
Else
|
Else
|
||||||
lblSendungen.Text = "-"
|
lblSendungen.Text = "-"
|
||||||
End If
|
End If
|
||||||
@@ -3345,6 +3349,10 @@ Nächste_Textzeile_lesen:
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub Button11_Click(sender As Object, e As EventArgs) Handles Button11.Click
|
Private Sub Button11_Click(sender As Object, e As EventArgs) Handles Button11.Click
|
||||||
|
ContextMenuStrip2.Show(Cursor.Position)
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub GutschriftAusRechnungToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles GutschriftAusRechnungToolStripMenuItem.Click
|
||||||
If vbYes = MsgBox("Soll aus den Daten der Rechnung wirklich eine neue Gutschrift erstellt werden?", vbYesNoCancel) Then
|
If vbYes = MsgBox("Soll aus den Daten der Rechnung wirklich eine neue Gutschrift erstellt werden?", vbYesNoCancel) Then
|
||||||
|
|
||||||
saveMe()
|
saveMe()
|
||||||
@@ -3448,28 +3456,28 @@ Nächste_Textzeile_lesen:
|
|||||||
' If vbYes = MsgBox("Möchten Sie einen neuen Speditionsbucheintrag für die Filiale '" & cboFiliale._value & "' erstellen?", vbYesNoCancel) Then
|
' If vbYes = MsgBox("Möchten Sie einen neuen Speditionsbucheintrag für die Filiale '" & cboFiliale._value & "' erstellen?", vbYesNoCancel) Then
|
||||||
SPEDBUCH = New VERAG_PROG_ALLGEMEIN.cSpeditionsbuch
|
SPEDBUCH = New VERAG_PROG_ALLGEMEIN.cSpeditionsbuch
|
||||||
|
|
||||||
Dim Abfertigungsart = r("Abfertigungsart") ' 10
|
Dim Abfertigungsart = r("Abfertigungsart") ' 10
|
||||||
|
|
||||||
SPEDBUCH.FilialenNr = cboFiliale._value
|
SPEDBUCH.FilialenNr = cboFiliale._value
|
||||||
SPEDBUCH.AbfertigungsNr = VERAG_PROG_ALLGEMEIN.cAllgemein.getMaxPosNrIncrement(SPEDBUCH.FilialenNr, Now.Year)
|
SPEDBUCH.AbfertigungsNr = VERAG_PROG_ALLGEMEIN.cAllgemein.getMaxPosNrIncrement(SPEDBUCH.FilialenNr, Now.Year)
|
||||||
SPEDBUCH.NewUNTER_NR()
|
SPEDBUCH.NewUNTER_NR()
|
||||||
|
|
||||||
SPEDBUCH.Abfertigungsdatum = Now.Date
|
SPEDBUCH.Abfertigungsdatum = Now.Date
|
||||||
|
|
||||||
SPEDBUCH.Abfertigungsart = Abfertigungsart
|
SPEDBUCH.Abfertigungsart = Abfertigungsart
|
||||||
SPEDBUCH.Abfertigungsanzahl = 1
|
SPEDBUCH.Abfertigungsanzahl = 1
|
||||||
SPEDBUCH.SgutKompl = "K"
|
SPEDBUCH.SgutKompl = "K"
|
||||||
SPEDBUCH.Zollsystem = "D"
|
SPEDBUCH.Zollsystem = "D"
|
||||||
|
|
||||||
'SPEDBUCH.Vermittler = ""
|
'SPEDBUCH.Vermittler = ""
|
||||||
|
|
||||||
SPEDBUCH.Sachbearbeiter = VERAG_PROG_ALLGEMEIN.cAllgemein.USRKURZNAME
|
SPEDBUCH.Sachbearbeiter = VERAG_PROG_ALLGEMEIN.cAllgemein.USRKURZNAME
|
||||||
|
|
||||||
If SPEDBUCH.SAVE Then
|
If SPEDBUCH.SAVE Then
|
||||||
txtAbfertigungsnummer.Text = SPEDBUCH.AbfertigungsNr
|
txtAbfertigungsnummer.Text = SPEDBUCH.AbfertigungsNr
|
||||||
txtUnterNr.Text = SPEDBUCH.UnterNr
|
txtUnterNr.Text = SPEDBUCH.UnterNr
|
||||||
btnDatenLaden.PerformClick()
|
btnDatenLaden.PerformClick()
|
||||||
End If
|
End If
|
||||||
' End If
|
' End If
|
||||||
End Sub
|
End Sub
|
||||||
CntxtAbfArt.Items.Add(tool)
|
CntxtAbfArt.Items.Add(tool)
|
||||||
@@ -3695,8 +3703,8 @@ Nächste_Textzeile_lesen:
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox(ex.Message & ex.StackTrace)
|
MsgBox(ex.Message & ex.StackTrace)
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -3741,5 +3749,79 @@ Nächste_Textzeile_lesen:
|
|||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Private Sub SeperateRechnungFürEUSTToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles SeperateRechnungFürEUSTToolStripMenuItem.Click
|
||||||
|
If vbYes = MsgBox("Soll aus der Rechnung wirklich eine seperate EUST Rechnung erstellt werden?", vbYesNoCancel) Then
|
||||||
|
|
||||||
End Class
|
saveMe()
|
||||||
|
Dim RECHNUNG_TMP_RKID = RECHNUNG.RK_ID
|
||||||
|
|
||||||
|
|
||||||
|
'--------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
'Dim RECHNUNG2 = RECHNUNG
|
||||||
|
RECHNUNG.RK_ID = -1
|
||||||
|
RECHNUNG.RechnungsNr = -1
|
||||||
|
'RECHNUNG.RechnungsNr = Nothing
|
||||||
|
RECHNUNG.UnterNr = RECHNUNG.getMaxRGUnterNr()
|
||||||
|
RECHNUNG.RechnungsDatum = Nothing
|
||||||
|
RECHNUNG.DruckDatumZeit = Nothing
|
||||||
|
RECHNUNG.Status = 0
|
||||||
|
RECHNUNG.Trdin = 0
|
||||||
|
RECHNUNG.Sachbearbeiter = VERAG_PROG_ALLGEMEIN.cAllgemein.USRKURZNAME
|
||||||
|
|
||||||
|
dgvOfferteDetailsUebersicht.Columns.Clear()
|
||||||
|
|
||||||
|
' initDGVRechnungenPositionen()
|
||||||
|
|
||||||
|
przBerechneRAPos("")
|
||||||
|
loadFormRGPosInOfferte()
|
||||||
|
initDGVRechnungenPositionen()
|
||||||
|
cboFiliale.Focus()
|
||||||
|
|
||||||
|
'--------------------------------------------------------------------------------------------
|
||||||
|
If Not saveMe() Then Exit Sub 'neue EUST-Rg speichern
|
||||||
|
Dim REM_POS_TMP As New List(Of VERAG_PROG_ALLGEMEIN.cRechnungsausgangPositionen)
|
||||||
|
'EUST aus alter Rg entfernen
|
||||||
|
Dim RECHNUNG_TMP = New VERAG_PROG_ALLGEMEIN.cRechnungsausgang(RECHNUNG_TMP_RKID)
|
||||||
|
RECHNUNG_TMP.Sachbearbeiter = VERAG_PROG_ALLGEMEIN.cAllgemein.USRKURZNAME
|
||||||
|
'RECHNUNG_TMP.SteuerfreierGesamtbetrag
|
||||||
|
For Each POS In RECHNUNG_TMP.POSITIONEN
|
||||||
|
Select Case POS.LeistungsNr
|
||||||
|
Case "20", "77"
|
||||||
|
REM_POS_TMP.Add(POS)
|
||||||
|
End Select
|
||||||
|
Next
|
||||||
|
For Each R_POS In REM_POS_TMP
|
||||||
|
RECHNUNG_TMP.POSITIONEN.Remove(R_POS)
|
||||||
|
Next
|
||||||
|
|
||||||
|
initDGVRechnungenPositionen()
|
||||||
|
' RECHNUNG_TMP.SAVE_POSITIONEN(RECHNUNG_TMP.RK_ID)
|
||||||
|
saveMe()
|
||||||
|
|
||||||
|
|
||||||
|
'--------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
'alles außer EUST aus neuer Rg entfernen
|
||||||
|
Dim REM_POS As New List(Of VERAG_PROG_ALLGEMEIN.cRechnungsausgangPositionen)
|
||||||
|
For Each POS In RECHNUNG.POSITIONEN
|
||||||
|
Select Case POS.LeistungsNr
|
||||||
|
Case "20", "77"
|
||||||
|
Case Else
|
||||||
|
REM_POS.Add(POS)
|
||||||
|
End Select
|
||||||
|
Next
|
||||||
|
For Each R_POS In REM_POS
|
||||||
|
RECHNUNG.POSITIONEN.Remove(R_POS)
|
||||||
|
Next
|
||||||
|
RECHNUNG.SAVE_POSITIONEN(RECHNUNG.RK_ID)
|
||||||
|
|
||||||
|
'--------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
' End If
|
||||||
|
initRECHNUNG()
|
||||||
|
RaiseEvent SOMETHING_CHANGED(RECHNUNG.RK_ID)
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
End Class
|
||||||
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
|||||||
' übernehmen, indem Sie "*" eingeben:
|
' übernehmen, indem Sie "*" eingeben:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("1.2.5.1")>
|
<Assembly: AssemblyVersion("1.2.5.2")>
|
||||||
<Assembly: AssemblyFileVersion("1.2.5.1")>
|
<Assembly: AssemblyFileVersion("1.2.5.2")>
|
||||||
|
|||||||
@@ -90,7 +90,7 @@
|
|||||||
<SignAssembly>false</SignAssembly>
|
<SignAssembly>false</SignAssembly>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<AssemblyOriginatorKeyFile>Test.pfx</AssemblyOriginatorKeyFile>
|
<AssemblyOriginatorKeyFile>SDL_TemporaryKey.pfx</AssemblyOriginatorKeyFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Accessibility" />
|
<Reference Include="Accessibility" />
|
||||||
@@ -300,7 +300,7 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Spire.Pdf, Version=8.1.4.0, Culture=neutral, PublicKeyToken=663f351905198cb3, processorArchitecture=MSIL">
|
<Reference Include="Spire.Pdf, Version=8.1.4.0, Culture=neutral, PublicKeyToken=663f351905198cb3, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\..\dll\Spire.PDF\2022\Spire.Pdf.dll</HintPath>
|
<HintPath>..\..\..\dll\Spire.PDF\2023\Spire.Pdf.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.ComponentModel.Composition" />
|
<Reference Include="System.ComponentModel.Composition" />
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ Public Class frmSDLBestellungEintrag
|
|||||||
|
|
||||||
Select Case If(IsNumeric(cboSDLNr._value), cboSDLNr._value, -1)
|
Select Case If(IsNumeric(cboSDLNr._value), cboSDLNr._value, -1)
|
||||||
Case 500
|
Case 500
|
||||||
Mail.To = If(VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM, "al@verag.ag", "david.reisinger@mtruck.at") 'office@mtruck.at
|
Mail.To = If(VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM, "al@verag.ag", "umweltplakette@mtruck.at") '"david.reisinger@mtruck.at") 'office@mtruck.at
|
||||||
|
|
||||||
Mail.HTMLBody = "<span style='font-size:11.0pt;font-family:""Arial""'>"
|
Mail.HTMLBody = "<span style='font-size:11.0pt;font-family:""Arial""'>"
|
||||||
Mail.HTMLBody &= "Sehr geehrte Damen und Herren,"
|
Mail.HTMLBody &= "Sehr geehrte Damen und Herren,"
|
||||||
|
|||||||
65
SDL/zoll/usrCntlZOLLAuswertungen.Designer.vb
generated
65
SDL/zoll/usrCntlZOLLAuswertungen.Designer.vb
generated
@@ -141,6 +141,8 @@ Partial Class usrCntlZOLLAuswertungen
|
|||||||
Me.Label87 = New System.Windows.Forms.Label()
|
Me.Label87 = New System.Windows.Forms.Label()
|
||||||
Me.Label76 = New System.Windows.Forms.Label()
|
Me.Label76 = New System.Windows.Forms.Label()
|
||||||
Me.GroupBox11 = New System.Windows.Forms.GroupBox()
|
Me.GroupBox11 = New System.Windows.Forms.GroupBox()
|
||||||
|
Me.Label94 = New System.Windows.Forms.Label()
|
||||||
|
Me.cboBRG_Verimex = New VERAG_PROG_ALLGEMEIN.MyComboBox()
|
||||||
Me.Button22 = New System.Windows.Forms.Button()
|
Me.Button22 = New System.Windows.Forms.Button()
|
||||||
Me.Button19 = New System.Windows.Forms.Button()
|
Me.Button19 = New System.Windows.Forms.Button()
|
||||||
Me.Button18 = New System.Windows.Forms.Button()
|
Me.Button18 = New System.Windows.Forms.Button()
|
||||||
@@ -252,8 +254,6 @@ Partial Class usrCntlZOLLAuswertungen
|
|||||||
Me.Button14 = New System.Windows.Forms.Button()
|
Me.Button14 = New System.Windows.Forms.Button()
|
||||||
Me.PictureBox8 = New System.Windows.Forms.PictureBox()
|
Me.PictureBox8 = New System.Windows.Forms.PictureBox()
|
||||||
Me.pnl = New System.Windows.Forms.Panel()
|
Me.pnl = New System.Windows.Forms.Panel()
|
||||||
Me.Label94 = New System.Windows.Forms.Label()
|
|
||||||
Me.cboBRG_Verimex = New VERAG_PROG_ALLGEMEIN.MyComboBox()
|
|
||||||
Me.GroupBox1.SuspendLayout()
|
Me.GroupBox1.SuspendLayout()
|
||||||
Me.GroupBox2.SuspendLayout()
|
Me.GroupBox2.SuspendLayout()
|
||||||
CType(Me.picDurmaz, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.picDurmaz, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
@@ -1240,7 +1240,7 @@ Partial Class usrCntlZOLLAuswertungen
|
|||||||
Me.tbcntr.Location = New System.Drawing.Point(0, 57)
|
Me.tbcntr.Location = New System.Drawing.Point(0, 57)
|
||||||
Me.tbcntr.Name = "tbcntr"
|
Me.tbcntr.Name = "tbcntr"
|
||||||
Me.tbcntr.SelectedIndex = 0
|
Me.tbcntr.SelectedIndex = 0
|
||||||
Me.tbcntr.Size = New System.Drawing.Size(694, 1829)
|
Me.tbcntr.Size = New System.Drawing.Size(677, 1829)
|
||||||
Me.tbcntr.TabIndex = 22
|
Me.tbcntr.TabIndex = 22
|
||||||
'
|
'
|
||||||
'TabPage1
|
'TabPage1
|
||||||
@@ -1283,7 +1283,7 @@ Partial Class usrCntlZOLLAuswertungen
|
|||||||
Me.TabPage1.Location = New System.Drawing.Point(4, 22)
|
Me.TabPage1.Location = New System.Drawing.Point(4, 22)
|
||||||
Me.TabPage1.Name = "TabPage1"
|
Me.TabPage1.Name = "TabPage1"
|
||||||
Me.TabPage1.Padding = New System.Windows.Forms.Padding(3)
|
Me.TabPage1.Padding = New System.Windows.Forms.Padding(3)
|
||||||
Me.TabPage1.Size = New System.Drawing.Size(686, 1803)
|
Me.TabPage1.Size = New System.Drawing.Size(669, 1803)
|
||||||
Me.TabPage1.TabIndex = 0
|
Me.TabPage1.TabIndex = 0
|
||||||
Me.TabPage1.Text = "Bürgschaften"
|
Me.TabPage1.Text = "Bürgschaften"
|
||||||
Me.TabPage1.UseVisualStyleBackColor = True
|
Me.TabPage1.UseVisualStyleBackColor = True
|
||||||
@@ -1571,9 +1571,9 @@ Partial Class usrCntlZOLLAuswertungen
|
|||||||
Me.Label76.ForeColor = System.Drawing.SystemColors.ControlDarkDark
|
Me.Label76.ForeColor = System.Drawing.SystemColors.ControlDarkDark
|
||||||
Me.Label76.Location = New System.Drawing.Point(12, 1340)
|
Me.Label76.Location = New System.Drawing.Point(12, 1340)
|
||||||
Me.Label76.Name = "Label76"
|
Me.Label76.Name = "Label76"
|
||||||
Me.Label76.Size = New System.Drawing.Size(214, 17)
|
Me.Label76.Size = New System.Drawing.Size(213, 17)
|
||||||
Me.Label76.TabIndex = 33
|
Me.Label76.TabIndex = 33
|
||||||
Me.Label76.Text = "Auswertung LKW - OREGON"
|
Me.Label76.Text = "Auswertung LKW - VERIMEX"
|
||||||
'
|
'
|
||||||
'GroupBox11
|
'GroupBox11
|
||||||
'
|
'
|
||||||
@@ -1598,6 +1598,28 @@ Partial Class usrCntlZOLLAuswertungen
|
|||||||
Me.GroupBox11.TabIndex = 32
|
Me.GroupBox11.TabIndex = 32
|
||||||
Me.GroupBox11.TabStop = False
|
Me.GroupBox11.TabStop = False
|
||||||
'
|
'
|
||||||
|
'Label94
|
||||||
|
'
|
||||||
|
Me.Label94.AutoSize = True
|
||||||
|
Me.Label94.Location = New System.Drawing.Point(181, 106)
|
||||||
|
Me.Label94.Name = "Label94"
|
||||||
|
Me.Label94.Size = New System.Drawing.Size(167, 13)
|
||||||
|
Me.Label94.TabIndex = 18
|
||||||
|
Me.Label94.Text = "Bürgschaft (keine Auswahl = alle):"
|
||||||
|
'
|
||||||
|
'cboBRG_Verimex
|
||||||
|
'
|
||||||
|
Me.cboBRG_Verimex._allowedValuesFreiText = Nothing
|
||||||
|
Me.cboBRG_Verimex._allowFreiText = False
|
||||||
|
Me.cboBRG_Verimex._value = ""
|
||||||
|
Me.cboBRG_Verimex.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
|
||||||
|
Me.cboBRG_Verimex.DropDownWidth = 350
|
||||||
|
Me.cboBRG_Verimex.FormattingEnabled = True
|
||||||
|
Me.cboBRG_Verimex.Location = New System.Drawing.Point(184, 120)
|
||||||
|
Me.cboBRG_Verimex.Name = "cboBRG_Verimex"
|
||||||
|
Me.cboBRG_Verimex.Size = New System.Drawing.Size(221, 21)
|
||||||
|
Me.cboBRG_Verimex.TabIndex = 17
|
||||||
|
'
|
||||||
'Button22
|
'Button22
|
||||||
'
|
'
|
||||||
Me.Button22.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
Me.Button22.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
@@ -2425,7 +2447,7 @@ Partial Class usrCntlZOLLAuswertungen
|
|||||||
Me.TabPage2.Location = New System.Drawing.Point(4, 22)
|
Me.TabPage2.Location = New System.Drawing.Point(4, 22)
|
||||||
Me.TabPage2.Name = "TabPage2"
|
Me.TabPage2.Name = "TabPage2"
|
||||||
Me.TabPage2.Padding = New System.Windows.Forms.Padding(3)
|
Me.TabPage2.Padding = New System.Windows.Forms.Padding(3)
|
||||||
Me.TabPage2.Size = New System.Drawing.Size(703, 1803)
|
Me.TabPage2.Size = New System.Drawing.Size(686, 1803)
|
||||||
Me.TabPage2.TabIndex = 1
|
Me.TabPage2.TabIndex = 1
|
||||||
Me.TabPage2.Text = "Kunden"
|
Me.TabPage2.Text = "Kunden"
|
||||||
Me.TabPage2.UseVisualStyleBackColor = True
|
Me.TabPage2.UseVisualStyleBackColor = True
|
||||||
@@ -2456,7 +2478,7 @@ Partial Class usrCntlZOLLAuswertungen
|
|||||||
Me.TabPage3.Location = New System.Drawing.Point(4, 22)
|
Me.TabPage3.Location = New System.Drawing.Point(4, 22)
|
||||||
Me.TabPage3.Name = "TabPage3"
|
Me.TabPage3.Name = "TabPage3"
|
||||||
Me.TabPage3.Padding = New System.Windows.Forms.Padding(3)
|
Me.TabPage3.Padding = New System.Windows.Forms.Padding(3)
|
||||||
Me.TabPage3.Size = New System.Drawing.Size(703, 1803)
|
Me.TabPage3.Size = New System.Drawing.Size(686, 1803)
|
||||||
Me.TabPage3.TabIndex = 2
|
Me.TabPage3.TabIndex = 2
|
||||||
Me.TabPage3.Text = "Fiskalvertretung / EV-Veranlagung"
|
Me.TabPage3.Text = "Fiskalvertretung / EV-Veranlagung"
|
||||||
Me.TabPage3.UseVisualStyleBackColor = True
|
Me.TabPage3.UseVisualStyleBackColor = True
|
||||||
@@ -2491,7 +2513,7 @@ Partial Class usrCntlZOLLAuswertungen
|
|||||||
Me.TabPage4.Controls.Add(Me.UsrCntlAuswertungenAufschub_Abgabenliste1)
|
Me.TabPage4.Controls.Add(Me.UsrCntlAuswertungenAufschub_Abgabenliste1)
|
||||||
Me.TabPage4.Location = New System.Drawing.Point(4, 22)
|
Me.TabPage4.Location = New System.Drawing.Point(4, 22)
|
||||||
Me.TabPage4.Name = "TabPage4"
|
Me.TabPage4.Name = "TabPage4"
|
||||||
Me.TabPage4.Size = New System.Drawing.Size(703, 1803)
|
Me.TabPage4.Size = New System.Drawing.Size(686, 1803)
|
||||||
Me.TabPage4.TabIndex = 3
|
Me.TabPage4.TabIndex = 3
|
||||||
Me.TabPage4.Text = "Aufschubdaten"
|
Me.TabPage4.Text = "Aufschubdaten"
|
||||||
Me.TabPage4.UseVisualStyleBackColor = True
|
Me.TabPage4.UseVisualStyleBackColor = True
|
||||||
@@ -2520,7 +2542,7 @@ Partial Class usrCntlZOLLAuswertungen
|
|||||||
Me.TabPage5.Location = New System.Drawing.Point(4, 22)
|
Me.TabPage5.Location = New System.Drawing.Point(4, 22)
|
||||||
Me.TabPage5.Name = "TabPage5"
|
Me.TabPage5.Name = "TabPage5"
|
||||||
Me.TabPage5.Padding = New System.Windows.Forms.Padding(3)
|
Me.TabPage5.Padding = New System.Windows.Forms.Padding(3)
|
||||||
Me.TabPage5.Size = New System.Drawing.Size(703, 1803)
|
Me.TabPage5.Size = New System.Drawing.Size(686, 1803)
|
||||||
Me.TabPage5.TabIndex = 4
|
Me.TabPage5.TabIndex = 4
|
||||||
Me.TabPage5.Text = "UNISPED"
|
Me.TabPage5.Text = "UNISPED"
|
||||||
Me.TabPage5.UseVisualStyleBackColor = True
|
Me.TabPage5.UseVisualStyleBackColor = True
|
||||||
@@ -2728,28 +2750,9 @@ Partial Class usrCntlZOLLAuswertungen
|
|||||||
Me.pnl.Dock = System.Windows.Forms.DockStyle.Top
|
Me.pnl.Dock = System.Windows.Forms.DockStyle.Top
|
||||||
Me.pnl.Location = New System.Drawing.Point(0, 0)
|
Me.pnl.Location = New System.Drawing.Point(0, 0)
|
||||||
Me.pnl.Name = "pnl"
|
Me.pnl.Name = "pnl"
|
||||||
Me.pnl.Size = New System.Drawing.Size(694, 57)
|
Me.pnl.Size = New System.Drawing.Size(677, 57)
|
||||||
Me.pnl.TabIndex = 23
|
Me.pnl.TabIndex = 23
|
||||||
'
|
'
|
||||||
'Label94
|
|
||||||
'
|
|
||||||
Me.Label94.AutoSize = True
|
|
||||||
Me.Label94.Location = New System.Drawing.Point(181, 106)
|
|
||||||
Me.Label94.Name = "Label94"
|
|
||||||
Me.Label94.Size = New System.Drawing.Size(167, 13)
|
|
||||||
Me.Label94.TabIndex = 18
|
|
||||||
Me.Label94.Text = "Bürgschaft (keine Auswahl = alle):"
|
|
||||||
'
|
|
||||||
'cboBRG_Verimex
|
|
||||||
'
|
|
||||||
Me.cboBRG_Verimex.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
|
|
||||||
Me.cboBRG_Verimex.DropDownWidth = 350
|
|
||||||
Me.cboBRG_Verimex.FormattingEnabled = True
|
|
||||||
Me.cboBRG_Verimex.Location = New System.Drawing.Point(184, 120)
|
|
||||||
Me.cboBRG_Verimex.Name = "cboBRG_Verimex"
|
|
||||||
Me.cboBRG_Verimex.Size = New System.Drawing.Size(221, 21)
|
|
||||||
Me.cboBRG_Verimex.TabIndex = 17
|
|
||||||
'
|
|
||||||
'usrCntlZOLLAuswertungen
|
'usrCntlZOLLAuswertungen
|
||||||
'
|
'
|
||||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
@@ -2759,7 +2762,7 @@ Partial Class usrCntlZOLLAuswertungen
|
|||||||
Me.Controls.Add(Me.tbcntr)
|
Me.Controls.Add(Me.tbcntr)
|
||||||
Me.Controls.Add(Me.pnl)
|
Me.Controls.Add(Me.pnl)
|
||||||
Me.Name = "usrCntlZOLLAuswertungen"
|
Me.Name = "usrCntlZOLLAuswertungen"
|
||||||
Me.Size = New System.Drawing.Size(694, 1445)
|
Me.Size = New System.Drawing.Size(677, 1445)
|
||||||
Me.GroupBox1.ResumeLayout(False)
|
Me.GroupBox1.ResumeLayout(False)
|
||||||
Me.GroupBox1.PerformLayout()
|
Me.GroupBox1.PerformLayout()
|
||||||
Me.GroupBox2.ResumeLayout(False)
|
Me.GroupBox2.ResumeLayout(False)
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ Public Class usrCntlZOLLAuswertungen
|
|||||||
cboEZOLLBrg.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("05AT510000G000FP7 - AT Brg", "05AT510000G000FP7"))
|
cboEZOLLBrg.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("05AT510000G000FP7 - AT Brg", "05AT510000G000FP7"))
|
||||||
cboEZOLLBrg.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("16AT520000G000VA6 - AT Brg IMEX", "16AT520000G000VA6"))
|
cboEZOLLBrg.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("16AT520000G000VA6 - AT Brg IMEX", "16AT520000G000VA6"))
|
||||||
cboEZOLLBrg.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("20AT520000G000092 - AT Brg ATILLA", "20AT520000G000092"))
|
cboEZOLLBrg.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("20AT520000G000092 - AT Brg ATILLA", "20AT520000G000092"))
|
||||||
cboEZOLLBrg.SelectedIndex = 1
|
cboEZOLLBrg.SelectedIndex = 0
|
||||||
|
|
||||||
|
|
||||||
cboBRG_Verimex.Items.Clear()
|
cboBRG_Verimex.Items.Clear()
|
||||||
@@ -132,13 +132,13 @@ Public Class usrCntlZOLLAuswertungen
|
|||||||
cboBRG_Verimex.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("05AT510000G000FP7 - AT Brg", "05AT510000G000FP7"))
|
cboBRG_Verimex.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("05AT510000G000FP7 - AT Brg", "05AT510000G000FP7"))
|
||||||
cboBRG_Verimex.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("16AT520000G000VA6 - AT Brg IMEX", "16AT520000G000VA6"))
|
cboBRG_Verimex.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("16AT520000G000VA6 - AT Brg IMEX", "16AT520000G000VA6"))
|
||||||
cboBRG_Verimex.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("20AT520000G000092 - AT Brg ATILLA", "20AT520000G000092"))
|
cboBRG_Verimex.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("20AT520000G000092 - AT Brg ATILLA", "20AT520000G000092"))
|
||||||
cboBRG_Verimex.SelectedIndex = 1
|
cboBRG_Verimex.SelectedIndex = 0
|
||||||
|
|
||||||
cboUnispedBrgDy.Items.Clear()
|
cboUnispedBrgDy.Items.Clear()
|
||||||
cboUnispedBrgDy.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("ALLE", ""))
|
cboUnispedBrgDy.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("ALLE", ""))
|
||||||
cboUnispedBrgDy.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("05AT500000G000EU9 - AT Brg UNISPED", "05AT500000G000EU9 "))
|
cboUnispedBrgDy.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("05AT500000G000EU9 - AT Brg UNISPED", "05AT500000G000EU9 "))
|
||||||
cboUnispedBrgDy.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("17DE0000000071270 - DE Brg UNISPED", "17DE0000000071270 "))
|
cboUnispedBrgDy.Items.Add(New VERAG_PROG_ALLGEMEIN.MyListItem("17DE0000000071270 - DE Brg UNISPED", "17DE0000000071270 "))
|
||||||
cboUnispedBrgDy.SelectedIndex = 1
|
cboUnispedBrgDy.SelectedIndex = 0
|
||||||
|
|
||||||
|
|
||||||
datEZOLLVon.Value = Now ' d.AddMonths(-3)
|
datEZOLLVon.Value = Now ' d.AddMonths(-3)
|
||||||
|
|||||||
@@ -140,6 +140,13 @@ Public Class cRechnungsausgang
|
|||||||
Return getMaxRGUnterNr(FilialenNr, AbfertigungsNr, SpeditionsbuchUnterNr)
|
Return getMaxRGUnterNr(FilialenNr, AbfertigungsNr, SpeditionsbuchUnterNr)
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
Public Function checkAlreadyPrinted() As Integer
|
||||||
|
'Rechnung wurde bereits gedruck - evtl. bei überschneidenden Rechnungslauf --> Druck abbrechen!
|
||||||
|
If Me.RK_ID <= 0 Then Return False
|
||||||
|
Dim cnt = SQL.getValueTxtBySql("SELECT COUNT(*) FROM [Rechnungsausgang] WHERE RK_ID='" & Me.RK_ID & "' and DruckDatumZeit is not null", "FMZOLL")
|
||||||
|
Return cnt > 0
|
||||||
|
End Function
|
||||||
|
|
||||||
Public Shared Function getMaxRGUnterNr(FilialenNr As Integer, AbfertigungsNr As Integer, SpeditionsbuchUnterNr As Integer) As Integer
|
Public Shared Function getMaxRGUnterNr(FilialenNr As Integer, AbfertigungsNr As Integer, SpeditionsbuchUnterNr As Integer) As Integer
|
||||||
' Dim Nr = SQL.getValueTxtBySql("Select isnull([UnterNr], -1) + 1 FROM [Rechnungsausgang] where [FilialenNr]='" & FilialenNr & "' And AbfertigungsNr='" & AbfertigungsNr & "' And SpeditionsbuchUnterNr='" & SpeditionsbuchUnterNr & "' ORDER BY [UnterNr] desc", "FMZOLL")
|
' Dim Nr = SQL.getValueTxtBySql("Select isnull([UnterNr], -1) + 1 FROM [Rechnungsausgang] where [FilialenNr]='" & FilialenNr & "' And AbfertigungsNr='" & AbfertigungsNr & "' And SpeditionsbuchUnterNr='" & SpeditionsbuchUnterNr & "' ORDER BY [UnterNr] desc", "FMZOLL")
|
||||||
Dim Nr = SQL.getValueTxtBySql("Select TOP 1 isnull([UnterNr], -1) + 1 FROM [Rechnungsausgang] where [FilialenNr]='" & FilialenNr & "' And AbfertigungsNr='" & AbfertigungsNr & "' ORDER BY [UnterNr] desc", "FMZOLL")
|
Dim Nr = SQL.getValueTxtBySql("Select TOP 1 isnull([UnterNr], -1) + 1 FROM [Rechnungsausgang] where [FilialenNr]='" & FilialenNr & "' And AbfertigungsNr='" & AbfertigungsNr & "' ORDER BY [UnterNr] desc", "FMZOLL")
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ Imports Ghostscript.NET.Processor
|
|||||||
Imports System.Runtime.InteropServices
|
Imports System.Runtime.InteropServices
|
||||||
Imports System.Windows.Forms
|
Imports System.Windows.Forms
|
||||||
Imports System.Drawing
|
Imports System.Drawing
|
||||||
|
Imports Spire.Pdf.Print
|
||||||
|
|
||||||
|
|
||||||
Public Class cDATENSERVER
|
Public Class cDATENSERVER
|
||||||
@@ -36,7 +37,8 @@ Public Class cDATENSERVER
|
|||||||
LOADById()
|
LOADById()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Sub New(da_kategorie, da_ordner, da_uOrdner1, da_uOrdner2, da_uOrdner3, da_name, Optional da_KundenNr = 0)
|
Sub New(da_kategorie, da_ordner, da_uOrdner1, da_uOrdner2, da_uOrdner3, da_name, Optional da_KundenNr = 0)
|
||||||
Me.rootDir = DATENVERVER_OPTIONS.initRootDir()
|
Me.rootDir = DATENVERVER_OPTIONS.initRootDir()
|
||||||
@@ -51,7 +53,7 @@ Public Class cDATENSERVER
|
|||||||
LOAD()
|
LOAD()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
Sub New(da_kategorie, da_ordner, da_uOrdner1, da_uOrdner2, da_uOrdner3, da_name, da_KundenNr, da_multifiles)
|
Sub New(da_kategorie, da_ordner, da_uOrdner1, da_uOrdner2, da_uOrdner3, da_name, da_KundenNr, da_multifiles)
|
||||||
Me.rootDir = DATENVERVER_OPTIONS.initRootDir()
|
Me.rootDir = DATENVERVER_OPTIONS.initRootDir()
|
||||||
Me.da_KundenNr = da_KundenNr
|
Me.da_KundenNr = da_KundenNr
|
||||||
@@ -104,7 +106,7 @@ Public Class cDATENSERVER
|
|||||||
Using conn As SqlConnection = SQL.GetNewOpenConnectionFMZOLL()
|
Using conn As SqlConnection = SQL.GetNewOpenConnectionFMZOLL()
|
||||||
'MsgBox("SELECT * FROM tblDatenarchiv WHERE da_KundenNr = '" & Me.da_KundenNr & "' And da_kategorie = '" & Me.da_kategorie & "' And da_ordner ='" & Me.da_ordner & "' AND da_uOrdner1= '" & Me.da_uOrdner1 & "' AND da_uOrdner2= '" & Me.da_uOrdner2 & "' AND da_uOrdner3= '" & Me.da_uOrdner3 & "' AND da_name='" & Me.da_name & "' ")
|
'MsgBox("SELECT * FROM tblDatenarchiv WHERE da_KundenNr = '" & Me.da_KundenNr & "' And da_kategorie = '" & Me.da_kategorie & "' And da_ordner ='" & Me.da_ordner & "' AND da_uOrdner1= '" & Me.da_uOrdner1 & "' AND da_uOrdner2= '" & Me.da_uOrdner2 & "' AND da_uOrdner3= '" & Me.da_uOrdner3 & "' AND da_name='" & Me.da_name & "' ")
|
||||||
Using cmd As New SqlCommand("SELECT * FROM tblDatenarchiv WHERE da_KundenNr = @da_KundenNr AND da_kategorie = @da_kategorie AND da_ordner=@da_ordner AND da_uOrdner1= @da_uOrdner1 AND da_uOrdner2= @da_uOrdner2 AND da_uOrdner3= @da_uOrdner3 AND da_name=@da_name ", conn)
|
Using cmd As New SqlCommand("SELECT * FROM tblDatenarchiv WHERE da_KundenNr = @da_KundenNr AND da_kategorie = @da_kategorie AND da_ordner=@da_ordner AND da_uOrdner1= @da_uOrdner1 AND da_uOrdner2= @da_uOrdner2 AND da_uOrdner3= @da_uOrdner3 AND da_name=@da_name ", conn)
|
||||||
cmd.Parameters.AddWithValue("@da_KundenNr", Me.da_KundenNr)
|
cmd.Parameters.AddWithValue("@da_KundenNr", Me.da_KundenNr)
|
||||||
' cmd.Parameters.AddWithValue("@da_vorlage", Me.da_vorlage)
|
' cmd.Parameters.AddWithValue("@da_vorlage", Me.da_vorlage)
|
||||||
cmd.Parameters.AddWithValue("@da_kategorie", Me.da_kategorie)
|
cmd.Parameters.AddWithValue("@da_kategorie", Me.da_kategorie)
|
||||||
cmd.Parameters.AddWithValue("@da_ordner", Me.da_ordner)
|
cmd.Parameters.AddWithValue("@da_ordner", Me.da_ordner)
|
||||||
@@ -1102,13 +1104,13 @@ Public Class cFormularManager
|
|||||||
Dim sPrinters As ArrayList
|
Dim sPrinters As ArrayList
|
||||||
|
|
||||||
If VERAG_PROG_ALLGEMEIN.cAllgemein.PRINTER_LIST IsNot Nothing Then
|
If VERAG_PROG_ALLGEMEIN.cAllgemein.PRINTER_LIST IsNot Nothing Then
|
||||||
sPrinters = VERAG_PROG_ALLGEMEIN.cAllgemein.PRINTER_LIST
|
sPrinters = VERAG_PROG_ALLGEMEIN.cAllgemein.PRINTER_LIST
|
||||||
Else
|
Else
|
||||||
sPrinters = New ArrayList
|
sPrinters = New ArrayList
|
||||||
For Each sPrinter As String In System.Drawing.Printing.PrinterSettings.InstalledPrinters
|
For Each sPrinter As String In System.Drawing.Printing.PrinterSettings.InstalledPrinters
|
||||||
sPrinters.Add(sPrinter)
|
sPrinters.Add(sPrinter)
|
||||||
Next
|
Next
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If VERAG_PROG_ALLGEMEIN.cAllgemein.PRINTER_STANDARD <> String.Empty Then
|
If VERAG_PROG_ALLGEMEIN.cAllgemein.PRINTER_STANDARD <> String.Empty Then
|
||||||
|
|
||||||
@@ -1135,11 +1137,18 @@ Public Class cFormularManager
|
|||||||
Dim doc As New Spire.Pdf.PdfDocument(pdfPath)
|
Dim doc As New Spire.Pdf.PdfDocument(pdfPath)
|
||||||
|
|
||||||
doc.PageSettings.Size = Spire.Pdf.PdfPageSize.A4
|
doc.PageSettings.Size = Spire.Pdf.PdfPageSize.A4
|
||||||
doc.PrintDocument.DefaultPageSettings.Landscape = True
|
|
||||||
doc.PageScaling = Spire.Pdf.PdfPrintPageScaling.FitSize
|
|
||||||
|
|
||||||
doc.PrinterName = printerName
|
doc.PageSettings.Orientation = Spire.Pdf.PdfPageOrientation.Landscape
|
||||||
doc.PrintDocument.Print()
|
doc.PrintSettings.SelectSinglePageLayout(PdfSinglePageScalingMode.FitSize, True)
|
||||||
|
doc.PrintSettings.PrinterName = printerName
|
||||||
|
doc.Print()
|
||||||
|
|
||||||
|
|
||||||
|
'doc.PrintDocument.DefaultPageSettings.Landscape = True
|
||||||
|
'doc.PageScaling = Spire.Pdf.PdfPrintPageScaling.FitSize
|
||||||
|
|
||||||
|
'doc.PrinterName = printerName
|
||||||
|
'doc.PrintDocument.Print()
|
||||||
|
|
||||||
|
|
||||||
'Dim doc As New Spire.Pdf.PdfDocument
|
'Dim doc As New Spire.Pdf.PdfDocument
|
||||||
@@ -1231,10 +1240,16 @@ Public Class cFormularManager
|
|||||||
Dim doc As Spire.Pdf.PdfDocument = New Spire.Pdf.PdfDocument(stream)
|
Dim doc As Spire.Pdf.PdfDocument = New Spire.Pdf.PdfDocument(stream)
|
||||||
If doc IsNot Nothing Then
|
If doc IsNot Nothing Then
|
||||||
doc.PageSettings.Size = Spire.Pdf.PdfPageSize.A4
|
doc.PageSettings.Size = Spire.Pdf.PdfPageSize.A4
|
||||||
doc.PrintDocument.DefaultPageSettings.Landscape = True
|
'doc.PrintDocument.DefaultPageSettings.Landscape = True
|
||||||
doc.PageScaling = Spire.Pdf.PdfPrintPageScaling.FitSize
|
'doc.PageScaling = Spire.Pdf.PdfPrintPageScaling.FitSize
|
||||||
doc.PrinterName = printerName
|
'doc.PrinterName = printerName
|
||||||
doc.PrintDocument.Print()
|
'doc.PrintDocument.Print()
|
||||||
|
|
||||||
|
doc.PageSettings.Orientation = Spire.Pdf.PdfPageOrientation.Landscape
|
||||||
|
doc.PrintSettings.SelectSinglePageLayout(PdfSinglePageScalingMode.FitSize, True)
|
||||||
|
doc.PrintSettings.PrinterName = printerName
|
||||||
|
doc.Print()
|
||||||
|
|
||||||
End If
|
End If
|
||||||
End Using
|
End Using
|
||||||
End Using
|
End Using
|
||||||
@@ -1266,8 +1281,11 @@ Public Class cFormularManager
|
|||||||
doc.LoadFromHTML(URL, True, True, True)
|
doc.LoadFromHTML(URL, True, True, True)
|
||||||
If doc IsNot Nothing Then
|
If doc IsNot Nothing Then
|
||||||
doc.PageSettings.Size = Spire.Pdf.PdfPageSize.A4
|
doc.PageSettings.Size = Spire.Pdf.PdfPageSize.A4
|
||||||
doc.PrintDocument.DefaultPageSettings.Landscape = True
|
' doc.PrintDocument.DefaultPageSettings.Landscape = True
|
||||||
doc.PageScaling = Spire.Pdf.PdfPrintPageScaling.FitSize
|
'doc.PageScaling = Spire.Pdf.PdfPrintPageScaling.FitSize
|
||||||
|
|
||||||
|
doc.PageSettings.Orientation = Spire.Pdf.PdfPageOrientation.Landscape
|
||||||
|
doc.PrintSettings.SelectSinglePageLayout(PdfSinglePageScalingMode.FitSize, True)
|
||||||
' doc.PrinterName = printerName
|
' doc.PrinterName = printerName
|
||||||
' doc.PrintDocument.Print()
|
' doc.PrintDocument.Print()
|
||||||
doc.SaveToFile(targetPath)
|
doc.SaveToFile(targetPath)
|
||||||
@@ -1724,7 +1742,7 @@ Public Class DATENVERVER_OPTIONS
|
|||||||
TMP_PATH = Path.GetTempPath() & "\VERAG\DatenTMP\"
|
TMP_PATH = Path.GetTempPath() & "\VERAG\DatenTMP\"
|
||||||
End If
|
End If
|
||||||
|
|
||||||
' If Not IO.Directory.Exists(TMP_PATH) Then IO.Directory.CreateDirectory(TMP_PATH)
|
' If Not IO.Directory.Exists(TMP_PATH) Then IO.Directory.CreateDirectory(TMP_PATH)
|
||||||
|
|
||||||
Dim TMP_PATH2 = TMP_PATH & If(unterOrdner <> "", "\" & unterOrdner & "\", "")
|
Dim TMP_PATH2 = TMP_PATH & If(unterOrdner <> "", "\" & unterOrdner & "\", "")
|
||||||
TMP_PATH2 = TMP_PATH2.replace("\\", "\")
|
TMP_PATH2 = TMP_PATH2.replace("\\", "\")
|
||||||
@@ -1873,72 +1891,64 @@ Public Class DATENVERVER_OPTIONS
|
|||||||
Try
|
Try
|
||||||
If kdnr Is Nothing Then MsgBox("Keine Kundennummer angegeben!") : Return ""
|
If kdnr Is Nothing Then MsgBox("Keine Kundennummer angegeben!") : Return ""
|
||||||
If ordner Is Nothing Then MsgBox("Kein Ordner angegeben!") : Return ""
|
If ordner Is Nothing Then MsgBox("Kein Ordner angegeben!") : Return ""
|
||||||
Dim dateiName = ""
|
Dim dateiName = ""
|
||||||
If Not onlyordner Then
|
If Not onlyordner Then
|
||||||
If bezeichnung Is Nothing Then MsgBox("Keine Bezeichnung angegeben!") : Return ""
|
If bezeichnung Is Nothing Then MsgBox("Keine Bezeichnung angegeben!") : Return ""
|
||||||
dateiName = Now.ToString("yyyyMMdd_HHmmss_") & bezeichnung
|
dateiName = Now.ToString("yyyyMMdd_HHmmss_") & bezeichnung
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Dim kdnr_path = ""
|
Dim kdnr_path = ""
|
||||||
If kdnr IsNot Nothing AndAlso IsNumeric(kdnr) AndAlso kdnr > 0 Then
|
If kdnr IsNot Nothing AndAlso IsNumeric(kdnr) AndAlso kdnr > 0 Then
|
||||||
kdnr_path = kdnr
|
kdnr_path = kdnr
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If kategorie <> "" Then
|
If kategorie <> "" Then
|
||||||
Dim dir = ""
|
Dim dir = ""
|
||||||
dir &= rootDir
|
dir &= rootDir
|
||||||
dir &= kategorie & "\"
|
dir &= kategorie & "\"
|
||||||
dir &= If(ordner IsNot Nothing AndAlso ordner <> "", ordner & "\", "")
|
dir &= If(ordner IsNot Nothing AndAlso ordner <> "", ordner & "\", "")
|
||||||
dir &= If(kdnr_path <> "", kdnr_path & "\", "")
|
dir &= If(kdnr_path <> "", kdnr_path & "\", "")
|
||||||
dir &= If(da_uOrdner1 IsNot Nothing AndAlso da_uOrdner1 <> "", da_uOrdner1 & "\", "")
|
dir &= If(da_uOrdner1 IsNot Nothing AndAlso da_uOrdner1 <> "", da_uOrdner1 & "\", "")
|
||||||
dir &= If(da_uOrdner2 IsNot Nothing AndAlso da_uOrdner2 <> "", da_uOrdner2 & "\", "")
|
dir &= If(da_uOrdner2 IsNot Nothing AndAlso da_uOrdner2 <> "", da_uOrdner2 & "\", "")
|
||||||
dir &= If(da_uOrdner3 IsNot Nothing AndAlso da_uOrdner3 <> "", da_uOrdner3 & "\", "")
|
dir &= If(da_uOrdner3 IsNot Nothing AndAlso da_uOrdner3 <> "", da_uOrdner3 & "\", "")
|
||||||
If Not onlyordner Then
|
If Not onlyordner Then
|
||||||
If Not IO.Directory.Exists(dir) Then
|
If Not IO.Directory.Exists(dir) Then
|
||||||
IO.Directory.CreateDirectory(dir)
|
IO.Directory.CreateDirectory(dir)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
Dim zusatz = "" : Dim zusatzcnt = 1
|
Dim zusatz = "" : Dim zusatzcnt = 1
|
||||||
While IO.File.Exists(dir & dateiName & zusatz & If(bezeichnung.ToString.EndsWith(endung), "", endung))
|
While IO.File.Exists(dir & dateiName & zusatz & If(bezeichnung.ToString.EndsWith(endung), "", endung))
|
||||||
zusatz = "_" & zusatzcnt
|
zusatz = "_" & zusatzcnt
|
||||||
zusatzcnt += 1
|
zusatzcnt += 1
|
||||||
End While
|
End While
|
||||||
|
|
||||||
dir &= dateiName & zusatz & If(bezeichnung.ToString.EndsWith(endung), "", endung)
|
dir &= dateiName & zusatz & If(bezeichnung.ToString.EndsWith(endung), "", endung)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Return dir
|
Return dir
|
||||||
Else
|
Else
|
||||||
If Not onlyordner Then
|
If Not onlyordner Then
|
||||||
If Not IO.Directory.Exists(rootDir & "DOKUMENTE\KEINE_ZUORDNUNG\" & kdnr_path & "\") Then IO.Directory.CreateDirectory(rootDir & "DOKUMENTE\KEINE_ZUORDNUNG\" & kdnr_path & "\")
|
If Not IO.Directory.Exists(rootDir & "DOKUMENTE\KEINE_ZUORDNUNG\" & kdnr_path & "\") Then IO.Directory.CreateDirectory(rootDir & "DOKUMENTE\KEINE_ZUORDNUNG\" & kdnr_path & "\")
|
||||||
|
End If
|
||||||
|
Return rootDir & "DOKUMENTE\KEINE_ZUORDNUNG\" & kdnr_path & "\" & dateiName
|
||||||
End If
|
End If
|
||||||
Return rootDir & "DOKUMENTE\KEINE_ZUORDNUNG\" & kdnr_path & "\" & dateiName
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, "Fehler in der Funktion '" & System.Reflection.MethodInfo.GetCurrentMethod.Name & "'" & vbNewLine & vbNewLine & ex.Message & vbNewLine & vbNewLine & ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, "Fehler in der Funktion '" & System.Reflection.MethodInfo.GetCurrentMethod.Name & "'" & vbNewLine & vbNewLine & ex.Message & vbNewLine & vbNewLine & ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||||
Return ""
|
Return ""
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Shared Function OPEN_PATH(path As String) As Boolean
|
Shared Function OPEN_PATH(path As String) As Boolean
|
||||||
Try
|
Try
|
||||||
If Not IO.File.Exists(path) Then MsgBox("Die Datei existiert nicht") : Return False
|
If Not IO.File.Exists(path) Then MsgBox("Die Datei existiert nicht") : Return False
|
||||||
|
|
||||||
Dim fi As New IO.DirectoryInfo(path)
|
Dim fi As New IO.DirectoryInfo(path)
|
||||||
Dim destPath = DATENVERVER_OPTIONS.getTMPPath(fi.Name, fi.Extension, , False)
|
Dim destPath = DATENVERVER_OPTIONS.getTMPPath(fi.Name, fi.Extension, , False)
|
||||||
|
|
||||||
IO.File.Copy(path, destPath, True)
|
IO.File.Copy(path, destPath, True)
|
||||||
Process.Start(destPath)
|
Process.Start(destPath)
|
||||||
Return True
|
Return True
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox(ex.Message & ex.StackTrace)
|
MsgBox(ex.Message & ex.StackTrace)
|
||||||
Return False
|
Return False
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
|
||||||
Public Shared Function getPDFViaSpirePDF_FromFile(File As String, Optional targetPath As String = "") As String
|
Public Shared Function getPDFViaSpirePDF_FromFile(File As String, Optional targetPath As String = "") As String
|
||||||
Try
|
Try
|
||||||
If targetPath = "" Then targetPath = TMP_PATH
|
If targetPath = "" Then targetPath = TMP_PATH
|
||||||
@@ -1949,8 +1959,10 @@ Public Class DATENVERVER_OPTIONS
|
|||||||
'doc.LoadFromFile(File)
|
'doc.LoadFromFile(File)
|
||||||
If doc IsNot Nothing Then
|
If doc IsNot Nothing Then
|
||||||
doc.PageSettings.Size = Spire.Pdf.PdfPageSize.A4
|
doc.PageSettings.Size = Spire.Pdf.PdfPageSize.A4
|
||||||
doc.PrintDocument.DefaultPageSettings.Landscape = True
|
' doc.PrintDocument.DefaultPageSettings.Landscape = True
|
||||||
doc.PageScaling = Spire.Pdf.PdfPrintPageScaling.FitSize
|
' doc.PageScaling = Spire.Pdf.PdfPrintPageScaling.FitSize
|
||||||
|
doc.PageSettings.Orientation = Spire.Pdf.PdfPageOrientation.Landscape
|
||||||
|
doc.PrintSettings.SelectSinglePageLayout(PdfSinglePageScalingMode.FitSize, True)
|
||||||
' doc.PrinterName = printerName
|
' doc.PrinterName = printerName
|
||||||
' doc.PrintDocument.Print()
|
' doc.PrintDocument.Print()
|
||||||
doc.SaveToFile(targetPath)
|
doc.SaveToFile(targetPath)
|
||||||
|
|||||||
@@ -122,17 +122,17 @@
|
|||||||
<Reference Include="RichTextBoxEx">
|
<Reference Include="RichTextBoxEx">
|
||||||
<HintPath>..\..\..\dll\RichTextBoxEx.dll</HintPath>
|
<HintPath>..\..\..\dll\RichTextBoxEx.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Spire.License, Version=1.3.15.46, Culture=neutral, PublicKeyToken=b1144360237c8b3f, processorArchitecture=MSIL">
|
<Reference Include="Spire.License, Version=1.4.0.46, Culture=neutral, PublicKeyToken=b1144360237c8b3f, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\..\dll\Spire.PDF\2022\Spire.License.dll</HintPath>
|
<HintPath>..\..\..\dll\Spire.PDF\2023\Spire.License.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Spire.Pdf, Version=7.6.0.0, Culture=neutral, PublicKeyToken=663f351905198cb3, processorArchitecture=MSIL">
|
<Reference Include="Spire.Pdf, Version=8.1.4.0, Culture=neutral, PublicKeyToken=663f351905198cb3, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\..\dll\Spire.PDF\2022\Spire.Pdf.dll</HintPath>
|
<HintPath>..\..\..\dll\Spire.PDF\2023\Spire.Pdf.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Spire.PdfViewer.Forms, Version=6.6.0.0, Culture=neutral, PublicKeyToken=663f351905198cb3, processorArchitecture=MSIL">
|
<Reference Include="Spire.PdfViewer.Forms, Version=7.1.4.0, Culture=neutral, PublicKeyToken=663f351905198cb3, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\..\dll\Spire.PDF\2022\Spire.PdfViewer.Forms.dll</HintPath>
|
<HintPath>..\..\..\dll\Spire.PDF\2023\Spire.PdfViewer.Forms.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||||
|
|||||||
Reference in New Issue
Block a user