| ID |
{$frd_id}{$this->get_table()->getp("frd_id")} |
| {$name_label} {$error_name} |
{$name->input()}
|
| {$account_label} {$error_account} |
{$account->input()}
|
EOF;
echo HtmlInput::get_to_hidden(["gDossier","op","p_id"]);
/**
* Add / Remove attribut Minimum
*/
if ($this->table->frd_id!=-1)
{
echo h2(_("Attribut minimum pour les catégories de fiches"));
$cn=Dossier::connect();
$dossier_id=Dossier::id();
$objname=$this->get_object_name();
$a_attribut=$cn->get_array("select ad_id,ad_text,ad_type,a1.ad_default_order from attr_min a1 join attr_def using (ad_id) where frd_id=$1 order by a1.ad_default_order",
[$this->table->frd_id]);
$nb_attribut=count($a_attribut);
printf('