Lines 619-624
if ($nok) {
Link Here
|
619 |
if (!defined($data{'dateenrolled'}) or $data{'dateenrolled'} eq ''){ |
619 |
if (!defined($data{'dateenrolled'}) or $data{'dateenrolled'} eq ''){ |
620 |
$data{'dateenrolled'}=C4::Dates->today('iso'); |
620 |
$data{'dateenrolled'}=C4::Dates->today('iso'); |
621 |
} |
621 |
} |
|
|
622 |
if ( $op eq 'duplicate' ) { |
623 |
$data{'dateenrolled'} = C4::Dates->today('iso'); |
624 |
$data{'dateexpiry'} = GetExpiryDate( $data{'categorycode'}, $data{'dateenrolled'} ); |
625 |
} |
622 |
if (C4::Context->preference('uppercasesurnames')) { |
626 |
if (C4::Context->preference('uppercasesurnames')) { |
623 |
$data{'surname'} =uc($data{'surname'} ); |
627 |
$data{'surname'} =uc($data{'surname'} ); |
624 |
$data{'contactname'}=uc($data{'contactname'}); |
628 |
$data{'contactname'}=uc($data{'contactname'}); |
625 |
- |
|
|