toward more fleshed out items out interface
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 22 Dec 2005 06:11:53 +0000 (06:11 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 22 Dec 2005 06:11:53 +0000 (06:11 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2520 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/items.js
Open-ILS/xul/staff_client/server/patron/items.xul
Open-ILS/xul/staff_client/server/patron/items_overlay.xul

index 9109577..3ff81c2 100644 (file)
@@ -47,7 +47,17 @@ patron.items.prototype = {
                                                function() {
                                                }
                                        ],
-                                       'cmd_item_reprint' : [
+                                       'cmd_item_renew' : [
+                                               ['command'],
+                                               function() {
+                                               }
+                                       ],
+                                       'cmd_item_checkin' : [
+                                               ['command'],
+                                               function() {
+                                               }
+                                       ],
+                                       'cmd_show_catalog' : [
                                                ['command'],
                                                function() {
                                                }
index 7126220..589b138 100644 (file)
@@ -61,7 +61,9 @@
 
        <commandset id="items_cmds">
                <command id="cmd_items_print" />
-               <command id="cmd_items_reprint" />
+               <command id="cmd_items_renew" />
+               <command id="cmd_items_checkin" />
+               <command id="cmd_show_catalog" />
        </commandset>
 
        <box id="items_main" />
index 6cf01c0..78b3c25 100644 (file)
 </box>
 
 <vbox id="cmvb1" flex="1">
-       <groupbox id="cmgb1" flex="2">
+       <groupbox id="cmgb1" flex="1">
                <caption label="&staff.patron_navbar.items;" />
-               <hbox id="items_top_ui" />
+               <vbox flex="0">
+                       <hbox id="items_top_ui" />
+               </vbox>
                <tree id="items_list" flex="1" enableColumnDrag="true"/>
-               <hbox id="items_bottom_ui" />
+               <vbox flex="0">
+                       <hbox id="items_bottom_ui" />
+               </vbox>
        </groupbox>
 </vbox>
 
-<hbox id="items_bottom_ui">
+<hbox id="items_top_ui" flex="1">
+       <spacer id="pcii3s" flex="1"/>
+       <button id="show_catalog"
+               label="Show in Catalog"
+               command="cmd_show_catalog"
+       />
+       <button id="items_renew"
+               label="Renew"
+               command="cmd_items_renew"
+       />
+       <button id="items_checkin"
+               label="Check In"
+               command="cmd_items_checkin"
+       />
        <button id="items_print" 
                label="&staff.patron_display.items.print_receipt_label;" 
                command="cmd_items_print"
-               accesskey="&staff.patron_display.items.print_receipt_label.accesskey;"/>
-       <spacer id="pcii3s" flex="1"/>
+               accesskey="&staff.patron_display.items.print_receipt_label.accesskey;"
+       />
 </hbox>
 
 </overlay>