Skip to content

Commit

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

0 comments on commit a897049

Please sign in to comment.