diff --git a/APPL/BEZ/bez_list.inc b/APPL/BEZ/bez_list.inc index 7e8285db08..cb8c95ef54 100644 --- a/APPL/BEZ/bez_list.inc +++ b/APPL/BEZ/bez_list.inc @@ -235,7 +235,7 @@ function bez_list(pautfunction, params) : " , a.bez_afspraak_datum bez_afspraak_datum" + " , a.bez_afspraak_eind bez_afspraak_eind") + " , " + S("prs_pers_string") + " pers_naam" - + " , p3.prs_perslid_email contact_email" + + " , p.prs_perslid_email contact_email" + " , a.bez_afspraak_gastheer gastheer" + " , p2.prs_perslid_email gastheer_email" + " , COALESCE(a.bez_afspraak_telefoonnr, p2.prs_perslid_telefoonnr, p2.prs_perslid_mobiel) gastheer_telf_nr" @@ -466,7 +466,6 @@ function bez_list(pautfunction, params) + " , bez_actie t" + " , prs_perslid p" + " , prs_perslid p2" - + " , prs_perslid p3" + " , alg_locatie l" + " , alg_district d" + " , res_rsv_ruimte rrr" @@ -531,7 +530,6 @@ function bez_list(pautfunction, params) + " AND b.bez_bezoekers_key = rd.bez_bezoekers_key(+)" + " AND p.prs_perslid_key = a.bez_afspraak_contact_key" + " AND p2.prs_perslid_key(+) = a.bez_afspraak_host_key" - + " AND p3.prs_perslid_key(+) = a.prs_perslid_key" + " AND a.res_rsv_ruimte_key = rrr.res_rsv_ruimte_key(+)" + " AND rrr.res_ruimte_opstel_key = rro.res_ruimte_opstel_key(+)" + " AND rro.res_ruimte_key = rr.res_ruimte_key(+)"