neu
This commit is contained in:
@@ -1266,7 +1266,16 @@ Public Class usrCntlKundenuebersicht
|
||||
|
||||
|
||||
|
||||
If sumGes <> 0 Then txtOffenePosten.Text = sumGes.ToString("C") Else txtOffenePosten.Text = ""
|
||||
If sumGes <> 0 Then
|
||||
txtOffenePosten.Text = sumGes.ToString("C")
|
||||
If sumGes < 0 Then
|
||||
txtOffenePosten.ForeColor = Color.Green
|
||||
Else
|
||||
txtOffenePosten.ForeColor = Color.Red
|
||||
End If
|
||||
Else
|
||||
txtOffenePosten.Text = ""
|
||||
End If
|
||||
'If sumGes > 0 Then
|
||||
' txtOffenePosten.Text = sumGes.ToString("C")
|
||||
'Else
|
||||
@@ -1353,10 +1362,15 @@ Public Class usrCntlKundenuebersicht
|
||||
|
||||
|
||||
' If .RowCount > 0 Then
|
||||
If OP_tmp > 0 Then
|
||||
If OP_tmp <> 0 Then
|
||||
' txtOffenePosten.Text = String.Format("{0:n}", .Rows(0).Cells("KumSaldoEUR").Value)
|
||||
'txtOffenePosten.Text = String.Format("{0:n}", OP_tmp)
|
||||
txtOffenePosten.Text = OP_tmp.ToString("C")
|
||||
If OP_tmp < 0 Then
|
||||
txtOffenePosten.ForeColor = Color.Green
|
||||
Else
|
||||
txtOffenePosten.ForeColor = Color.Red
|
||||
End If
|
||||
Else
|
||||
txtOffenePosten.Text = ""
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user