]> git.evergreen-ils.org Git - Evergreen.git/blob - Evergreen/staff_client/chrome/content/evergreen/patron/patron_display_contact_overlay.xul
hookup menu for billing type
[Evergreen.git] / Evergreen / staff_client / chrome / content / evergreen / patron / patron_display_contact_overlay.xul
1 <?xml version="1.0"?>
2 <!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/patron_display.dtd">
3 <overlay id="patron_display_contact_overlay" 
4         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
5
6         <script>mw.sdump('D_TRACE','Loading patron_display_contact_overlay.xul\n');</script>
7
8 <commandset id="universal_cmds">
9
10         <command id="cmd_broken" oncommand="
11                 alert('Not Yet Implemented'); "/>
12
13 </commandset>
14
15 <!-- main widget for patron_display_contact -->
16 <box id="PatronDisplayContact_main" flex="1" orient="vertical" style="overflow: auto;">
17         <groupbox id="PatronDisplayContact_groupbox" flex="1"/>
18 </box>
19
20 <groupbox id="PatronDisplayContact_groupbox" orient="vertical">
21         <caption label="&patron_display.contact.caption;"/>
22         <hbox id="pdcgbhb1">
23                 <grid id="PatronDisplayContact_grid" />
24                 <spacer id="pdcgbhbs1" flex="1"/>
25                 <image id="PatronDisplay_photo" 
26                         render="true" fm_class="au" render_value=".photo_url()" />
27         </hbox>
28         <grid id="PatronDisplayContact_grid_phone" />
29         <groupbox id="PatronDisplayContact_mailing_address" />
30         <groupbox id="PatronDisplayContact_physical_address" />
31 </groupbox>
32
33 <grid id="PatronDisplayContact_grid">
34         <columns id="pdsgc">
35                 <column id="pdsgc1" />
36                 <column id="pdsgc2" />
37         </columns>
38         <rows id="pdsgr" flex="1">
39                 <row id="pdsgr0">
40                         <label id="PatronDisplayContact_library_card_label" class="text_right"
41                                 value="&patron_display.library_card.label;"/>
42                         <label id="PatronDisplayContact_library_card"
43                                 render="true" fm_class="au" render_value="patron_get_barcode($$)"/>
44                 </row>
45                 <row id="pdsgr1">
46                         <label id="PatronDisplayContact_ident_label" class="text_right"
47                                 value="&patron_display.ident1.label;"/>
48                         <hbox id="pdsgr0h">
49                                 <label id="PatronDisplayContact_ident_type"
50                                         render="true" fm_class="au" render_value="patron_get_ident1_type_as_text($$)" />
51                                 <label id="PatronDisplayContact_ident_value"
52                                         render="true" fm_class="au" render_value=".ident_value()" />
53                         </hbox>
54                 </row>
55                 <row id="pdsgr2">
56                         <label id="PatronDisplayContact_ident_label2" class="text_right"
57                                 value="&patron_display.ident2.label;"/>
58                         <hbox id="pdsgr0ah">
59                                 <label id="PatronDisplayContact_ident_type2"
60                                         render="true" fm_class="au" render_value="patron_get_ident2_type_as_text($$)" />
61                                 <label id="PatronDisplayContact_ident_value2"
62                                         render="true" fm_class="au" render_value=".ident_value2()" />
63                         </hbox>
64                 </row>
65                 <row id="pdsgr3">
66                         <label id="PatronDisplayContact_date_of_birth_label" class="text_right"
67                                 value="&patron_display.date_of_birth.label;"/>
68                         <label id="PatronDisplayContact_date_of_birth"
69                                 render="true" fm_class="au" render_value=".dob()"/>
70                 </row>
71                 <row id="pdsgr4"><label id="pdsgr4l" value=" "/></row>
72         </rows>
73 </grid>
74
75 <grid id="PatronDisplayContact_grid_phone">
76         <columns id="pdcgpc">
77                 <column id="pdcgpc1" />
78                 <column id="pdcgpc2" />
79         </columns>
80         <rows id="pdcgpr" flex="1">
81                 <row id="pdcgpr1">
82                         <label id="PatronDisplayContact_day_phone_label" class="text_right"
83                                 value="&patron_display.day_phone.label;" />
84                         <label id="PatronDisplayContact_day_phone" 
85                                 render="true" fm_class="au" 
86                                 render_value=".day_phone()" />
87                 </row>
88                 <row id="pdcgpr2">
89                         <label id="PatronDisplayContact_evening_phone_label" class="text_right"
90                                 value="&patron_display.evening_phone.label;" />
91                         <label id="PatronDisplayContact_evening_phone" 
92                                 render="true" fm_class="au" 
93                                 render_value=".evening_phone()" />
94                 </row>
95                 <row id="pdcgpr3">
96                         <label id="PatronDisplayContact_other_phone_label" class="text_right"
97                                 value="&patron_display.other_phone.label;" />
98                         <label id="PatronDisplayContact_other_phone" 
99                                 render="true" fm_class="au" 
100                                 render_value=".other_phone()" />
101                 </row>
102                 <row id="pdsgpr4"><label id="pdsgpr4l" value=" "/></row>
103                 <row id="pdcgpr5">
104                         <label id="PatronDisplayContact_email_label" class="text_right"
105                                 value="&patron_display.email.label;" />
106                         <label id="PatronDisplayContact_email" 
107                                 render="true" fm_class="au" 
108                                 render_value=".email()" />
109                 </row>
110                 <row id="pdsgpr6"><label id="pdsgpr6l" value=" "/></row>
111
112         </rows>
113 </grid>
114
115 <groupbox id="PatronDisplayContact_mailing_address" orient="vertical">
116         <caption id="pdcmac" label="&patron_display.mailing_address;"/>
117         <label id="pdcmal1" 
118                 tooltiptext="&patron_display.mailing.street1.label;" 
119                 render="true" fm_class="au" render_value=".mailing_address().street1()" />
120         <label id="pdcmal2" 
121                 tooltiptext="&patron_display.mailing.street2.label;" 
122                 render="true" fm_class="au" render_value=".mailing_address().street2()" />
123         <hbox id="pdcmah">
124                 <label id="pdcmal3" 
125                         tooltiptext="&patron_display.mailing.city.label;" 
126                         render="true" fm_class="au" render_value=".mailing_address().city()" />
127                 <label id="pdcmal4" 
128                         tooltiptext="&patron_display.mailing.state.label;" 
129                         render="true" fm_class="au" render_value=".mailing_address().state()" />
130                 <label id="pdcmal5" 
131                         tooltiptext="&patron_display.mailing.post_code.label;" 
132                         render="true" fm_class="au" render_value=".mailing_address().post_code()" />
133         </hbox>
134 </groupbox>
135
136 <groupbox id="PatronDisplayContact_physical_address" orient="vertical">
137         <caption id="pdcpac" label="&patron_display.physical_address;"/>
138         <label id="pdcpal1" 
139                 tooltiptext="&patron_display.physical.street1.label;" 
140                 render="true" fm_class="au" render_value=".billing_address().street1()" />
141         <label id="pdcpal2" 
142                 tooltiptext="&patron_display.physical.street2.label;" 
143                 render="true" fm_class="au" render_value=".billing_address().street2()" />
144         <hbox id="pdcpah">
145                 <label id="pdcpal3" 
146                         tooltiptext="&patron_display.physical.city.label;" 
147                         render="true" fm_class="au" render_value=".billing_address().city()" />
148                 <label id="pdcpal4" 
149                         tooltiptext="&patron_display.physical.state.label;" 
150                         render="true" fm_class="au" render_value=".billing_address().state()" />
151                 <label id="pdcpal5" 
152                         tooltiptext="&patron_display.physical.post_code.label;" 
153                         render="true" fm_class="au" render_value=".billing_address().post_code()" />
154         </hbox>
155 </groupbox>
156
157
158
159
160 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
161 <keyset id="PatronDisplayContact_keys">
162 </keyset>
163
164 </overlay>