Esempio n. 1
0
 public static function buildChapitreEmballageDuColis()
 {
     $bloc = '';
     $id_fta = self::$id_fta;
     $synthese_action = self::$synthese_action;
     $isEditable = self::$is_editable;
     $idChapitre = self::$id_fta_chapitre;
     AnnexeEmballageGroupeTypeModel::initEmballage($id_fta);
     //Identifiant FTA
     $ftaModel = new FtaModel($id_fta);
     $ftaModel->setDataFtaTableToCompare();
     $ftaView = new FtaView($ftaModel);
     $ftaView->setIsEditable($isEditable);
     $ftaView->setFtaChapitreModelById(self::ID_CHAPITRE_IDENTITE);
     //Emballages du Colis
     $bloc .= $ftaView->getHtmlEmballageDuColis($id_fta, $idChapitre, $synthese_action, self::$id_fta_etat, self::$abrevation_etat, self::$id_fta_role);
     //Vérification que l'enballage sélectionner soit existant sur Arcadia
     $bloc .= $ftaView->checkEmballageColisValide();
     //Palette
     $bloc .= $ftaView->getHtmlEmballagePalette($id_fta, $idChapitre, $synthese_action, self::$id_fta_etat, self::$abrevation_etat, self::$id_fta_role);
     if ($ftaView->isDataValidationSuccessful() == "0") {
         self::setDataValidationSuccessfulToTrue();
     }
     return $bloc;
 }
 * Durrée de vie 
 */
$bloc .= "<td align=center>Durrée de vie</td>";
//Durée de vie Production (en jours)
$bloc .= $ftaView->getHtmlDataField(FtaModel::FIELDNAME_DUREE_DE_VIE_TECHNIQUE_PRODUCTION);
//Code Douane
$bloc .= $ftaView->getHtmlDataField(FtaModel::FIELDNAME_CODE_DOUANE_FTA);
/**
 * PCB
 */
//Nombre d’UVC par colis
$bloc .= "<td align=center>PCB</td>" . $ftaView->getHtmlDataField(FtaModel::FIELDNAME_NOMBRE_UVC_PAR_CARTON);
/**
 * Emballages du Colis
 */
AnnexeEmballageGroupeTypeModel::initEmballage($id_fta);
$bloc .= "<td align=center>Emballages du Colis</td>" . $ftaView->getHtmlEmballageDuColis($id_fta, $id_fta_chapitre_encours, $synthese_action, $idFtaEtat, $abreviationFtaEtat, $idFtaRole);
//Vérification que l'enballage sélectionner soit existant sur Arcadia
$bloc .= $ftaView->checkEmballageColisValide();
//Palette
//Nombre total de Carton par palette:
$bloc .= $ftaView->getHtmlColisTotalUVC();
//Poids total de l'emballage de l'UVC
$bloc .= $ftaView->getHtmlPoidsEmballageUVC();
/**
 * Codification
 */
//Désignation Abrégée
$bloc .= "<td >Codification</td>" . $ftaView->getHtmlNomAbrege();
//Désignation Interne Agis
//        $bloc.=$ftaView->getHtmlDataField(FtaModel::FIELDNAME_LIBELLE);