diff --git a/htdocs/core/tpl/objectline_title.tpl.php b/htdocs/core/tpl/objectline_title.tpl.php
index 6d8238cd885..7fe63613ea1 100644
--- a/htdocs/core/tpl/objectline_title.tpl.php
+++ b/htdocs/core/tpl/objectline_title.tpl.php
@@ -49,19 +49,19 @@ print '
';
// Adds a line numbering column
if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) {
- print '| | ';
+ print ' | ';
}
// Description
-print ''.$langs->trans('Description').' | ';
+print ''.$langs->trans('Description').' | ';
// Supplier ref
if ($this->element == 'supplier_proposal' || $this->element == 'order_supplier' || $this->element == 'invoice_supplier' || $this->element == 'invoice_supplier_rec') {
- print ''.$langs->trans("SupplierRef").' | ';
+ print ''.$langs->trans("SupplierRef").' | ';
}
// VAT
-print '';
+print ' | ';
if (!empty($conf->global->FACTURE_LOCAL_TAX1_OPTION) || !empty($conf->global->FACTURE_LOCAL_TAX2_OPTION)) {
print $langs->trans('Taxes');
} else {
@@ -82,30 +82,30 @@ if (in_array($object->element, array('propal', 'commande', 'facture', 'supplier_
print '';
}
}
-print '';
+print ' | ';
// Price HT
-print ''.$langs->trans('PriceUHT').' | ';
+print ''.$langs->trans('PriceUHT').' | ';
// Multicurrency
if (isModEnabled("multicurrency") && $this->multicurrency_code != $conf->currency) {
- print ''.$langs->trans('PriceUHTCurrency', $this->multicurrency_code).' | ';
+ print ''.$langs->trans('PriceUHTCurrency', $this->multicurrency_code).' | ';
}
if ($inputalsopricewithtax) {
- print ''.$langs->trans('PriceUTTC').' | ';
+ print ''.$langs->trans('PriceUTTC').' | ';
}
// Qty
-print ''.$langs->trans('Qty').' | ';
+print ''.$langs->trans('Qty').' | ';
// Unit
if (!empty($conf->global->PRODUCT_USE_UNITS)) {
- print ''.$langs->trans('Unit').' | ';
+ print ''.$langs->trans('Unit').' | ';
}
// Reduction short
-print '';
+print ' | ';
print $langs->trans('ReductionShort');
if (in_array($object->element, array('propal', 'commande', 'facture')) && $object->status == $object::STATUS_DRAFT) {
@@ -122,59 +122,59 @@ if (in_array($object->element, array('propal', 'commande', 'facture')) && $objec
print '';
}
}
-print '';
+print ' | ';
// Fields for situation invoice
if (isset($this->situation_cycle_ref) && $this->situation_cycle_ref) {
- print ''.$langs->trans('Progress').' | ';
- print ''.$form->textwithpicto($langs->trans('TotalHT100Short'), $langs->trans('UnitPriceXQtyLessDiscount')).' | ';
+ print ''.$langs->trans('Progress').' | ';
+ print ''.$form->textwithpicto($langs->trans('TotalHT100Short'), $langs->trans('UnitPriceXQtyLessDiscount')).' | ';
}
// Purchase price
if ($usemargins && isModEnabled('margin') && empty($user->socid)) {
if (!empty($user->rights->margins->creer)) {
if ($conf->global->MARGIN_TYPE == "1") {
- print ''.$langs->trans('BuyingPrice').' | ';
+ print ''.$langs->trans('BuyingPrice').' | ';
} else {
- print ''.$langs->trans('CostPrice').' | ';
+ print ''.$langs->trans('CostPrice').' | ';
}
}
if (!empty($conf->global->DISPLAY_MARGIN_RATES) && $user->rights->margins->liretous) {
- print ''.$langs->trans('MarginRate').' | ';
+ print ''.$langs->trans('MarginRate').' | ';
}
if (!empty($conf->global->DISPLAY_MARK_RATES) && $user->rights->margins->liretous) {
- print ''.$langs->trans('MarkRate').' | ';
+ print ''.$langs->trans('MarkRate').' | ';
}
}
// Total HT
-print ''.$langs->trans('TotalHTShort').' | ';
+print ''.$langs->trans('TotalHTShort').' | ';
// Multicurrency
if (isModEnabled("multicurrency") && $this->multicurrency_code != $conf->currency) {
- print ''.$langs->trans('TotalHTShortCurrency', $this->multicurrency_code).' | ';
+ print ''.$langs->trans('TotalHTShortCurrency', $this->multicurrency_code).' | ';
}
if ($outputalsopricetotalwithtax) {
- print ''.$langs->trans('TotalTTCShort').' | ';
+ print ''.$langs->trans('TotalTTCShort').' | ';
}
if (isModEnabled('asset') && $object->element == 'invoice_supplier') {
- print ' | ';
+ print ' | ';
}
-print ' | '; // No width to allow autodim
+print ' | '; // No width to allow autodim
-print ' | ';
+print ' | ';
-print ' | ';
+print ' | ';
if ($action == 'selectlines') {
- print '';
+ print ' | ';
print '';
print '';
- print '';
+ print ' | ';
}
print "
\n";