Пример #1
0
 /**
  * Chapitre non actif
  * @return string
  */
 public static function buildChapitreIdentiteVolaille()
 {
     $bloc = '';
     $id_fta = self::$id_fta;
     $synthese_action = self::$synthese_action;
     $isEditable = self::$is_editable;
     //Identifiant FTA
     $ftaModel = new FtaModel($id_fta);
     $ftaView = new FtaView($ftaModel);
     $ftaView->setIsEditable($isEditable);
     $ftaView->setFtaChapitreModelById(self::ID_CHAPITRE_IDENTITE);
     /**
      * Ftaview indépendant pour les epace de traville qui ne doitvent pas être éditables
      */
     $ftaView2 = new FtaView($ftaModel);
     $ftaView2->setIsEditable(FALSE);
     $ftaView2->setFtaChapitreModelById(self::ID_CHAPITRE_IDENTITE);
     $bloc .= '<tr class=titre_principal><td class>Classification</td></tr>';
     /**
      * Classification
      *
      */
     $bloc .= $ftaView->listeClassification($isEditable, self::$id_fta_chapitre, $synthese_action, self::$comeback, self::$id_fta_etat, self::$abrevation_etat, self::$id_fta_role);
     /*
      * Deviendra une liste deroulante dépendante des donné choisie dans la classification
      */
     //Codification
     $bloc .= $ftaView->getHtmlDataField(FtaModel::FIELDNAME_SUFFIXE_AGROLOGIC_FTA);
     $bloc .= '<tr class=titre_principal><td class>Caractéristiques générales du produit</td></tr>';
     //Désignation commerciale
     $bloc .= $ftaView->getHtmlDataField(FtaModel::FIELDNAME_DESIGNATION_COMMERCIALE);
     //Poids net de l’UVF
     $bloc .= $ftaView->getHtmlDataField(FtaModel::FIELDNAME_POIDS_ELEMENTAIRE);
     $bloc .= '<tr class=titre_principal><td class>Caractéristiques FTA</td></tr>';
     //Créateur
     $bloc .= $ftaView->getHtmlCreateurFta();
     //Workflow de FTA
     //        $bloc.=$ftaView->ListeWorkflowByAcces(self::$idUser, FALSE, $id_fta, self::$id_fta_role);
     $bloc .= $ftaView2->getHtmlDataField(FtaModel::FIELDNAME_WORKFLOW);
     //Date d'échéance de la FTA
     $bloc .= $ftaView->getHtmlDataField(FtaModel::FIELDNAME_DATE_ECHEANCE_FTA);
     //        //Date d'échéance des processus
     //        $bloc.=$ftaView->getHtmlDataField(FtaModel::FIELDNAME_VIRTUAL_FTA_PROCESSUS_DELAI);
     //Commentaire sur la Fta
     $bloc .= $ftaView->getHtmlDataField(FtaModel::FIELDNAME_COMMENTAIRE);
     return $bloc;
 }