Пример #1
0
 public static function buildChapitrePalettisation()
 {
     $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);
     //        $bloc.='<tr class=titre_principal><td class>Palettisasion</td></tr>';
     $bloc .= '<tr class=titre_principal><td class>Informations Générales de l\'UVF</td></tr>';
     //Poids total de l'emballage de l'UVF
     $bloc .= $ftaView->getHtmlPoidsEmballageUVC();
     //Poids Net UVF (en g):
     $bloc .= $ftaView->getHtmlPoidsNetEmballageUVC();
     //Poids Brut UVF (en g):
     $bloc .= $ftaView->getHtmlPoidsBrutEmballageUVC();
     //Dimension de l'UVF (en mm):
     $bloc .= $ftaView->getHtmlDimensionEmballageUVC();
     $bloc .= '<tr class=titre_principal> <td>Informations Générales du Colis</td></tr>';
     //Nombre d'UVC du colis:
     $bloc .= $ftaView->getHtmlNombreColisUVC();
     //Poids des Emballages du Colis (en g):
     $bloc .= $ftaView->getHtmlPoidsColisUVC();
     //Poids Net (en Kg) du Colis:
     $bloc .= $ftaView->getHtmlPoidsNetColisUVC();
     //Poids Brut (en Kg) du Colis:
     $bloc .= $ftaView->getHtmlPoidsBrutColisUVC();
     //Hauteur (en mm) du Colis
     $bloc .= $ftaView->getHtmlHauteurColisUVC();
     $bloc .= '<tr class=titre_principal> <td>Informations Générales d\'une Palette</td></tr>';
     //Poids Net (en Kg) d'une Palette:
     $bloc .= $ftaView->getHtmlPoidsNetPaletteUVC();
     //Poids Brut (en Kg) d'une Palette:
     $bloc .= $ftaView->getHtmlPoidsBrutPaletteUVC();
     //Hauteur (en m) d'une Palette:
     $bloc .= $ftaView->getHtmlHauteurPaletteUVC();
     //Nombre de couche par palette:
     $bloc .= $ftaView->getHtmlNombrePaletteUVC();
     //Nombre de colis par couche:
     $bloc .= $ftaView->getHtmlColisCouchePaletteUVC();
     //Nombre total de Carton par palette:
     $bloc .= $ftaView->getHtmlColisTotalUVC();
     return $bloc;
 }
 * 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);
$bloc .= $ftaView->getHtmlDesignationInterneAgis();
//Code Article LDC, code Article arcadia
$bloc .= $ftaView->getHtmlDataField(FtaModel::FIELDNAME_CODE_ARTICLE_LDC);
//Famille Eco Emballage Arcadia
$bloc .= $ftaView->getHtmlDataField(FtaModel::FIELDNAME_ID_ARCADIA_FAMILLE_ECO_EMBALLAGES);
//Cellule Article Arcadia
$bloc .= $ftaView->getHtmlDataField(FtaModel::FIELDNAME_ID_ARCADIA_CELLULE_ARTICLE);
$fta2ArcadiaController = new Fta2ArcadiaController($ftaModel, Fta2ArcadiaTransactionModel::SUMMARY_PAGE, TRUE);