From 2aa883c25eefc63c57e95ba04b41956cac97c3c2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 31 Aug 2012 01:00:18 +0200 Subject: [PATCH] Better comments --- htdocs/core/class/html.form.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 038b456291b..b2978a7bc4d 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -3096,7 +3096,7 @@ class Form $defaulttx = $this->cache_vatrates[$num-1]['txtva']; } - // Disabled if $mysoc is not subject to VAT + // Disabled if seller is not subject to VAT $disabled=false; $title=''; if (is_object($societe_vendeuse) && $societe_vendeuse->id == $mysoc->id && $societe_vendeuse->tva_assuj == "0") { $title=' title="'.$langs->trans('VATIsNotUsed').'"'; @@ -3107,7 +3107,7 @@ class Form foreach ($this->cache_vatrates as $rate) { - // Force 0 if $mysoc is not subject to VAT + // Keep only 0 if seller is not subject to VAT if ($disabled && $rate['txtva'] != 0) continue; $return.= '