From 4c7d78ffaacf7f5d171224e0517c1bc9abdadee8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 27 Feb 2021 03:06:21 +0100 Subject: [PATCH] Look and feel v14 --- htdocs/fourn/card.php | 2 +- htdocs/societe/card.php | 2 +- htdocs/societe/notify/card.php | 4 ++-- htdocs/societe/paymentmodes.php | 4 ++-- htdocs/ticket/list.php | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/htdocs/fourn/card.php b/htdocs/fourn/card.php index 2d0b526a438..5d3c5b0358d 100644 --- a/htdocs/fourn/card.php +++ b/htdocs/fourn/card.php @@ -195,7 +195,7 @@ if ($object->id > 0) { print '
'; print '
'; - print ''; + print '
'; // Type Prospect/Customer/Supplier print ''; print ''; } diff --git a/htdocs/societe/notify/card.php b/htdocs/societe/notify/card.php index b911bfb034e..d650802d7e4 100644 --- a/htdocs/societe/notify/card.php +++ b/htdocs/societe/notify/card.php @@ -169,7 +169,7 @@ if ($result > 0) if ($object->client) { print '
'.$langs->trans('NatureOfThirdParty').''; diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index aa02d27fac9..97f3758b991 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -1534,7 +1534,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) if (!empty($conf->global->MAIN_MULTILANGS)) { print '
'.$form->editfieldkey('DefaultLang', 'default_lang', '', $object, 0).''."\n"; - print $formadmin->select_language(GETPOST('default_lang', 'alpha') ? GETPOST('default_lang', 'alpha') : ($object->default_lang ? $object->default_lang : ''), 'default_lang', 0, 0, 1, 0, 0, 'maxwidth200onsmartphone'); + print img_picto('', 'language').$formadmin->select_language(GETPOST('default_lang', 'alpha') ? GETPOST('default_lang', 'alpha') : ($object->default_lang ? $object->default_lang : ''), 'default_lang', 0, 0, 1, 0, 0, 'maxwidth200onsmartphone'); print '
'; print $langs->trans('CustomerCode').''; - print $object->code_client; + print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_client)); $tmpcheck = $object->check_codeclient(); if ($tmpcheck != 0 && $tmpcheck != -5) { print ' ('.$langs->trans("WrongCustomerCode").')'; @@ -180,7 +180,7 @@ if ($result > 0) if (!empty($conf->fournisseur->enabled) && $object->fournisseur && !empty($user->rights->fournisseur->lire)) { print '
'; print $langs->trans('SupplierCode').''; - print $object->code_fournisseur; + print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_fournisseur)); $tmpcheck = $object->check_codefournisseur(); if ($tmpcheck != 0 && $tmpcheck != -5) { print ' ('.$langs->trans("WrongSupplierCode").')'; diff --git a/htdocs/societe/paymentmodes.php b/htdocs/societe/paymentmodes.php index 8956a80d0d8..ce1a0562e9f 100644 --- a/htdocs/societe/paymentmodes.php +++ b/htdocs/societe/paymentmodes.php @@ -807,7 +807,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard' { print '
'; print $langs->trans('CustomerCode').''; - print $object->code_client; + print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_client)); $tmpcheck = $object->check_codeclient(); if ($tmpcheck != 0 && $tmpcheck != -5) { print ' ('.$langs->trans("WrongCustomerCode").')'; @@ -862,7 +862,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard' { print '
'; print $langs->trans('SupplierCode').''; - print $object->code_fournisseur; + print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_fournisseur)); $tmpcheck = $object->check_codefournisseur(); if ($tmpcheck != 0 && $tmpcheck != -5) { print ' ('.$langs->trans("WrongSupplierCode").')'; diff --git a/htdocs/ticket/list.php b/htdocs/ticket/list.php index f4482399495..7a1cf699c3e 100644 --- a/htdocs/ticket/list.php +++ b/htdocs/ticket/list.php @@ -492,7 +492,7 @@ if ($socid && !$projectid && !$project_ref && $user->rights->societe->lire) { if ($socstat->client && !empty($socstat->code_client)) { print '
'; print $langs->trans('CustomerCode').''; - print $socstat->code_client; + print showValueWithClipboardCPButton(dol_escape_htmltag($socstat->code_client)); $tmpcheck = $socstat->check_codeclient(); if ($tmpcheck != 0 && $tmpcheck != -5) { print ' ('.$langs->trans("WrongCustomerCode").')'; @@ -504,7 +504,7 @@ if ($socid && !$projectid && !$project_ref && $user->rights->societe->lire) { if ($socstat->fournisseur && !empty($socstat->code_fournisseur)) { print '
'; print $langs->trans('SupplierCode').''; - print $socstat->code_fournisseur; + print showValueWithClipboardCPButton(dol_escape_htmltag($socstat->code_fournisseur)); $tmpcheck = $socstat->check_codefournisseur(); if ($tmpcheck != 0 && $tmpcheck != -5) { print ' ('.$langs->trans("WrongSupplierCode").')';