public static function buildChapitreExigenceClientMDD() { $bloc = ''; $id_fta = self::$id_fta; $synthese_action = self::$synthese_action; $isEditable = self::$is_editable; //Identifiant FTA $ftaModel = new FtaModel($id_fta); $ftaModel->setDataFtaTableToCompare(); $ftaView = new FtaView($ftaModel); $ftaView->setIsEditable($isEditable); $ftaView->setFtaChapitreModelById(self::ID_CHAPITRE_IDENTITE); //Durée de vie garantie client (en jours) // $bloc.=$ftaView->getHtmlDataField(FtaModel::FIELDNAME_IS_DUREE_DE_DE_CALCULATE); $bloc .= $ftaView->getHtmlIsDureeDeVieCalculateWithDureeDeVieClient(); //Durée de vie garantie client (en jours) // $bloc.=$ftaView->getHtmlDataField(FtaModel::FIELDNAME_DUREE_DE_VIE); if ($ftaView->isDataValidationSuccessful() == "0") { self::setDataValidationSuccessfulToTrue(); } return $bloc; }
//Gencod EAN Palette $bloc .= $ftaView->getHtmlEANPalette(); /** * Methode de préarationet type d'acquisition */ $methodeDePreparationArcadiaValue = $ftaModel->getModelAnnexeUniteFacturation()->getDataField(AnnexeUniteFacturationModel::FIELDNAME_ID_ARCADIA_METHODE_DE_PREPARATION)->getFieldValue(); $typePreparationAcquisitionArcadiaValue = $ftaModel->getModelAnnexeUniteFacturation()->getDataField(AnnexeUniteFacturationModel::FIELDNAME_ID_ARCADIA_TYPE_PREPA_ACQUISITION)->getFieldValue(); $bloc .= "<tr class=contenu><td align=left>Methode de Preparation</td><td>" . $methodeDePreparationArcadiaValue . "</td></tr>"; $bloc .= "<tr class=contenu><td align=left>Type prepa Acquisition</td><td>" . $typePreparationAcquisitionArcadiaValue . "</td></tr>"; /** * Exigence client */ $bloc .= "<td align=center>Exigence client</td>"; if ($idFtaWorkflow == FtaWorkflowModel::ID_WORKFLOW_MDD_AVEC or $idFtaWorkflow == FtaWorkflowModel::ID_WORKFLOW_MDD_SANS) { //Durée de vie garantie client (en jours) $bloc .= $ftaView->getHtmlIsDureeDeVieCalculateWithDureeDeVieClient(); } else { //Durée de vie garantie client (en jours) $bloc .= $ftaView->getHtmlDataField(FtaModel::FIELDNAME_DUREE_DE_VIE); } /** * 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 */