From 0f95522bb40fb0c02fcdb905929be75f7d9ecba8 Mon Sep 17 00:00:00 2001 From: Andreas Luxbauer Date: Mon, 15 Jun 2026 15:25:49 +0200 Subject: [PATCH] exg --- .../EXGestellung/usrCntlATLAS_EXGestellung.vb | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/SDL/ZOLLSYSTEM/DAKOSY/ATLAS/EXGestellung/usrCntlATLAS_EXGestellung.vb b/SDL/ZOLLSYSTEM/DAKOSY/ATLAS/EXGestellung/usrCntlATLAS_EXGestellung.vb index b5dc211c..fc4c1b3d 100644 --- a/SDL/ZOLLSYSTEM/DAKOSY/ATLAS/EXGestellung/usrCntlATLAS_EXGestellung.vb +++ b/SDL/ZOLLSYSTEM/DAKOSY/ATLAS/EXGestellung/usrCntlATLAS_EXGestellung.vb @@ -46,7 +46,7 @@ Public Class usrCntlATLAS_EXGestellung cbxNCTS.Checked = False - If VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA = "ATILLA" Or VERAG_PROG_ALLGEMEIN.cAllgemein.NIEDERLASSUNG Then + If VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA = "ATILLA" Or VERAG_PROG_ALLGEMEIN.cAllgemein.NIEDERLASSUNG = "WAI" Then Button2.Visible = True Label5.Visible = True End If @@ -484,12 +484,21 @@ Public Class usrCntlATLAS_EXGestellung initStammref() - - If Button2.Text = "UNISPED" Then - Button2.Text = "ATILLA" - Else - Button2.Text = "UNISPED" + If VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA = "ATILLA" Then + If Button2.Text = "UNISPED" Then + Button2.Text = "ATILLA" + Else + Button2.Text = "UNISPED" + End If End If + If VERAG_PROG_ALLGEMEIN.cAllgemein.NIEDERLASSUNG = "WAI" Then + If Button2.Text = "UNISPED" Then + Button2.Text = "VERAG" + Else + Button2.Text = "UNISPED" + End If + End If + End Sub End Class