[% WRAPPER default/base.tt2 %]
<script src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/provider.js'> </script>
<script> var providerId = '[% ctx.page_args.0 %]';</script>
- <script type ="text/javascript">
- function formatName(inDatum) {
+<script type ="text/javascript">
+ function formatName(inDatum) {
switch (inDatum) {
- case 'owning_lib':
- return 'Owning Library';
- case 'quantity':
- return 'Quantity';
- case 'call_number':
- return 'Call Number';
- case 'fund_code':
- return 'Fund Code';
- case 'local_note':
- return 'Local Note';
- case 'price':
- return 'Price';
- case 'circ_modifier':
- return 'Circulation Modifier';
- case 'copy_location':
- return 'Copy Location';
- case 'collection_code':
- return 'Collection Code';
- }
+ case 'owning_lib':
+ return 'Owning Library';
+ case 'quantity':
+ return 'Quantity';
+ case 'call_number':
+ return 'Call Number';
+ case 'fund_code':
+ return 'Fund Code';
+ case 'local_note':
+ return 'Local Note';
+ case 'price':
+ return 'Price';
+ case 'circ_modifier':
+ return 'Circulation Modifier';
+ case 'copy_location':
+ return 'Copy Location';
+ case 'collection_code':
+ return 'Collection Code';
}
+ }
- </script>
+</script>
<div class="hidden"><select dojoType="dijit.form.FilteringSelect" jsId="nameSelect">
<option value='owning_lib'>Owning Library</option>
<option value='quantity'>Quantity</option>
<button dojoType='dijit.form.Button' onClick='paListGrid.showCreateDialog()'>New Provider Address</button>
<button dojoType='dijit.form.Button' onClick='paListGrid.deleteSelected()'>Delete Selected</button>
</div>
- <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:100px'>
+ <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:400px'>
<table jsId="paListGrid"
dojoType="openils.widget.AutoGrid"
fieldOrder="['id', 'address_type', 'provider', 'street1', 'street2', 'city', 'county', 'state', 'country', 'post_code']"
<button dojoType='dijit.form.Button' onClick='pcaListGrid.showCreateDialog()'>New Contact Address</button>
<button dojoType='dijit.form.Button' onClick='pcaListGrid.deleteSelected()'>Delete Selected</button>
</div>
- <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:400px'>
+ <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:200px'>
<table jsId="pcaListGrid"
dojoType="openils.widget.AutoGrid"
fieldOrder="['id', 'address_type', 'contact', 'street1', 'street2', 'city', 'county', 'state', 'country', 'post_code']"
<button dojoType='dijit.form.Button' onClick='padListGrid.showCreateDialog()'>New Attribute Definition</button>
<button dojoType='dijit.form.Button' onClick='padListGrid.deleteSelected()'>Delete Selected</button>
</div>
- <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:200px'>
+ <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:400px'>
<table jsId="padListGrid"
dojoType="openils.widget.AutoGrid"
fieldOrder="['id', 'provider', 'code', 'description', 'xpath', 'provider', 'ident']"
<button dojoType='dijit.form.Button' onClick='phsListGrid.showCreateDialog()'>New Holding Subfield</button>
<button dojoType='dijit.form.Button' onClick='phsListGrid.deleteSelected()'>Delete Selected</button>
</div>
- <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:200px'>
+ <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:400px'>
<table jsId="phsListGrid"
dojoType="openils.widget.AutoGrid"
fieldOrder="['id', 'provider', 'name', 'subfield']"