add oe_typ_kurzbz and oe_typ_bezeichnung to use in labels

This commit is contained in:
Harald Bamberger
2023-10-19 13:05:02 +02:00
parent dcb308a535
commit eee6f918cd
2 changed files with 6 additions and 1 deletions
@@ -158,7 +158,9 @@ EOTXT;
'funktion_bezeichnung' => $data->funktion_bezeichnung,
'oe_kurzbz' => $data->oe_kurzbz,
'oe_bezeichnung' => $data->oe_bezeichnung,
'oe_kurzbz_sap' => $data->oe_kurzbz_sap
'oe_kurzbz_sap' => $data->oe_kurzbz_sap,
'oe_typ_kurzbz' => $data->oe_typ_kurzbz,
'oe_typ_bezeichnung' => $data->oe_typ_bezeichnung
);
}
@@ -24,6 +24,7 @@ class Vertragsbestandteil_model extends DB_Model
v.*,
bf.funktion_kurzbz, funktion.beschreibung funktion_bezeichnung,
oe.oe_kurzbz, oe.bezeichnung oe_bezeichnung, sap.oe_kurzbz_sap,
oet.organisationseinheittyp_kurzbz AS oe_typ_kurzbz, oet.bezeichnung AS oe_typ_bezeichnung,
ft.freitexttyp_kurzbz, ft.titel, ft.anmerkung,
f.benutzerfunktion_id,
k.karenztyp_kurzbz, k.geplanter_geburtstermin, k.tatsaechlicher_geburtstermin,
@@ -43,6 +44,8 @@ class Vertragsbestandteil_model extends DB_Model
public.tbl_funktion funktion USING(funktion_kurzbz)
LEFT JOIN
public.tbl_organisationseinheit oe USING(oe_kurzbz)
LEFT JOIN
public.tbl_organisationseinheittyp oet USING(organisationseinheittyp_kurzbz)
LEFT JOIN
sync.tbl_sap_organisationsstruktur sap USING(oe_kurzbz)
LEFT JOIN