[Koha-bugs] [Bug 538] New: Add barcode number to newjmember.pl output

bugzilla-daemon at wilbur.katipo.co.nz bugzilla-daemon at wilbur.katipo.co.nz
Wed Jul 16 23:11:20 CEST 2003


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=538

           Summary: Add barcode number to newjmember.pl output
           Product: Koha
           Version: 2.0.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Members
        AssignedTo: chris at katipo.co.nz
        ReportedBy: oleonard at athenscounty.lib.oh.us
         QAContact: koha-bugs at lists.sourceforge.net


newjmember.pl produces output to confirm all relevant input except the barcode
number.

My uneducated guess is that starting on line 101 of newjmember.pl:

	my @identsloop;
	for (my $i=0;$i<3;$i++){
		my %ident;
#		$ident{'main'}=$main;
#		$ident{'image'}=$image;
		$ident{'cardchild'}=($data{"cardnumber_child_$i"} ne '');
		if ($data{"cardnumber_child_$i"} ne ''){
			my $name=$data{"firstname_child_$i"} . " " . $data{"surname_child_$i"};
			$ident{'name'}=$name;
			$ident{'bornum'}=$data{"bornumber_child_$i"};
			$ident{'dob'}=$data{"dateofbirth_child_$i"};
			($data{"sex_child_$i"} eq 'M') ? ($ident{'sex'}="Male") :
($ident{'sex'}="Female") ;
			$ident{'school'}=$data{"school_child_$i"};
			$ident{'notes'}=$data{"altnotes_child_$i"};

>>>>>> add this line? 
 	$ident{'cardnumber'}=$data{"cardnumber_child_$i"};
<<<<<<
			push(@identsloop, \%ident);
		}
	}



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the Koha-bugs mailing list