Skip to content

Commit

Permalink
Fixed barcode / cardnumber error
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpac444 committed May 8, 2003
1 parent e16ca20 commit 0244cec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion imemberentry.pl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
use C4::Interface::CGI::Output;
use C4::Koha;
use HTML::Template;
use C4::Members;

my $input = new CGI;

Expand All @@ -51,6 +52,8 @@

my $data=borrdata('',$member);

my $cardnumber=C4::Members::fixup_cardnumber($data->{'cardnumber'});

my @branches;
my @select_branch;
my %select_branches;
Expand All @@ -67,7 +70,8 @@
-multiple => 0 );

$template->param(member => $member,
CGIbranch => $CGIbranch);
cardnumber_institution => $cardnumber,
CGIbranch => $CGIbranch);

output_html_with_http_headers $input, $cookie, $template->output;

Expand Down
4 changes: 2 additions & 2 deletions koha-tmpl/intranet-tmpl/default/en/members/imemberentry.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<td COLSPAN=2 ALIGN=RIGHT><font size=3 face='arial,helvetica'>
<STRONG>Member# <TMPL_VAR NAME="member">, Card Number*</STRONG>
</TD>
<TD align=right><input type=text name=cardnumber_institution size=20 value=" "><br></td>
<TD align=right><input type=text name=cardnumber_institution size=20 value=<TMPL_VAR NAME=cardnumber_institution>><br></td>
</TR>

<tr><td>&nbsp;</TD></TR>
Expand Down Expand Up @@ -111,7 +111,7 @@

<tr valign=top bgcolor=white>
<td COLSPAN=5 align=right >
<input type=image src="<TMPL_VAR name="themelang">/images/save-changes.gif" WIDTH=188 HEIGHT=44 ALT="Add New Member" border=0 >
<input type=submit class="button" value="Save Changes" ALT="Add New Member" border=0 >
</td>
</tr>
</TABLE>
Expand Down

0 comments on commit 0244cec

Please sign in to comment.