changed AddApplicant

This commit is contained in:
2025-01-28 16:38:13 +01:00
parent 538399b59a
commit 716915f333
3 changed files with 45 additions and 14 deletions

View File

@@ -10,7 +10,9 @@ GridLayout
Label
{
Layout.preferredWidth: bankAccount.longest.width
text: qsTr("Herkunftsland")
horizontalAlignment: Text.AlignRight
}
ComboBox
@@ -25,6 +27,7 @@ GridLayout
Label
{
text: qsTr("Sozialversicherungs-Nr")
Layout.alignment: Qt.AlignRight
}
TextField
@@ -37,6 +40,7 @@ GridLayout
Label
{
text: qsTr("Steuer-ID")
Layout.alignment: Qt.AlignRight
}
TextField
@@ -49,6 +53,7 @@ GridLayout
Label
{
text: qsTr("Krankenkasse")
Layout.alignment: Qt.AlignRight
}
TextField
@@ -60,6 +65,7 @@ GridLayout
Label
{
text: qsTr("Knappschaft")
Layout.alignment: Qt.AlignRight
visible: bankAccount.jobstatus.currentText === "Minijob" ? 1:0
}
@@ -71,67 +77,85 @@ GridLayout
visible: bankAccount.jobstatus.currentText === "Minijob" ? 1:0
}
CheckBox
Label
{
property string name: "worklicense"
id: worklicense
Layout.columnSpan: 2
text: qsTr("Arbeitserlaubnis")
visible: nation.currentText === "Deutschland"? false:true
text: qsTr("Ausweistyp")
Layout.alignment: Qt.AlignRight
}
ComboBox
{
property string name: "idtype"
id: idtype
Layout.fillWidth: true
editable: true
model: [qsTr("Personalausweis"), qsTr("Reisepass")]
}
Label
{
text: qsTr("Ausweis Nr.")
visible: nation.currentText === "Deutschland"? false:true
Layout.alignment: Qt.AlignRight
}
TextField
{
property string name: "passno"
id: passno
visible: nation.currentText === "Deutschland"? false:true
Layout.fillWidth: true
}
Label
{
text: qsTr("Ausweis gültig bis")
visible: nation.currentText === "Deutschland"? false:true
Layout.alignment: Qt.AlignRight
}
TextField
{
property string name: "passduration"
id: passduration
visible: nation.currentText === "Deutschland"? false:true
Layout.fillWidth: true
}
Label
{
text: qsTr("Ausstellungsort")
visible: nation.currentText === "Deutschland"? false:true
Layout.alignment: Qt.AlignRight
}
TextField
{
property string name: "exhibitionlocation"
id: exhibitionlocation
visible: nation.currentText === "Deutschland"? false:true
Layout.fillWidth: true
}
Label
{
id: test
text: qsTr("Ausgestellt am")
visible: nation.currentText === "Deutschland"? false:true
Layout.alignment: Qt.AlignRight
}
TextField
{
property string name: "exhibitdate"
id: exhibitdate
visible: nation.currentText === "Deutschland"? false:true
Layout.fillWidth: true
}
CheckBox
{
Layout.preferredWidth: bankAccount.longest.width
property string name: "worklicense"
id: worklicense
text: qsTr("Arbeitserlaubnis <font color='red'><b>?</b></font>")
visible: nation.currentText === "Deutschland"? false:true
}
Item
{
Layout.fillWidth: true
visible: nation.currentText === "Deutschland"? false:true
}
Label
{
text: qsTr("Aufenthaltstitel gültig bis")
visible: nation.currentText === "Deutschland"? false:true
Layout.alignment: Qt.AlignRight
}
TextField
{