';
$coldisplay++;
}
if (! empty($conf->global->DISPLAY_MARK_RATES))
{
- echo '
%
';
+ echo '
%
';
$coldisplay++;
}
}
diff --git a/htdocs/core/tpl/objectline_edit.tpl.php b/htdocs/core/tpl/objectline_edit.tpl.php
index d982516bd67..2f839e06281 100644
--- a/htdocs/core/tpl/objectline_edit.tpl.php
+++ b/htdocs/core/tpl/objectline_edit.tpl.php
@@ -46,6 +46,7 @@ $colspan = 3; // Col total ht + col edit + col delete
if (! empty($inputalsopricewithtax)) $colspan++; // We add 1 if col total ttc
if (in_array($object->element,array('propal','supplier_proposal','facture','invoice','commande','order','order_supplier','invoice_supplier'))) $colspan++; // With this, there is a column move button
if (empty($user->rights->margins->creer)) $colspan++;
+if (!empty($conf->multicurrency->enabled)) $colspan+=2;
?>
@@ -114,23 +115,22 @@ $coldisplay=-1; // We remove first td
if ($this->situation_counter == 1 || !$this->situation_cycle_ref) {
print '
';
}
@@ -141,7 +141,7 @@ $coldisplay=-1; // We remove first td
// for example always visible on invoice but must be visible only if stock module on and stock decrease option is on invoice validation and status is not validated
// must also not be output for most entities (proposal, intervention, ...)
//if($line->qty > $line->stock) print img_picto($langs->trans("StockTooLow"),"warning", 'style="vertical-align: bottom;"')." ";
- print 'situation_counter > 1) print ' readonly';
print '>';
} else { ?>
@@ -160,7 +160,7 @@ $coldisplay=-1; // We remove first td