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; exit;
} }
/* // View mode
* Affichage fiche
*/
if ($action <> 'edit' && $action <> 're-edit') { if ($action <> 'edit' && $action <> 're-edit') {
$head = stock_prepare_head($object); $head = stock_prepare_head($object);
@ -593,13 +591,12 @@ if ($action == 'create') {
print "</div>"; print "</div>";
/* ************************************************************************** */ // Show list of products into warehouse
/* */
/* Affichage de la liste des produits de l'entrepot */
/* */
/* ************************************************************************** */
print '<br>'; print '<br>';
// TODO Create $arrayfields with all fields to show
print '<table class="noborder centpercent">'; print '<table class="noborder centpercent">';
print "<tr class=\"liste_titre\">"; print "<tr class=\"liste_titre\">";
$parameters = array(); $parameters = array();
@ -688,8 +685,6 @@ if ($action == 'create') {
$i = 0; $i = 0;
$sameunits = true; $sameunits = true;
// TODO Create $arrayfields with all fields to show
while ($i < $num) { while ($i < $num) {
$objp = $db->fetch_object($resql); $objp = $db->fetch_object($resql);
@ -847,9 +842,7 @@ if ($action == 'create') {
} }
/* // Edit mode
* Edition fiche
*/
if ($action == 'edit' || $action == 're-edit') { if ($action == 'edit' || $action == 're-edit') {
$langs->trans("WarehouseEdit"); $langs->trans("WarehouseEdit");