Skip to content

Commit

Permalink
display mark rates in objectLineCreate
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-jonathan committed Sep 3, 2024
1 parent c79f72f commit 32bacae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion htdocs/core/tpl/objectline_create.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,9 @@ function setforpredef() {
<?php } ?>
/* jQuery("#tva_tx, #title_vat").hide(); */
/* jQuery("#title_fourn_ref").hide(); */
jQuery("#np_marginRate, #np_markRate, .np_marginRate, .np_markRate, #units, #title_units").hide();
<?php if (!getDolGlobalString('DISPLAY_MARK_RATES')) { ?>
jQuery("#np_marginRate, #np_markRate, .np_marginRate, .np_markRate, #units, #title_units").hide();
<?php } ?>
jQuery("#buying_price").show();
jQuery('#trlinefordates, .divlinefordates').show();
}
Expand Down

0 comments on commit 32bacae

Please sign in to comment.