Skip to content

Commit

Permalink
New: Autofill check sender if type is cheque
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 26, 2011
1 parent a069c1c commit fc1087a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/adherents/card_subscriptions.php
Expand Up @@ -684,7 +684,8 @@
{
print "\n".'<script type="text/javascript" language="javascript">';
print 'jQuery(document).ready(function () {
jQuery(".bankswitchclass").'.($bankdirect||$bankviainvoice?'show()':'hide()').';
jQuery(".bankswitchclass").'.($bankdirect||$bankviainvoice||in_array(GETPOST('paymentsave'),array('bankdirect','bankviainvoice'))?'show()':'hide()').';
jQuery(".bankswitchclass2").'.($bankdirect||$bankviainvoice||in_array(GETPOST('paymentsave'),array('bankdirect','bankviainvoice'))?'show()':'hide()').';
jQuery("#none").click(function() {
jQuery(".bankswitchclass").hide();
jQuery(".bankswitchclass2").hide();
Expand Down

0 comments on commit fc1087a

Please sign in to comment.