This commit is contained in:
Laurent Destailleur 2023-04-18 21:28:49 +02:00
parent b85652e964
commit fc3e07ce57

View File

@ -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 "</div>";
/* ************************************************************************** */
/* */
/* Affichage de la liste des produits de l'entrepot */
/* */
/* ************************************************************************** */
// Show list of products into warehouse
print '<br>';
// TODO Create $arrayfields with all fields to show
print '<table class="noborder centpercent">';
print "<tr class=\"liste_titre\">";
$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");