changed AddApplicant
This commit is contained in:
@@ -32,9 +32,6 @@ GridLayout
|
||||
property string name: "socialno"
|
||||
id: socialnumber
|
||||
Layout.fillWidth: true
|
||||
placeholderText: "Pflichtfeld"
|
||||
placeholderTextColor: "red"
|
||||
onTextChanged: checkFields()
|
||||
}
|
||||
|
||||
Label
|
||||
@@ -47,9 +44,6 @@ GridLayout
|
||||
property string name: "taxno"
|
||||
id: taxnumber
|
||||
Layout.fillWidth: true
|
||||
placeholderText: "Pflichtfeld"
|
||||
placeholderTextColor: "red"
|
||||
onTextChanged: checkFields()
|
||||
}
|
||||
|
||||
Label
|
||||
@@ -62,21 +56,45 @@ GridLayout
|
||||
property string name: "medicalinsurance"
|
||||
id: medicalinsurance
|
||||
Layout.fillWidth: true
|
||||
placeholderText: "Pflichtfeld"
|
||||
placeholderTextColor: "red"
|
||||
onTextChanged: checkFields()
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: qsTr("Knappschaft")
|
||||
visible: bankAccount.jobstatus.currentText === "Minijob" ? 1:0
|
||||
}
|
||||
|
||||
TextField
|
||||
{
|
||||
property string name: "knappschaft"
|
||||
id: knappschaft
|
||||
Layout.fillWidth: true
|
||||
visible: bankAccount.jobstatus.currentText === "Minijob" ? 1:0
|
||||
}
|
||||
|
||||
CheckBox
|
||||
{
|
||||
property string name: "worklicense"
|
||||
id: worklicense
|
||||
Layout.columnSpan: 2
|
||||
text: qsTr("Arbeitserlaubnis")
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: qsTr("Pass gültig bis")
|
||||
text: qsTr("Ausweis Nr.")
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
}
|
||||
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
|
||||
}
|
||||
TextField
|
||||
@@ -85,8 +103,30 @@ GridLayout
|
||||
id: passduration
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
Layout.fillWidth: true
|
||||
placeholderText: "Pflichtfeld"
|
||||
placeholderTextColor: "red"
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: qsTr("Ausstellungsort")
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
}
|
||||
TextField
|
||||
{
|
||||
property string name: "exhibitionlocation"
|
||||
id: exhibitionlocation
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: qsTr("Ausgestellt am")
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
}
|
||||
TextField
|
||||
{
|
||||
property string name: "exhibitdate"
|
||||
id: exhibitdate
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
Label
|
||||
{
|
||||
@@ -99,17 +139,8 @@ GridLayout
|
||||
id: aufenthalt
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
Layout.fillWidth: true
|
||||
placeholderText: "Pflichtfeld"
|
||||
placeholderTextColor: "red"
|
||||
}
|
||||
function checkNationalInsuranceField()
|
||||
{
|
||||
if (nation.currentText === "Deutschland")
|
||||
{
|
||||
|
||||
return (socialnumber.text.trim() && taxnumber.text.trim() && medicalinsurance.text.trim())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user