Files
pyqcrm/Gui/ApplicantNationalInsurance.qml

119 lines
2.5 KiB
QML

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
GridLayout
{
id: nationalInsurance
columns: 2
Label
{
text: qsTr("Herkunftsland")
}
ComboBox
{
property string name: "country"
id: nation
Layout.fillWidth: true
editable: true
model: [qsTr("Deutschland"), qsTr("Syrien")]
}
Label
{
text: qsTr("Sozialversicherungs-Nr")
}
TextField
{
property string name: "socialno"
id: socialnumber
Layout.fillWidth: true
placeholderText: "Pflichtfeld"
placeholderTextColor: "red"
}
Label
{
text: qsTr("Steuer-ID")
}
TextField
{
property string name: "taxno"
id: taxnumber
Layout.fillWidth: true
placeholderText: "Pflichtfeld"
placeholderTextColor: "red"
}
Label
{
text: qsTr("Krankenkasse")
}
TextField
{
property string name: "medicalinsurance"
id: medicalinsurance
Layout.fillWidth: true
placeholderText: "Pflichtfeld"
placeholderTextColor: "red"
}
CheckBox
{
property string name: "worklicense"
Layout.columnSpan: 2
text: qsTr("Arbeitserlaubnis")
visible: nation.currentText === "Deutschland"? false:true
}
Label
{
text: qsTr("Staatsangehörigkeit")
visible: nation.currentText === "Deutschland"? false:true
}
TextField
{
property string name: "nationality"
id: nationality
visible: nation.currentText === "Deutschland"? false:true
Layout.fillWidth: true
placeholderText: "Pflichtfeld"
placeholderTextColor: "red"
}
Label
{
text: qsTr("Pass gültig bis")
visible: nation.currentText === "Deutschland"? false:true
}
TextField
{
property string name: "passduration"
id: passduration
visible: nation.currentText === "Deutschland"? false:true
Layout.fillWidth: true
placeholderText: "Pflichtfeld"
placeholderTextColor: "red"
}
Label
{
text: qsTr("Aufenthaltstitel gültig bis")
visible: nation.currentText === "Deutschland"? false:true
}
TextField
{
property string name: "aufenthalt"
id: aufenthalt
visible: nation.currentText === "Deutschland"? false:true
Layout.fillWidth: true
placeholderText: "Pflichtfeld"
placeholderTextColor: "red"
}
}