Look and feel v14
This commit is contained in:
parent
52ee530e70
commit
88550ab417
@ -5040,7 +5040,7 @@ class Form
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
print $langs->trans($translationKey, price($amount, 0, $langs, 0, 0, -1, $conf->currency));
|
print $langs->trans($translationKey, price($amount, 0, $langs, 0, 0, -1, $conf->currency));
|
||||||
if (empty($hidelist)) print ': ';
|
if (empty($hidelist)) print ' ';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
if (empty($hidelist))
|
if (empty($hidelist))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -24,6 +24,8 @@
|
|||||||
* $backtopage URL to come back to from discount modification pages
|
* $backtopage URL to come back to from discount modification pages
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
print '<!-- BEGIN object_discounts.tpl.php -->'."\n";
|
||||||
|
|
||||||
$objclassname = get_class($object);
|
$objclassname = get_class($object);
|
||||||
$isInvoice = in_array($object->element, array('facture', 'invoice', 'facture_fourn', 'invoice_supplier'));
|
$isInvoice = in_array($object->element, array('facture', 'invoice', 'facture_fourn', 'invoice_supplier'));
|
||||||
$isNewObject = empty($object->id) && empty($object->rowid);
|
$isNewObject = empty($object->id) && empty($object->rowid);
|
||||||
@ -109,3 +111,5 @@ if ($absolute_discount <= 0 && $absolute_creditnote <= 0) {
|
|||||||
print ' ('.$addabsolutediscount.')';
|
print ' ('.$addabsolutediscount.')';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print '<!-- END template -->';
|
||||||
@ -293,10 +293,10 @@ if ($nolinesbefore) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!empty($conf->product->enabled) || !empty($conf->service->enabled)) {
|
if (!empty($conf->product->enabled) || !empty($conf->service->enabled)) {
|
||||||
|
echo '<br>';
|
||||||
if (!empty($conf->variants->enabled)) {
|
if (!empty($conf->variants->enabled)) {
|
||||||
echo '<div id="attributes_box"></div>';
|
echo '<div id="attributes_box"></div>';
|
||||||
}
|
}
|
||||||
echo '<br>';
|
|
||||||
}
|
}
|
||||||
// Editor wysiwyg
|
// Editor wysiwyg
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user