From f24a2608d2da74d878742e131171eb9497dd0252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Fri, 3 Mar 2023 14:04:16 +0100 Subject: [PATCH] add pictos --- htdocs/comm/propal/card.php | 1 + htdocs/commande/card.php | 1 + htdocs/compta/facture/card.php | 12 ++++++++---- htdocs/contrat/card.php | 2 ++ htdocs/fourn/commande/card.php | 1 + htdocs/fourn/facture/card.php | 13 +++++++++---- 6 files changed, 22 insertions(+), 8 deletions(-) diff --git a/htdocs/comm/propal/card.php b/htdocs/comm/propal/card.php index 93cc8e52c77..f504cf84cd9 100644 --- a/htdocs/comm/propal/card.php +++ b/htdocs/comm/propal/card.php @@ -1943,6 +1943,7 @@ if ($action == 'create') { print ''; print ''; print ''; + print img_picto('', 'incoterm', 'class="pictofixedwidth"'); print $form->select_incoterms((!empty($soc->fk_incoterms) ? $soc->fk_incoterms : ''), (!empty($soc->location_incoterms) ? $soc->location_incoterms : '')); print ''; } diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index 2decb49f58c..97b3e017505 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -1913,6 +1913,7 @@ if ($action == 'create' && $usercancreate) { $incoterm_id = (!empty($objectsrc->fk_incoterms) ? $objectsrc->fk_incoterms : $soc->fk_incoterms); $incoterm_location = (!empty($objectsrc->location_incoterms) ? $objectsrc->location_incoterms : $soc->location_incoterms); } + print img_picto('', 'incoterm', 'class="pictofixedwidth"'); print $form->select_incoterms($incoterm_id, $incoterm_location); print ''; } diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php index d2117f426ca..1b9b3671db7 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -14,7 +14,7 @@ * Copyright (C) 2013 Cédric Salvador * Copyright (C) 2014-2019 Ferran Marcet * Copyright (C) 2015-2016 Marcos García - * Copyright (C) 2018-2021 Frédéric France + * Copyright (C) 2018-2023 Frédéric France * Copyright (C) 2022 Gauthier VERDOL * * This program is free software; you can redistribute it and/or modify @@ -3200,7 +3200,7 @@ if ($action == 'create') { } else { print ''.$langs->trans('Customer').''; print ''; - print img_picto('', 'company').$form->select_company($soc->id, 'socid', '((s.client = 1 OR s.client = 3) AND s.status = 1)', 'SelectThirdParty', 1, 0, null, 0, 'minwidth300 widthcentpercentminusxx maxwidth500'); + print img_picto('', 'company', 'class="pictofixedwidth"').$form->select_company($soc->id, 'socid', '((s.client = 1 OR s.client = 3) AND s.status = 1)', 'SelectThirdParty', 1, 0, null, 0, 'minwidth300 widthcentpercentminusxx maxwidth500'); // Option to reload page to retrieve customer informations. if (empty($conf->global->RELOAD_PAGE_ON_CUSTOMER_CHANGE_DISABLED)) { print '