Mitarbeiter stellen
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import "../js/qmldict.js" as JsLib
|
||||
|
||||
// ScrollView
|
||||
// {
|
||||
@@ -133,21 +134,22 @@ import QtQuick.Layouts
|
||||
id: saveBtn
|
||||
text: qsTr("Speichern")
|
||||
enabled: false
|
||||
// onClicked:
|
||||
// {
|
||||
// if (!checkAddContact.checked)
|
||||
// {
|
||||
// new_business = JsLib.addBusiness(customerView)
|
||||
// business_model.addBusiness(new_business, 0)
|
||||
// appLoader.source = "EmployeeTable.qml"
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// new_business = JsLib.addBusiness(customerView)
|
||||
// var new_contact = JsLib.addBusiness(addContactLayout)
|
||||
// contact_model.addContact(new_contact)
|
||||
// }
|
||||
// }
|
||||
onClicked:
|
||||
{
|
||||
if (radio.children[0].checked)
|
||||
{
|
||||
var new_applicant = JsLib.addApplicant(personalData)
|
||||
// business_model.addApplicant(new_business, 0)
|
||||
// appLoader.source = "EmployeeTable.qml"
|
||||
console.log(JSON.stringify (new_applicant))
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// new_applicant = JsLib.addApplicant(customerView)
|
||||
// var new_contact = JsLib.addApplicant(addContactLayout)
|
||||
// contact_model.addContact(new_contact)
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
Item
|
||||
|
||||
Reference in New Issue
Block a user