';
print '
';
print ' ';
print '
';
@@ -1295,13 +1295,13 @@ else
$linkback = '
'.$langs->trans("BackToList").'';
// Ref du contrat
- if (!empty($modCodeContract->code_auto)) {
- print '
| '.$langs->trans("Ref").' | ';
+ if (! empty($modCodeContract->code_auto)) {
+ print ' |
| '.$langs->trans("Ref").' | ';
print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', '');
print " |
";
} else {
print '
';
- print '| ';
+ print ' | ';
print $form->editfieldkey("Ref",'ref',$object->ref,$object,$user->rights->contrat->creer);
print ' | ';
print $form->editfieldval("Ref",'ref',$object->ref,$object,$user->rights->contrat->creer);
@@ -1310,7 +1310,7 @@ else
}
print ' |
';
- print '| ';
+ print ' | ';
print $form->editfieldkey("RefCustomer",'ref_customer',$object->ref_customer,$object,$user->rights->contrat->creer);
print ' | ';
print $form->editfieldval("RefCustomer",'ref_customer',$object->ref_customer,$object,$user->rights->contrat->creer);
@@ -1318,7 +1318,7 @@ else
print ' |
';
print '
';
- print '| ';
+ print ' | ';
print $form->editfieldkey("RefSupplier",'ref_supplier',$object->ref_supplier,$object,$user->rights->contrat->creer);
print ' | ';
print $form->editfieldval("RefSupplier",'ref_supplier',$object->ref_supplier,$object,$user->rights->contrat->creer);
@@ -1348,7 +1348,7 @@ else
// Date
print ' |
';
- print '| ';
+ print ' | ';
print $form->editfieldkey("Date",'date_contrat',$object->date_contrat,$object,$user->rights->contrat->creer);
print ' | ';
print $form->editfieldval("Date",'date_contrat',$object->date_contrat,$object,$user->rights->contrat->creer,'datehourpicker');
@@ -1584,7 +1584,7 @@ else
}
- //Display lines extrafields
+ // Display lines extrafields
if (is_array($extralabelslines) && count($extralabelslines)>0) {
print ' |
';
$line = new ContratLigne($db);
diff --git a/htdocs/contrat/contact.php b/htdocs/contrat/contact.php
index cd070f6078d..304ae5b17be 100644
--- a/htdocs/contrat/contact.php
+++ b/htdocs/contrat/contact.php
@@ -109,7 +109,7 @@ if ($action == 'deletecontact' && $user->rights->contrat->creer)
* View
*/
-llxHeader('', $langs->trans("ContractCard"), "Contrat");
+llxHeader('',$langs->trans("Contract"),"");
$form = new Form($db);
$formcompany= new FormCompany($db);
@@ -142,7 +142,7 @@ if ($id > 0 || ! empty($ref))
$linkback = ''.$langs->trans("BackToList").'';
// Reference du contrat
- print '
| '.$langs->trans("Ref").' | ';
+ print ' |
| '.$langs->trans("Ref").' | ';
print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', '');
print " |
";
diff --git a/htdocs/contrat/document.php b/htdocs/contrat/document.php
index 95da343e3af..024cf561fb5 100644
--- a/htdocs/contrat/document.php
+++ b/htdocs/contrat/document.php
@@ -86,7 +86,7 @@ include_once DOL_DOCUMENT_ROOT . '/core/actions_linkedfiles.inc.php';
$form = new Form($db);
-llxHeader();
+llxHeader('',$langs->trans("Contract"),"");
if ($object->id)
@@ -110,7 +110,7 @@ if ($object->id)
$linkback = '
'.$langs->trans("BackToList").'';
// Reference
- print '
| '.$langs->trans('Ref').' | '.$form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', '').' |
';
+ print '
| '.$langs->trans('Ref').' | '.$form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', '').' |
';
// Societe
print '
| '.$langs->trans("Customer").' | ';
diff --git a/htdocs/contrat/info.php b/htdocs/contrat/info.php
index 2067247dbf6..f993a940e14 100644
--- a/htdocs/contrat/info.php
+++ b/htdocs/contrat/info.php
@@ -38,7 +38,7 @@ $result = restrictedArea($user, 'contrat',$contratid,'');
* View
*/
-llxHeader();
+llxHeader('',$langs->trans("Contract"),"");
$contrat = new Contrat($db);
$contrat->fetch($contratid);
diff --git a/htdocs/contrat/note.php b/htdocs/contrat/note.php
index 502b354ee69..806434176fd 100644
--- a/htdocs/contrat/note.php
+++ b/htdocs/contrat/note.php
@@ -58,7 +58,7 @@ include DOL_DOCUMENT_ROOT.'/core/actions_setnotes.inc.php'; // Must be include,
* View
*/
-llxHeader();
+llxHeader('',$langs->trans("Contract"),"");
$form = new Form($db);
@@ -78,7 +78,7 @@ if ($id > 0 || ! empty($ref))
$linkback = ''.$langs->trans("BackToList").'';
// Reference
- print '
| '.$langs->trans('Ref').' | '.$form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', '').' |
';
+ print '
| '.$langs->trans('Ref').' | '.$form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', '').' |
';
// Societe
print '
| '.$langs->trans("Customer").' | ';