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