add a page break after the print div. use storage instead of cstore for fetching...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 25 Aug 2008 13:19:32 +0000 (13:19 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 25 Aug 2008 13:19:32 +0000 (13:19 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2_3@10433 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Actor.pm
Open-ILS/web/opac/extras/selfcheck/selfcheck_print.css

index 24784e4..1fd6bbe 100644 (file)
@@ -3066,7 +3066,10 @@ sub retrieve_org_hours {
     my $e = new_editor(authtoken => $auth);
        return $e->die_event unless $e->checkauth;
     $org_id ||= $e->requestor->ws_ou;
-    return $e->retrieve_actor_org_unit_hours_of_operation($org_id);
+    # use storage for <1.4 to avoid timezone issues with cstore
+    return $U->storagereq(
+        'open-ils.storage.direct.actor.org_unit.hours_of_operation.retrieve', $org_id);
+    #return $e->retrieve_actor_org_unit_hours_of_operation($org_id);
 }
 
 
index cd397f4..c5ea5e2 100644 (file)
@@ -10,6 +10,7 @@
     color: black;
     font-family: Arial;
     background-color: white;
+    page-break-after: always;
 }
 #selfck-print-patron-info { font-size: 8pt; }