16 |
$this->constructeur($id,$db,$DEBUG); |
$this->constructeur($id,$db,$DEBUG); |
17 |
} // fin constructeur |
} // fin constructeur |
18 |
|
|
19 |
|
function setValFAjout($val = array()) { |
20 |
|
} |
21 |
|
|
22 |
function setvalF($val){ |
function setvalF($val){ |
23 |
$this->valF['dossier'] = $val['dossier']; |
$this->valF['dossier'] = $val['dossier']; |
24 |
$this->valF['nature'] = substr($val['dossier'],0,2); |
$this->valF['nature'] = substr($val['dossier'],0,2); |
47 |
and $this->valF['nature']!= "DP" |
and $this->valF['nature']!= "DP" |
48 |
and $this->valF['nature'] != "PD"){ |
and $this->valF['nature'] != "PD"){ |
49 |
$this->correct=false; |
$this->correct=false; |
50 |
$this->msg= $this->msg.$imgv." "._("nature")." ".$this->valF['nature']." ". |
$this->msg= $this->msg." "._("Nature")." ".$this->valF['nature']." ". |
51 |
_("inexistante").$f; |
_("inexistante"); |
52 |
} |
} |
53 |
// verif annee |
// verif annee |
54 |
if($this->valF['annee']>= date('y')){ |
if($this->valF['annee']>= date('y')){ |
55 |
$this->correct=false; |
$this->correct=false; |
56 |
$this->msg= $this->msg.$imgv." "._("annee")." ".$this->valF['annee']." ". |
$this->msg= $this->msg." "._("Annee")." ".$this->valF['annee']." ". |
57 |
_("en cours").$f; |
_("en cours"); |
58 |
} |
} |
59 |
} |
} |
60 |
} |
} |