correct stock

This commit is contained in:
Dany De Bontridder 2013-08-26 20:31:02 +00:00
parent 02fc202eb7
commit f88999067e
5 changed files with 6 additions and 6 deletions

View file

@ -29,12 +29,12 @@
require_once 'class_stock_goods.php';
global $cn;
$inv=new Stock_Goods();
$inv=new Stock_Goods($cn);
if ( isset ($_POST['save']))
{
try
{
$inv->save($_POST);
$inv->record_save($_POST);
echo h2info("Opération sauvée");
$inv->input($_POST,true);