Fix Title supplier proposal contact card

This commit is contained in:
Alexandre SPANGARO 2021-05-10 06:32:28 +02:00
parent c0062e2d41
commit 100b0f297e
2 changed files with 5 additions and 3 deletions

View File

@ -40,7 +40,7 @@ function supplier_proposal_prepare_head($object)
$head = array();
$head[$h][0] = DOL_URL_ROOT.'/supplier_proposal/card.php?id='.$object->id;
$head[$h][1] = $langs->trans('SupplierProposal');
$head[$h][1] = $langs->trans('CommRequests');
$head[$h][2] = 'comm';
$h++;

View File

@ -32,7 +32,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php';
require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
// Load translation files required by the page
$langs->loadLangs(array("propal", "facture", "orders", "sendings", "companies"));
$langs->loadLangs(array("propal", "supplier_proposal", "facture", "orders", "sendings", "companies"));
$id = GETPOST('id', 'int');
$ref = GETPOST('ref', 'alpha');
@ -98,7 +98,9 @@ if ($action == 'addcontact' && $permissiontoedit) {
/*
* View
*/
$title = $langs->trans('CommRequests')." - ".$langs->trans('ContactsAddresses');
$help_url = 'EN:Ask_Price_Supplier|FR:Demande_de_prix_fournisseur';
llxHeader('', $title, $help_url);
$help_url = '';
llxHeader('', $langs->trans("SupplierProposals"), $help_url);