".__("reprise_abandon"); if(!isset($premier)) $premier=''; if(!isset($tricolsf)) $tricolsf=''; if(!isset($premiersf)) $premiersf=''; if(!isset($selection)) $selection=''; if(!isset($retourformulaire)) $retourformulaire=''; if (!isset($idxformulaire)) { $idxformulaire = ''; } if (!isset($tricol)) { $tricol = ''; } if (!isset($valide)) { $valide = ''; } // FROM $table = DB_PREFIXE."reprise_abandon LEFT JOIN ".DB_PREFIXE."emplacement ON reprise_abandon.emplacement=emplacement.emplacement "; // SELECT $champAffiche = array( 'reprise_abandon.reprise_abandon as "'.__("reprise_abandon").'"', 'emplacement.nature as "'.__("emplacement").'"', 'reprise_abandon.statut as "'.__("statut").'"', 'reprise_abandon.etat as "'.__("etat").'"', 'to_char(reprise_abandon.datecreation ,\'DD/MM/YYYY\') as "'.__("datecreation").'"', "case reprise_abandon.effectuee when 't' then 'Oui' else 'Non' end as \"".__("effectuee")."\"", 'to_char(reprise_abandon.dateconvocationvisite1 ,\'DD/MM/YYYY\') as "'.__("dateconvocationvisite1").'"', 'to_char(reprise_abandon.dateconstatpv1 ,\'DD/MM/YYYY\') as "'.__("dateconstatpv1").'"', 'reprise_abandon.heureconstatpv1 as "'.__("heureconstatpv1").'"', 'to_char(reprise_abandon.datenotificationpv1 ,\'DD/MM/YYYY\') as "'.__("datenotificationpv1").'"', 'to_char(reprise_abandon.debutaffichage1pv1 ,\'DD/MM/YYYY\') as "'.__("debutaffichage1pv1").'"', 'to_char(reprise_abandon.finaffichage1pv1 ,\'DD/MM/YYYY\') as "'.__("finaffichage1pv1").'"', 'to_char(reprise_abandon.debutaffichage2pv1 ,\'DD/MM/YYYY\') as "'.__("debutaffichage2pv1").'"', 'to_char(reprise_abandon.finaffichage2pv1 ,\'DD/MM/YYYY\') as "'.__("finaffichage2pv1").'"', 'to_char(reprise_abandon.debutaffichage3pv1 ,\'DD/MM/YYYY\') as "'.__("debutaffichage3pv1").'"', 'to_char(reprise_abandon.finaffichage3pv1 ,\'DD/MM/YYYY\') as "'.__("finaffichage3pv1").'"', 'to_char(reprise_abandon.dateconvocationvisite2 ,\'DD/MM/YYYY\') as "'.__("dateconvocationvisite2").'"', 'to_char(reprise_abandon.dateconstatpv2 ,\'DD/MM/YYYY\') as "'.__("dateconstatpv2").'"', 'reprise_abandon.heureconstatpv2 as "'.__("heureconstatpv2").'"', 'to_char(reprise_abandon.datenotificationpv2 ,\'DD/MM/YYYY\') as "'.__("datenotificationpv2").'"', 'to_char(reprise_abandon.debutaffichagepv2 ,\'DD/MM/YYYY\') as "'.__("debutaffichagepv2").'"', 'to_char(reprise_abandon.finaffichagepv2 ,\'DD/MM/YYYY\') as "'.__("finaffichagepv2").'"', 'reprise_abandon.arrete as "'.__("arrete").'"', 'to_char(reprise_abandon.datearrete ,\'DD/MM/YYYY\') as "'.__("datearrete").'"', 'to_char(reprise_abandon.datearretedebut ,\'DD/MM/YYYY\') as "'.__("datearretedebut").'"', 'to_char(reprise_abandon.datearretefin ,\'DD/MM/YYYY\') as "'.__("datearretefin").'"', 'reprise_abandon.numrefarrete as "'.__("numrefarrete").'"', 'to_char(reprise_abandon.datedeliberation ,\'DD/MM/YYYY\') as "'.__("datedeliberation").'"', 'reprise_abandon.numrefdeliberation as "'.__("numrefdeliberation").'"', 'reprise_abandon.deliberation as "'.__("deliberation").'"', ); // $champNonAffiche = array( 'reprise_abandon.descriptionpv1 as "'.__("descriptionpv1").'"', 'reprise_abandon.personnepresentepv1 as "'.__("personnepresentepv1").'"', 'reprise_abandon.descriptionpv2 as "'.__("descriptionpv2").'"', 'reprise_abandon.personnepresentepv2 as "'.__("personnepresentepv2").'"', ); // $champRecherche = array( 'reprise_abandon.reprise_abandon as "'.__("reprise_abandon").'"', 'emplacement.nature as "'.__("emplacement").'"', 'reprise_abandon.statut as "'.__("statut").'"', 'reprise_abandon.etat as "'.__("etat").'"', 'reprise_abandon.arrete as "'.__("arrete").'"', 'reprise_abandon.numrefarrete as "'.__("numrefarrete").'"', 'reprise_abandon.numrefdeliberation as "'.__("numrefdeliberation").'"', 'reprise_abandon.deliberation as "'.__("deliberation").'"', ); $tri="ORDER BY emplacement.nature ASC NULLS LAST"; $edition="reprise_abandon"; /** * Gestion de la clause WHERE => $selection */ // Filtre listing standard $selection = ""; // Liste des clés étrangères avec leurs éventuelles surcharges $foreign_keys_extended = array( "emplacement" => array("emplacement", "colombarium", "concession", "depositoire", "enfeu", "ossuaire", "terraincommunal", ), ); // Filtre listing sous formulaire - emplacement if (in_array($retourformulaire, $foreign_keys_extended["emplacement"])) { $selection = " WHERE (reprise_abandon.emplacement = ".intval($idxformulaire).") "; } /** * Gestion SOUSFORMULAIRE => $sousformulaire */ $sousformulaire = array( 'courrier', );