Fix phpcs
This commit is contained in:
parent
f483c673aa
commit
5d6ccfdf00
@ -685,10 +685,10 @@ jQuery(document).ready(function() {
|
|||||||
jQuery("#price_ht").val(data.price_ht);
|
jQuery("#price_ht").val(data.price_ht);
|
||||||
},
|
},
|
||||||
'json');
|
'json');
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! empty($usemargins) && $user->rights->margins->creer)
|
if (! empty($usemargins) && $user->rights->margins->creer)
|
||||||
{
|
{
|
||||||
$langs->load('stocks');
|
$langs->load('stocks');
|
||||||
@ -850,10 +850,10 @@ function setforpredef() {
|
|||||||
console.log("Call setforpredef. We hide some fields and show dates");
|
console.log("Call setforpredef. We hide some fields and show dates");
|
||||||
jQuery("#select_type").val(-1);
|
jQuery("#select_type").val(-1);
|
||||||
jQuery("#prod_entry_mode_free").prop('checked',false).change();
|
jQuery("#prod_entry_mode_free").prop('checked',false).change();
|
||||||
jQuery("#prod_entry_mode_predef").prop('checked',true).change();
|
jQuery("#prod_entry_mode_predef").prop('checked',true).change(
|
||||||
<?php if (empty($conf->global->MAIN_EDIT_PREDEF_PRICEHT)) { ?>
|
<?php if (empty($conf->global->MAIN_EDIT_PREDEF_PRICEHT)) { ?>
|
||||||
jQuery("#price_ht").val('').hide();
|
jQuery("#price_ht").val('').hide();
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
jQuery("#price_ht").val('')
|
jQuery("#price_ht").val('')
|
||||||
jQuery("#price_ht, #multicurrency_price_ht, #price_ttc, #fourn_ref, #tva_tx, #title_vat, #title_up_ht, #title_up_ht_currency, #title_up_ttc, #title_up_ttc_currency").hide();
|
jQuery("#price_ht, #multicurrency_price_ht, #price_ttc, #fourn_ref, #tva_tx, #title_vat, #title_up_ht, #title_up_ht_currency, #title_up_ttc, #title_up_ttc_currency").hide();
|
||||||
jQuery("#np_marginRate, #np_markRate, .np_marginRate, .np_markRate, #units, #title_units").hide();
|
jQuery("#np_marginRate, #np_markRate, .np_marginRate, .np_markRate, #units, #title_units").hide();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user