Add Applicant form changed
This commit is contained in:
@@ -33,7 +33,7 @@ GridLayout
|
||||
TextField
|
||||
{
|
||||
property string name: "socialno"
|
||||
id: socialnumber
|
||||
id: socialno
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
@@ -99,8 +99,8 @@ GridLayout
|
||||
}
|
||||
TextField
|
||||
{
|
||||
property string name: "passno"
|
||||
id: passno
|
||||
property string name: "idnumber"
|
||||
id: idnumber
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
@@ -111,8 +111,8 @@ GridLayout
|
||||
}
|
||||
TextField
|
||||
{
|
||||
property string name: "passduration"
|
||||
id: passduration
|
||||
property string name: "idexpiry"
|
||||
id: idexpiry
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
Label
|
||||
@@ -122,8 +122,8 @@ GridLayout
|
||||
}
|
||||
TextField
|
||||
{
|
||||
property string name: "exhibitionlocation"
|
||||
id: exhibitionlocation
|
||||
property string name: "idauthority"
|
||||
id: idauthority
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
Label
|
||||
@@ -134,8 +134,8 @@ GridLayout
|
||||
}
|
||||
TextField
|
||||
{
|
||||
property string name: "exhibitdate"
|
||||
id: exhibitdate
|
||||
property string name: "idissued"
|
||||
id: idissued
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
CheckBox
|
||||
@@ -146,61 +146,63 @@ GridLayout
|
||||
text: qsTr("Arbeitserlaubnis <font color='red'><b>?</b></font>")
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
}
|
||||
Item
|
||||
CheckBox
|
||||
{
|
||||
Layout.fillWidth: true
|
||||
property string name: "residencetype"
|
||||
id: residencetype
|
||||
text: qsTr("Aufenthaltstitel")
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: qsTr("Aufenthaltstitel Nr.")
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
visible: residencetype.checked
|
||||
Layout.alignment: Qt.AlignRight
|
||||
}
|
||||
TextField
|
||||
{
|
||||
property string name: "residenceno"
|
||||
id: residenceno
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
visible: residencetype.checked
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: qsTr("Ausgestellt von")
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
visible: residencetype.checked
|
||||
Layout.alignment: Qt.AlignRight
|
||||
}
|
||||
TextField
|
||||
{
|
||||
property string name: "residenceissuedloc"
|
||||
id: residenceissuedloc
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
property string name: "residenceauthority"
|
||||
id: residenceauthority
|
||||
visible: residencetype.checked
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: qsTr("Ausgestellt am")
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
visible: residencetype.checked
|
||||
Layout.alignment: Qt.AlignRight
|
||||
}
|
||||
TextField
|
||||
{
|
||||
property string name: "residenceissued"
|
||||
id: residenceissued
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
visible: residencetype.checked
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: qsTr("Gültig bis")
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
visible: residencetype.checked
|
||||
Layout.alignment: Qt.AlignRight
|
||||
}
|
||||
TextField
|
||||
{
|
||||
property string name: "residenceexpire"
|
||||
id: residenceexpire
|
||||
visible: nation.currentText === "Deutschland"? false:true
|
||||
property string name: "residenceexpiry"
|
||||
id: residenceexpiry
|
||||
visible: residencetype.checked
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
|
||||
@@ -310,14 +310,14 @@ GridLayout
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: qsTr("Arbeitsbeginn")
|
||||
text: qsTr("Vertragsbeginn")
|
||||
Layout.alignment: Qt.AlignRight
|
||||
visible: radio.children[1].checked
|
||||
}
|
||||
TextField
|
||||
{
|
||||
property string name: "workstart"
|
||||
id: workstart
|
||||
property string name: "contractstart"
|
||||
id: contractstart
|
||||
Layout.fillWidth: true
|
||||
visible: radio.children[1].checked
|
||||
placeholderTextColor: "red"
|
||||
@@ -330,14 +330,14 @@ GridLayout
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: qsTr("Bei Befristung Ende")
|
||||
text: qsTr("Vertragsende")
|
||||
Layout.alignment: Qt.AlignRight
|
||||
visible: radio.children[1].checked
|
||||
}
|
||||
TextField
|
||||
{
|
||||
property string name: "workend"
|
||||
id: workend
|
||||
property string name: "contractend"
|
||||
id: contractend
|
||||
Layout.fillWidth: true
|
||||
visible: radio.children[1].checked
|
||||
placeholderTextColor: "red"
|
||||
@@ -409,7 +409,7 @@ GridLayout
|
||||
&& (city.editText.trim() || city.currentText.trim())
|
||||
&& birthday.text.trim() && phonenumber.text.trim()
|
||||
&& cellphone.text.trim() && email.text.trim() && jobdescription.text.trim()
|
||||
&& workstart.text.trim() && workend.text.trim() && briefAnrede.text.trim())
|
||||
&& contractstart.text.trim() && contractend.text.trim() && briefAnrede.text.trim())
|
||||
}
|
||||
}
|
||||
function requiredField()
|
||||
@@ -420,8 +420,8 @@ GridLayout
|
||||
cellphone.placeholderText = pf
|
||||
email.placeholderText = pf
|
||||
jobdescription.placeholderText = pf
|
||||
workstart.placeholderText = pf
|
||||
workend.placeholderText = pf
|
||||
contractstart.placeholderText = pf
|
||||
contractend.placeholderText = pf
|
||||
briefAnrede.placeholderText = pf
|
||||
houseno.placeholderText = pf
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@ GridLayout
|
||||
|
||||
TextField
|
||||
{
|
||||
property string name: "behinderung"
|
||||
id: behinderung
|
||||
property string name: "disability"
|
||||
id: disability
|
||||
placeholderText: "0,0"
|
||||
}
|
||||
|
||||
@@ -42,8 +42,8 @@ GridLayout
|
||||
|
||||
TextField
|
||||
{
|
||||
property string name: "kostenstelle"
|
||||
id: kostenstelle
|
||||
property string name: "office"
|
||||
id: office
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
@@ -55,8 +55,8 @@ GridLayout
|
||||
|
||||
TextField
|
||||
{
|
||||
property string name: "fremdlohn"
|
||||
id: fremdLohnNummer
|
||||
property string name: "empreference"
|
||||
id: empreference
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
6
lib/DB/EmployeeDAO.py
Normal file
6
lib/DB/EmployeeDAO.py
Normal file
@@ -0,0 +1,6 @@
|
||||
# This Python file uses the following encoding: utf-8
|
||||
|
||||
|
||||
class EmployeeDAO:
|
||||
def __init__(self):
|
||||
pass
|
||||
6
lib/DB/EmployeeModel.py
Normal file
6
lib/DB/EmployeeModel.py
Normal file
@@ -0,0 +1,6 @@
|
||||
# This Python file uses the following encoding: utf-8
|
||||
|
||||
|
||||
class EmployeeModel:
|
||||
def __init__(self):
|
||||
pass
|
||||
@@ -18,6 +18,8 @@
|
||||
"lib/DB/BTypeModel.py",
|
||||
"lib/DB/BTypeDAO.py",
|
||||
"lib/DB/ContactDAO.py",
|
||||
"lib/DB/ContactModel.py"
|
||||
"lib/DB/ContactModel.py",
|
||||
"lib/DB/EmployeeModel.py",
|
||||
"lib/DB/EmployeeDAO.py"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user