* alias - aka Holds Alias
* has_email - boolean value to show/hide elements on the receipt
* has_phone - same as has_email
+ * juvenile - boolean value (t/f) to show/hide elements on the receipt
* circulations - list of loans made during this session. Each
checkout includes:
* alias - aka Holds Alias
* has_email - boolean value to show/hide elements on the receipt
* has_phone - same as has_email
+ * juvenile - boolean value (t/f) to show/hide elements on the receipt
* circulations - list of current loans, including for each checkout
expire_date : cusr.expire_date(),
alias : cusr.alias(),
has_email : Boolean($scope.has_email_address()),
- has_phone : Boolean(cusr.day_phone() || cusr.evening_phone() || cusr.other_phone())
+ has_phone : Boolean(cusr.day_phone() || cusr.evening_phone() || cusr.other_phone()),
+ juvenile : cusr.juvenile()
};
return egCore.print.print({
expire_date : cusr.expire_date(),
alias : cusr.alias(),
has_email : Boolean(patronSvc.current.email() && patronSvc.current.email().match(/.*@.*/)),
- has_phone : Boolean(cusr.day_phone() || cusr.evening_phone() || cusr.other_phone())
+ has_phone : Boolean(cusr.day_phone() || cusr.evening_phone() || cusr.other_phone()),
+ juvenile : cusr.juvenile()
};
return egCore.print.print({