diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index d9d1500c3fb..913e1a9a0a9 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -1002,6 +1002,7 @@ if ($_GET['propalid'] > 0) if ($objp->fk_product > 0) { print ''; + print ''; // ancre pour retourner sur la ligne print ''; if ($objp->fk_product_type) print img_object($langs->trans('ShowService'),'service'); else print img_object($langs->trans('ShowProduct'),'product'); @@ -1077,7 +1078,7 @@ if ($_GET['propalid'] > 0) // Icone d'edition et suppression if ($propal->statut == 0 && $user->rights->propale->creer) { - print 'rowid.'">'; + print 'rowid.'#'.$objp->rowid.'">'; print img_edit(); print ''; if ($conf->global->PRODUIT_CONFIRM_DELETE_LINE) @@ -1116,7 +1117,7 @@ if ($_GET['propalid'] > 0) // Ligne en mode update if ($propal->statut == 0 && $_GET["action"] == 'editline' && $user->rights->propale->creer && $_GET["ligne"] == $objp->rowid) { - print '
'; + print 'rowid.'" method="post">'; print ''; print ''; print ''; @@ -1124,6 +1125,7 @@ if ($_GET['propalid'] > 0) print ''; if ($objp->fk_product > 0) { + print ''; // ancre pour retourner sur la ligne print ''; if ($objp->fk_product_type) print img_object($langs->trans('ShowService'),'service'); else print img_object($langs->trans('ShowProduct'),'product'); @@ -1304,7 +1306,9 @@ if ($_GET['propalid'] > 0) if ($propal->statut == 0 && $user->rights->propale->creer && $_GET["action"] <> 'editline') { print ''; - print ''.$langs->trans('Description').''; + print ''; + print ''; // ancre + print $langs->trans('Description').''; print ''.$langs->trans('VAT').''; print ''.$langs->trans('PriceUHT').''; print ''.$langs->trans('Qty').''; @@ -1316,7 +1320,7 @@ if ($_GET['propalid'] > 0) print "\n"; // Ajout produit produits/services personalisés - print ''; + print ''; print ''; print ''; @@ -1345,7 +1349,7 @@ if ($_GET['propalid'] > 0) // Ajout de produits/services prédéfinis if ($conf->produit->enabled) { - print ''; + print ''; print ''; print ''; diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 3ee082e3d2b..c4c8caf093f 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -1225,7 +1225,9 @@ else print ''; if ($objp->fk_product > 0) { - print ''; + print ''; + print ''; // ancre pour retourner sur la ligne + print ''; if ($objp->fk_product_type) print img_object($langs->trans('ShowService'),'service'); else print img_object($langs->trans('ShowProduct'),'product'); print ' '.$objp->ref.' - '.nl2br($objp->product); @@ -1275,7 +1277,7 @@ else // Icone d'edition et suppression if ($commande->statut == 0 && $user->rights->commande->creer) { - print 'rowid.'">'; + print 'rowid.'#'.$objp->rowid.'">'; print img_edit(); print ''; if ($conf->global->PRODUIT_CONFIRM_DELETE_LINE) @@ -1313,7 +1315,7 @@ else // Ligne en mode update if ($_GET['action'] == 'editline' && $user->rights->commande->creer && $_GET['rowid'] == $objp->rowid) { - print ''; + print 'rowid.'" method="post">'; print ''; print ''; print ''; @@ -1321,6 +1323,7 @@ else print ''; if ($objp->fk_product > 0) { + print ''; // ancre pour retourner sur la ligne print ''; if ($objp->fk_product_type) print img_object($langs->trans('ShowService'),'service'); else print img_object($langs->trans('ShowProduct'),'product'); @@ -1488,7 +1491,9 @@ else if ($commande->statut == 0 && $user->rights->commande->creer && $_GET["action"] <> 'editline') { print ''; - print ''.$langs->trans('Description').''; + print ''; + print ''; // ancre + print $langs->trans('Description').''; print ''.$langs->trans('VAT').''; print ''.$langs->trans('PriceUHT').''; print ''.$langs->trans('Qty').''; @@ -1500,7 +1505,7 @@ else print ''; // Ajout produit produits/services personalisés - print ''; + print ''; print ''; print ''; @@ -1522,7 +1527,7 @@ else print '
'; // Ajout de produits/services prédéfinis - print '
'; + print ''; print ''; print ''; diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 91da6410ee4..924a2f1ae91 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1752,7 +1752,9 @@ else print ''; if ($objp->fk_product > 0) { - print ''; + print ''; + print ''; // ancre pour retourner sur la ligne + print ''; if ($objp->fk_product_type) print img_object($langs->trans('ShowService'),'service'); else print img_object($langs->trans('ShowProduct'),'product'); print ' '.$objp->ref.''; @@ -1806,7 +1808,7 @@ else // Icone d'edition et suppression if ($fac->statut == 0 && $user->rights->facture->creer) { - print 'rowid.'">'; + print 'rowid.'#'.$objp->rowid.'">'; print img_edit(); print ''; if ($conf->global->PRODUIT_CONFIRM_DELETE_LINE) @@ -1844,7 +1846,7 @@ else // Ligne en mode update if ($_GET['action'] == 'editline' && $user->rights->facture->creer && $_GET['rowid'] == $objp->rowid) { - print ''; + print 'rowid.'" method="post">'; print ''; print ''; print ''; @@ -1852,6 +1854,7 @@ else print ''; if ($objp->fk_product > 0) { + print ''; // ancre pour retourner sur la ligne print ''; if ($objp->fk_product_type) print img_object($langs->trans('ShowService'),'service'); else print img_object($langs->trans('ShowProduct'),'product'); @@ -2029,7 +2032,9 @@ else if ($fac->statut == 0 && $user->rights->facture->creer && $_GET['action'] <> 'valid') { print ''; - print ''.$langs->trans('Description').''; + print ''; + print ''; // ancre + print $langs->trans('Description').''; print ''.$langs->trans('VAT').''; print ''.$langs->trans('PriceUHT').''; print ''.$langs->trans('Qty').''; @@ -2041,7 +2046,7 @@ else print "\n"; // Ajout produit produits/services personalisés - print ''; + print ''; print ''; print ''; @@ -2075,7 +2080,7 @@ else // Ajout de produits/services prédéfinis if ($conf->produit->enabled) { - print ''; + print ''; print ''; print ''; @@ -2215,7 +2220,6 @@ else print ''; } - print '
'; /*