[% IF ERROR.borrowernumber %] (for patron with borrowernumber [% ERROR.borrowernumber %])[% END %]
</li>
[% END %]
[% IF ERROR.duplicate_userid %]
<li class="line_error">
Userid [% ERROR.userid %] is already used by another patron or is empty.
</ul>
</div>
next;
}
# generate a proper login if none provided
if ( $borrower{userid} eq '' || !Check_Userid( $borrower{userid} ) ) {
push @errors, { duplicate_userid => 1, userid => $borrower{userid} };
$invalid++;
next LINE;
if ($borrowernumber) {
# borrower exists
-