From 4a746b6f4015d98baf96bd06a61e56732f6a4781 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 12 Jul 2006 19:59:17 +0000 Subject: [PATCH] age protection for copy summary git-svn-id: svn://svn.open-ils.org/ILS/trunk@4961 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/copy_summary.xul | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/cat/copy_summary.xul b/Open-ILS/xul/staff_client/server/cat/copy_summary.xul index 98a608277b..4dd6b7c2bc 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_summary.xul +++ b/Open-ILS/xul/staff_client/server/cat/copy_summary.xul @@ -84,6 +84,7 @@ $w('opac_visible',my_bool(copy.opac_visible()) ? 'Yes' : 'No'); $w('circulate',my_bool(copy.circulate()) ? 'Yes' : 'No'); $w('holdable',my_bool(copy.holdable()) ? 'Yes' : 'No'); + $w('age_protect',copy.age_protect() == null ? '' : ( typeof copy.age_protect() == 'object' ? copy.age_protect().name() : g.data.hash.crahp[ copy.age_protect() ].name() ) ); $w('location',copy.location().name()); $w('create_date',util.date.formatted_date(copy.create_date(),'%F')); $w('edit_date',util.date.formatted_date(copy.edit_date(),'%F')); @@ -168,18 +169,18 @@