From fc3e07ce5761838ff111a6d8865a9d3cf1c660bd Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 18 Apr 2023 21:28:49 +0200 Subject: [PATCH] Doc --- htdocs/product/stock/card.php | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/htdocs/product/stock/card.php b/htdocs/product/stock/card.php index 936f05c9868..5e00c391b16 100644 --- a/htdocs/product/stock/card.php +++ b/htdocs/product/stock/card.php @@ -403,9 +403,7 @@ if ($action == 'create') { exit; } - /* - * Affichage fiche - */ + // View mode if ($action <> 'edit' && $action <> 're-edit') { $head = stock_prepare_head($object); @@ -593,13 +591,12 @@ if ($action == 'create') { print ""; - /* ************************************************************************** */ - /* */ - /* Affichage de la liste des produits de l'entrepot */ - /* */ - /* ************************************************************************** */ + // Show list of products into warehouse print '
'; + + // TODO Create $arrayfields with all fields to show + print ''; print ""; $parameters = array(); @@ -688,8 +685,6 @@ if ($action == 'create') { $i = 0; $sameunits = true; - // TODO Create $arrayfields with all fields to show - while ($i < $num) { $objp = $db->fetch_object($resql); @@ -847,9 +842,7 @@ if ($action == 'create') { } - /* - * Edition fiche - */ + // Edit mode if ($action == 'edit' || $action == 're-edit') { $langs->trans("WarehouseEdit");