Lines 273-283
sub ldap_entry_2_hash {
Link Here
|
273 |
. substr($borrower{ 'surname' },0,1) |
273 |
. substr($borrower{ 'surname' },0,1) |
274 |
. " "); |
274 |
. " "); |
275 |
|
275 |
|
276 |
# Date and categorycode conversions |
276 |
# categorycode conversions |
277 |
$borrower{'dateexpiry'} = C4::Dates->new($borrower{'dateexpiry'},'sql')->output('iso') if $borrower{'dateexpiry'}; |
|
|
278 |
$borrower{'dateofbirth'} = C4::Dates->new($borrower{'dateofbirth'},'sql')->output('iso') if $borrower{'dateofbirth'}; |
279 |
$borrower{'dateenrolled'} = C4::Dates->new($borrower{'dateenrolled'},'sql')->output('iso') if $borrower{'dateenrolled'}; |
280 |
|
281 |
if(defined $categorycode_conversions{$borrower{categorycode}}) { |
277 |
if(defined $categorycode_conversions{$borrower{categorycode}}) { |
282 |
$borrower{categorycode} = $categorycode_conversions{$borrower{categorycode}}; |
278 |
$borrower{categorycode} = $categorycode_conversions{$borrower{categorycode}}; |
283 |
} |
279 |
} |
284 |
- |
|
|