Look and feel v14

This commit is contained in:
Laurent Destailleur 2021-02-10 18:03:45 +01:00
parent 52ee530e70
commit 88550ab417
3 changed files with 6 additions and 2 deletions

View File

@ -5040,7 +5040,7 @@ class Form
}
}
print $langs->trans($translationKey, price($amount, 0, $langs, 0, 0, -1, $conf->currency));
if (empty($hidelist)) print ': ';
if (empty($hidelist)) print ' ';
print '</div>';
if (empty($hidelist))
{

View File

@ -24,6 +24,8 @@
* $backtopage URL to come back to from discount modification pages
*/
print '<!-- BEGIN object_discounts.tpl.php -->'."\n";
$objclassname = get_class($object);
$isInvoice = in_array($object->element, array('facture', 'invoice', 'facture_fourn', 'invoice_supplier'));
$isNewObject = empty($object->id) && empty($object->rowid);
@ -109,3 +111,5 @@ if ($absolute_discount <= 0 && $absolute_creditnote <= 0) {
print ' ('.$addabsolutediscount.')';
}
}
print '<!-- END template -->';

View File

@ -293,10 +293,10 @@ if ($nolinesbefore) {
}
}
if (!empty($conf->product->enabled) || !empty($conf->service->enabled)) {
echo '<br>';
if (!empty($conf->variants->enabled)) {
echo '<div id="attributes_box"></div>';
}
echo '<br>';
}
// Editor wysiwyg
require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';