0000145: Amélioration stock

This commit is contained in:
Dany De Bontridder 2010-11-17 22:23:37 +00:00
parent 6d7fbfcb36
commit 0b0408536c
4 changed files with 85 additions and 10 deletions

View file

@ -258,6 +258,15 @@ class HtmlInput
$p_id,dossier::id(),$p_mesg);
}
/**
* return a string containing the html code for calling the removeStock
*/
static function remove_stock($p_id,$p_mesg)
{
return sprintf('<A class="detail" style="text-decoration:underline" HREF="javascript:removeStock(%d,%d)">%s</A>',
$p_id,dossier::id(),$p_mesg);
}
/**
* display a div with the history of the card
*/