/** * Chapitre non actif * @return string */ public static function buildChapitreConditionnementPieceEntiere() { $bloc = ''; $id_fta = self::$id_fta; $synthese_action = self::$synthese_action; $is_editable = self::$is_editable; $is_editable_false = false; $bloc .= '<tr class=titre_principal><td class>Demandeur</td></tr>'; //Poste $htmlObject = new OldHtmlList($data_field = self::$objectFta->getFieldDescription(ObjectFta::TABLE_FTA_NAME, 'id_arcadia_poste'), $content_label_field = new DatabaseDescriptionField($field_table = 'arcadia_poste', $field_name = 'nom_arcadia_poste', $field_value = $data_field->getValue()), $default_value = 1, $is_editable, $warning_update = ${'diff_' . $table_name}[$field_name]); $bloc .= $htmlObject->getHtmlResultSubForm(); //Atelier $htmlObject = new OldHtmlList($data_field = self::$objectFta->getFieldDescription(ObjectFta::TABLE_FTA_NAME, 'id_arcadia_atelier'), $content_label_field = new DatabaseDescriptionField($field_table = 'arcadia_atelier', $field_name = 'nom_arcadia_atelier', $field_value = $data_field->getValue()), $default_value = 1, $is_editable, $warning_update = ${'diff_' . $table_name}[$field_name]); $bloc .= $htmlObject->getHtmlResultSubForm(); //Machine $htmlObject = new htmlInputText($field_name = 'nom_machine_fta', $table_name = ObjectFta::TABLE_FTA_NAME, $value = self::$objectFta->getFieldValue($table_name, $field_name), $is_editable, $warning_update = ${'diff_' . $table_name}[$field_name]); $bloc .= $htmlObject->getHtmlResult(); //Tare $htmlObject = new htmlInputKg($field_name = 'tare_fta', $table_name = ObjectFta::TABLE_FTA_NAME, $value = self::$objectFta->getFieldValue($table_name, $field_name), $is_editable, $warning_update = ${'diff_' . $table_name}[$field_name], $size = 20, $maxlength = 150); $bloc .= $htmlObject->getHtmlResult(); //Besoin de la fiche productivité ? $htmlObject = new HtmlListBoolean($data_field = self::$objectFta->getFieldDescription(ObjectFta::TABLE_FTA_NAME, 'besoin_fiche_productivite_fta'), $default_value = HtmlListBoolean::NO_VALUE, $is_editable, $warning_update = ${'diff_' . $table_name}[$field_name]); $bloc .= $htmlObject->getHtmlResult(); //perte_matiere_fta $htmlObject = new HtmlListBoolean($data_field = self::$objectFta->getFieldDescription(ObjectFta::TABLE_FTA_NAME, 'perte_matiere_fta'), $default_value = HtmlListBoolean::NO_VALUE, $is_editable, $warning_update = ${'diff_' . $table_name}[$field_name]); $bloc .= $htmlObject->getHtmlResult(); //Longueur $htmlObject = new htmlInputText($field_name = 'longueur_dimension_fta', $table_name = ObjectFta::TABLE_FTA_NAME, $value = self::$objectFta->getFieldValue($table_name, $field_name), $is_editable, $warning_update = ${'diff_' . $table_name}[$field_name]); $bloc .= $htmlObject->getHtmlResult(); //Largeur $htmlObject = new htmlInputText($field_name = 'largeur_dimension_fta', $table_name = ObjectFta::TABLE_FTA_NAME, $value = self::$objectFta->getFieldValue($table_name, $field_name), $is_editable, $warning_update = ${'diff_' . $table_name}[$field_name]); $bloc .= $htmlObject->getHtmlResult(); //Hauteur $htmlObject = new htmlInputText($field_name = 'hauteur_dimension_fta', $table_name = ObjectFta::TABLE_FTA_NAME, $value = self::$objectFta->getFieldValue($table_name, $field_name), $is_editable, $warning_update = ${'diff_' . $table_name}[$field_name]); $bloc .= $htmlObject->getHtmlResult(); //$bloc .= '</table>'; return $bloc; }