mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
ajout lien sur le label de l'adresse de livraison
This commit is contained in:
@@ -1585,9 +1585,9 @@ class Form
|
||||
* \param selected Id condition pr<70>s<EFBFBD>lectionn<6E>e
|
||||
* \param htmlname Nom du formulaire select
|
||||
* \param origin origine de l'appel pour pouvoir cr<63>er un retour
|
||||
* \param id id de l'origine
|
||||
* \param originid id de l'origine
|
||||
*/
|
||||
function form_adresse_livraison($page, $selected='', $socid, $htmlname='adresse_livraison_id', $origin='', $id)
|
||||
function form_adresse_livraison($page, $selected='', $socid, $htmlname='adresse_livraison_id', $origin='', $originid='')
|
||||
{
|
||||
global $langs,$conf;
|
||||
if ($htmlname != "none")
|
||||
@@ -1603,7 +1603,7 @@ class Form
|
||||
if ($numaddress==0)
|
||||
{
|
||||
$langs->load("companies");
|
||||
print ' <a href=/comm/adresse_livraison.php?socid='.$socid.'&action=create&origin='.$origin.'&originid='.$id.'>'.$langs->trans("AddAddress").'</a>';
|
||||
print ' <a href=/comm/adresse_livraison.php?socid='.$socid.'&action=create&origin='.$origin.'&originid='.$originid.'>'.$langs->trans("AddAddress").'</a>';
|
||||
}
|
||||
print '</td></tr></table></form>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user