/**
  * Redefinition du store
  * 
  * @return void|string
  **/
 function store()
 {
     $this->loadRefsReglements();
     $this->loadRefsRelances();
     // Standard store
     if ($msg = parent::store()) {
         return $msg;
     }
 }
 /**
  * @see parent::store()
  */
 function store()
 {
     $this->loadRefsConsultation();
     // A vérifier pour le == 0 s'il faut faire un traitement
     if ($this->facture !== '0' && $this->_id) {
         foreach ($this->_ref_consults as $_consultation) {
             if ($this->facture == -1 && $_consultation->facture == 1) {
                 $_consultation->facture = 0;
                 $_consultation->store();
             } elseif ($this->facture == 1 && $_consultation->facture == 0) {
                 $_consultation->facture = 0;
                 $_consultation->store();
             }
         }
     }
     $this->loadRefsRelances();
     $this->loadRefsReglements();
     return parent::store();
 }