/[openfoncier]/branches/lien-openaria/obj/avis_decision.class.php
ViewVC logotype

Contents of /branches/lien-openaria/obj/avis_decision.class.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4161 - (show annotations)
Fri May 13 14:41:58 2016 UTC (8 years, 8 months ago) by fmichon
File size: 2406 byte(s)
* Création d'une branche pour développer le lien avec l'application openARIA.

1 <?php
2 //$Id: avis_decision.class.php 4418 2015-02-24 17:30:28Z tbenita $
3 //gen openMairie le 10/10/2012 16:34
4
5 require_once ("../gen/obj/avis_decision.class.php");
6
7 class avis_decision extends avis_decision_gen {
8
9 function avis_decision($id,&$db,$debug) {
10 $this->constructeur($id,$db,$debug);
11 }// fin constructeur
12
13 function setLib(&$form,$maj) {
14 parent::setLib($form,$maj);
15 $form->setLib('avis_decision', _("id"));
16 }
17
18 function setType(&$form,$maj) {
19 parent::setType($form,$maj);
20 if ($maj < 2) {
21 $form->setType('typeavis', 'select');
22 $form->setType('sitadel', 'select');
23 $form->setType('sitadel_motif', 'select');
24 }
25 if ($maj == 3) {
26 $form->setType('typeavis', 'selectstatic');
27 $form->setType('sitadel', 'selectstatic');
28 $form->setType('sitadel_motif', 'selectstatic');
29 }
30 }
31
32 function setSelect(&$form, $maj,&$db,$debug) {
33 parent::setSelect($form, $maj,$db,$debug);
34 // typeavis
35 $contenu=array();
36 $contenu[0]=array(
37 '',
38 'A',
39 'D',
40 'F',
41 );
42 $contenu[1]=array(
43 _('sans'),
44 _('annulation'),
45 _('defavorable'),
46 _('favorable'),
47 );
48 $form->setSelect("typeavis",$contenu);
49 // sitadel
50 $contenu=array();
51 $contenu[0]=array(
52 '',
53 '5',
54 '8',
55 '4',
56 '2',
57 '7',
58 '6',
59 '3',
60 '1',
61 );
62 $contenu[1]=array(
63 _('sans'),
64 _('accord avec prescription'),
65 _('annulation'),
66 _('octroi'),
67 _('octroi tacite'),
68 _('sursis a statuer'),
69 _('refus'),
70 _('refus tacite'),
71 _('rejet tacite'),
72 );
73 $form->setSelect("sitadel",$contenu);
74 // sitadel_ motif annulation
75 $contenu=array();
76 $contenu[0]=array(
77 '',
78 '2',
79 '1',
80 );
81 $contenu[1]=array(
82 _('sans'),
83 _('annulation par une juridiction administrative'),
84 _('retrait a la demande du petitionnaire'),
85 );
86 $form->setSelect("sitadel_motif",$contenu);
87 }
88
89 }// fin classe
90 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26