bug 107. show create date with age protection
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 12 Dec 2006 16:16:32 +0000 (16:16 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 12 Dec 2006 16:16:32 +0000 (16:16 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6679 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/admin/hold_pull_list_classic.js

index f1772cb..cbfc36d 100644 (file)
@@ -102,7 +102,7 @@ function pullListDrawCopy( tbody, row, hold, idx, copy ) {
        $n(row, 'copy_number').appendChild(text(copy.copy_number()));
        try {
                if (copy.age_protect()) {
-                       $n(row, 'age_protect').appendChild(text( (copy.age_protect() == null ? '<Unset>' : ( typeof copy.age_protect() == 'object' ? copy.age_protect().name() : g.data.hash.crahp[ copy.age_protect() ].name() )) ));  
+                       $n(row, 'age_protect').appendChild(text( (copy.age_protect() == null ? '<Unset>' : ( typeof copy.age_protect() == 'object' ? copy.age_protect().name() : g.data.hash.crahp[ copy.age_protect() ].name() )) + ' (' + copy.create_date().substr(0,10) + ')' ));   
                        unHideMe($n(row, 'age_protect_span'));
                }
        } catch(E) { alert(E); }