/[openfoncier]/trunk/obj/consultation.class.php
ViewVC logotype

Diff of /trunk/obj/consultation.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 591 by nhaye, Mon Nov 5 10:05:15 2012 UTC revision 594 by nhaye, Mon Nov 5 14:08:18 2012 UTC
# Line 16  class consultation extends consultation_ Line 16  class consultation extends consultation_
16                  $form->setVal("date_envoi",date('d/m/Y'));                  $form->setVal("date_envoi",date('d/m/Y'));
17              }              }
18              if($maj == 1) {              if($maj == 1) {
19                   $form->setVal("date_retour",date('d/m/Y'));                  if($this->f->isAccredited('consultation_retour_avis_suivi') OR
20                        $this->f->isAccredited('consultation_retour_avis_service')) {
21                        $form->setVal("date_retour",date('d/m/Y'));
22                    }
23              }              }
24          }          }
25      }      }
# Line 70  class consultation extends consultation_ Line 73  class consultation extends consultation_
73                      $form->setType('dossier', 'hiddenstatic');                      $form->setType('dossier', 'hiddenstatic');
74                      $form->setType('date_envoi', 'hiddenstaticdate');                      $form->setType('date_envoi', 'hiddenstaticdate');
75                      $form->setType('date_limite', 'hiddenstaticdate');                      $form->setType('date_limite', 'hiddenstaticdate');
76                      $form->setType('date_reception', 'hiddenstaticdate');                      if($this->f->isAccredited('consultation_modifier_date_reception')) {
77                            $form->setType('date_reception', 'hiddenstaticdate');
78                        } else {
79                            $form->setType('date_reception', 'date2');
80                        }
81                      $form->setType('service', 'selecthiddenstatic');                      $form->setType('service', 'selecthiddenstatic');
82                      $form->setType('date_retour', 'date2');                      $form->setType('date_retour', 'date2');
83                      $form->setType('avis_consultation', 'select');                      $form->setType('avis_consultation', 'select');

Legend:
Removed from v.591  
changed lines
  Added in v.594

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26