From: Chris Cormack Date: Wed, 20 Jul 2011 22:21:31 +0000 (+1200) Subject: Bug 6611 : With the change to making cardnumber a nullable field, we need to pass... X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=0dae6dca92bcf751168c4bcaee6b09a3bdc1e77f;p=koha.git Bug 6611 : With the change to making cardnumber a nullable field, we need to pass it around when we are updating borrowers, to make sure we don't null it Tested with every small edit link on moremember.pl. Signed-off-by: Liz Rea Signed-off-by: Ian Walls Signed-off-by: Chris Cormack --- diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index 6d60917e90..f96c27f077 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -162,7 +162,18 @@ [% IF ( step ) %][% END %] -[% IF ( opadd ) %][% ELSIF ( opduplicate ) %][% ELSE %][% END %] +[% IF ( opadd ) %] +[% ELSIF ( opduplicate ) %] + +[% ELSE %] + +[% IF step == 4 || step == 5 || step == 6 || step == 2 || step == 1 %] +[%# Only put the cardnumber if we arent showing it in the form later %] +[% IF cardnumber %] + +[% END %] +[% END %] +[% END %] [% IF ( step_1 ) %]