From 8d031900f939f264f5f8fa364b29a49ee0e9ab75 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Tue, 31 Jul 2012 13:40:38 +0200
Subject: [PATCH] [ bug #464 ] Payment form should allow to add transmitter for
 bank transfers

---
 htdocs/compta/paiement.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php
index 8a2d1f257f0..195f041b30e 100644
--- a/htdocs/compta/paiement.php
+++ b/htdocs/compta/paiement.php
@@ -263,7 +263,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
             			{
             				var code = $("#selectpaiementcode option:selected").val();
 
-            				if (code == \'CHQ\')
+                            if (code == \'CHQ\' || code == \'VIR\')
             				{
             					$(\'.fieldrequireddyn\').addClass(\'fieldrequired\');
             					if ($(\'#fieldchqemetteur\').val() == \'\')
-- 
GitLab