PLANANC : fix bug when creating first plan
This commit is contained in:
parent
bd698e18dd
commit
87f6fe7cf2
2 changed files with 27 additions and 6 deletions
|
|
@ -139,6 +139,23 @@ class Anc_Plan
|
|||
$ret.="</table>";
|
||||
$ret.=$wId->input();
|
||||
return $ret;
|
||||
}
|
||||
/**
|
||||
* @brief add a new plan
|
||||
*/
|
||||
function form_new()
|
||||
{
|
||||
$wName=new IText("pa_name");
|
||||
$wDescription=new IText("pa_description");
|
||||
$wDescription->size=80;
|
||||
|
||||
$ret="<TABLE>";
|
||||
$ret.='<tr>'.td(_('Nom')).'<td>'.$wName->input().'</td>'.'</tr>';
|
||||
$ret.="<tr>".td(_('Description')).'<td>'.$wDescription->input().'</td>'."</tr>";
|
||||
$ret.="</table>";
|
||||
return $ret;
|
||||
|
||||
|
||||
}
|
||||
function isAppend()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue