Fix: best method
This commit is contained in:
parent
ffd6c07003
commit
95c2650160
@ -369,7 +369,9 @@ $(document).ready(function() {
|
||||
|
||||
$('#tva_tx').change(function() {
|
||||
if ($(this).val() == 0) {
|
||||
$('#price_ttc').attr('disabled','disabled');
|
||||
if ($('#idprod').val() == 0) {
|
||||
$('#price_ttc').attr('disabled','disabled');
|
||||
}
|
||||
$('#price_ttc').val('');
|
||||
} else {
|
||||
// Enable excl.VAT field
|
||||
|
||||
Loading…
Reference in New Issue
Block a user