/[openfoncier]/trunk/sql/pgsql/dossier_non_transmis.inc.php
ViewVC logotype

Annotation of /trunk/sql/pgsql/dossier_non_transmis.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10572 - (hide annotations)
Thu Oct 14 12:10:48 2021 UTC (3 years, 3 months ago) by softime
Original Path: branches/5.0.0-develop/sql/pgsql/dossier_non_transmis.inc.php
File size: 2222 byte(s)
* Fusion de la branche de développement 5.0.0-develop_controle_donnees vers la branche d'intégration 5.0.0-develop

1 cgarcin 10537 <?php
2     /**
3     * LISTING - Les dossiers non transmis à Plat'AU
4     *
5     * Le listing 'Les dossiers non transmis à Plat'AU' permet d'afficher les même dossiers que
6     * le widget 'Les dossiers non transmis à Plat'AU' sans la limite de 5 enregistrements. Aucune
7     * entrée de menu ne permet d'accéder à ce listing, c'est un lien depuis le
8     * widget qui nous permet d'arriver sur ce listing.
9     *
10     * @package openads
11     * @version SVN : $Id: dossiers_non_transmis.inc.php 5208 2015-09-23 21:32:51Z fmichon $
12     */
13    
14    
15     include "../sql/pgsql/dossier_instruction.inc.php";
16    
17     /**
18     * Récupération des paramètres GET
19     */
20     // Composition du tableau de paramètres nécessaire à la méthode qui permet
21     // de récuérer le configuration de la requête du widget.
22     $params = array(
23     "filtre" => (isset($_GET['filtre']) ? $_GET['filtre'] : "")
24     );
25    
26     /**
27     * Récupération de la configuration de la requête à partir du widget.
28     */
29     //
30     require_once "../obj/om_widget.class.php";
31     $om_widget = new om_widget(0);
32     //
33     $params['affichage'] = 'liste';
34     $conf = $om_widget->get_config_dossier_non_transmis_platau($params);
35    
36     $tab_description = $conf["message_help"];
37     // Aucune action de corner
38     $tab_actions['corner'] = array();
39     // Le lien de consultation porte vers l'objet dossier_instruction sans
40     // aucun paramètre car aucun retour sur le listing n'est possible
41     $tab_actions['left']['consulter'] = array(
42     'lien' => ''.OM_ROUTE_FORM.'&obj=dossier_instruction&amp;action=3&amp;idx=',
43     'id' => '',
44     'lib' => '<span class="om-icon om-icon-16 om-icon-fix consult-16" title="'._('Consulter').'">'._('Consulter').'</span>',
45     'rights' => array('list' => array($obj, $obj.'_consulter'), 'operator' => 'OR'),
46     'ordre' => 10,
47     );
48     $tab_actions['content'] = $tab_actions['left']['consulter'];
49     // Aucun champ pour la recherche simple
50     $champRecherche = array();
51     // On cache la recherche simple
52     $options[] = array(
53     "type" => "search",
54     "display" => false,
55     );
56    
57     /**
58     * Composition de la requête
59     */
60     // SELECT
61     $champAffiche = $conf["query_ct_select_champaffiche"];
62     // FROM
63     $table = $conf["query_ct_from"];
64     // WHERE
65     $selection = sprintf("
66     WHERE
67     %s
68     ",
69     $conf["query_ct_where"]
70     );
71     // ORDER BY
72     $tri = $conf["query_ct_orderby"];
73    
74     ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26