b0VIM 8.2Š€dÇæ@debianvps-8ced61a9/var/www/html/phpmysql/js/database/persons.jsutf-8 U3210#"! Utp[ÿÿÿÿÿÿÿÿY\Qµ adQÙ[øÕC òÉ‚yO:8Þ Æ  w O 4 2 © Š Q 9  Ê Â ¡ Ÿ m ,  Ò ‹ ‚ a _ =  é Á z q P N M  Ö¾t-$Ljp"ÛÒ±¯r3Å~uTR"áÉ“LC꯭y7áš‘pn3ñÙØ method: "POST", let response = await fetch("/api/person_vacations/add.php", {dbAdd_person_vacation = async (person_id, start, end) => {} return await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({id: id, person_id: person_id}), method: "POST", let response = await fetch("/api/person_illnes/remove.php", {dbRemove_person_illnes = async (id, person_id) => {} return PERSONS.find(p => p.id === person_id).illnesses return person_illnes?.person_illnes */ let person_illnes = await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({person_id: person_id}), method: "POST", /*let response = await fetch("/api/person_illnes/get.php", {dbGet_person_illnesses = async (person_id) => {} return await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({id: id, person_id: person_id, start: start, end: end}), method: "POST", let response = await fetch("/api/person_illnes/add.php", {dbSet_person_illnes = async (id, person_id, start, end) => {} return await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({person_id: person_id, start: start, end: end}), method: "POST", let response = await fetch("/api/person_illnes/add.php", {dbAdd_person_illnes = async (person_id, start, end) => {} return await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({person_id: person_id, yearweek: yearweek}), method: "POST", let response = await fetch("/api/person_hours/update.php", {dbSet_person_hours = async (person_id, yearweek) => {} return await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({id: id}), method: "POST", let response = await fetch("/api/persons/remove.php", {dbRemove_person = async (id) => {} return await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({id: id, name: name, value: value}), method: "POST", let response = await fetch("/api/persons/updateWhere.php", {dbSet_person_where = async (id, name, value) => {} return await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({id: id}), method: "POST", let response = await fetch("/api/persons/get.php", {dbGet_person = async (id) => {// [id: int, a: string, n: string, h: decimal, d: int, m: [int], c: [{d: string, k: string, v: [{d: int, v|a|l|f: boolean}]}], b: [str]}} return persons.persons let persons = await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } method: "POST", let response = await fetch("/api/persons/getAll.php", {dbGet_persons = async () => {} return person_id let person_id = await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify(person_is), method: "POST", let response = await fetch("/api/persons/add.php", { let person_is = {name: person.name, activated: person.activated, department: person.department, hours: person.hours, mpa: person.mpa.toString()}dbAdd_person = async (person) => {// [{}]ad h ¶žj#ù÷öõµhg {PERSONS_ALL.forEach(p => {p.d === department_id && (p.d = value)})}dbSet_persons_departments_where_id = (department_id, value) => } return await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({yearweek: yearweek}), method: "POST", let response = await fetch("/api/persons_active/getAllRemoved.php", {adÞ>Q±[Cù²©yNLù ¡ ‰ ? ø ï ¿ Œ Š 1 å Í `   ï í › O 7 í ¦ � | z & ˳i"øöõôóò¶mU!ÚÒª��Vø®g_7$"á ˆ5îåĉB*à™�om>à•”dbGet_persons_removed = async (yearweek) => {} return await response.dbGet_persons_removed = async (yearweek) => {} return await response.json() }) dbGet_persons_removed = async (yearweek) => {} return await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({yearweek: yearweek, person_id: person_id}), method: "POST", let response = await fetch("/api/persons_active/getRemoved.php", {dbGet_person_removed = async (yearweek, person_id) => {} return await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({id: person_id, name: "activated", value: yearweek}), method: "POST", let response = await fetch("/api/persons/updateWhere.php", {dbSet_person_person_activated = async (person_id, yearweek) => {} return persons let persons = await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({yearweek: yearweek, person_id: person_id}), method: "POST", let response = await fetch("/api/persons_active/getActive.php", {dbGet_person_active = async (yearweek, person_id) => {} return persons.persons let persons = await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({yearweek: yearweek}), method: "POST", let response = await fetch("/api/persons_active/getAllActive.php", {dbGet_persons_active_where_yearweek = async (yearweek) => {} return await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({person_id: person_id, yearweek: yearweek}), method: "POST", let response = await fetch("/api/person_overtimes_manual/removeWhereYearweekLt.php", {dbRemove_person_overtime_manual_where_yearweek_lt = async (person_id, yearweek) =>{} return await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({person_id: person_id, yearweek: yearweek}), method: "POST", let response = await fetch("/api/person_overtimes_manual/remove.php", {dbRemove_person_overtime_manual_where_yearweek = async (yearweek, person_id) => {} return await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({person_id: person_id, yearweek: yearweek, overtime: overtime ? overtime : 0}), method: "POST", let response = await fetch("/api/person_overtimes_manual/update.php", {dbSet_person_overtime_manual_where_yearweek = async (yearweek, person_id, overtime) => {} return person_overtime.person_overtimes_manual let person_overtime = await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({person_id: person_id, yearweek: yearweek}), method: "POST", let response = await fetch("/api/person_overtimes_manual/getWhereYearweekLe.php", {dbGet_person_overtimes_manual_where_yearweek_le = async (yearweek, person_id) => {} return person_overtime.person_overtime let person_overtime = await response.json() }) headers: { "Content-Type": "application/json; charset=UTF-8" } body: JSON.stringify({person_id: person_id, yearweek: yearweek}), method: "POST", let response = await fetch("/api/person_overtimes_manual/getWhereYearweek.php", {dbGet_person_overtime_manual_where_yearweek = async (yearweek, person_id) => {