Skip to content
Snippets Groups Projects
Commit 95c26501 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: best method

parent ffd6c070
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment