1 [% WRAPPER default/base.tt2 %]
2 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/acq/provider.js'> </script>
3 <script> var providerId = '[% ctx.page_args.0 %]';</script>
6 <div id='provider-list-div'>
7 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
8 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
11 <button dojoType='dijit.form.Button' onClick='pListGrid.showCreateDialog()'>New Provider</button>
12 <button dojoType='dijit.form.Button' onClick='pListGrid.deleteSelected()'>Delete Selected</button> </div>
14 <table jsId="pListGrid"
15 dojoType="openils.widget.AutoGrid"
16 fieldOrder="['id', 'name', 'code', 'owner', 'currency_type']"
22 <tr><th field='name' get='getProviderName'/></tr>
30 <div id='provider-details-div'>
31 <div dojoType="dijit.layout.ContentPane" layoutAlign="top">
32 <div id='provider-summary-pane'/>
34 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
35 <div>Provider Address</div>
36 <button dojoType='dijit.form.Button' onClick='paListGrid.showCreateDialog()'>New Provider Address</button>
38 <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:100px'>
39 <table jsId="paListGrid"
40 dojoType="openils.widget.AutoGrid"
41 fieldOrder="['id', 'address_type', 'provider', 'street1', 'street2', 'city', 'county', 'state', 'country', 'post_code']"
48 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
49 <div>Provider Contact</div>
50 <button dojoType='dijit.form.Button' onClick='pcListGrid.showCreateDialog()'>New Contact</button>
52 <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:200px'>
53 <table jsId="pcListGrid"
54 dojoType="openils.widget.AutoGrid"
55 fieldOrder="['id', 'name', 'provider', 'role', 'email']"
65 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
66 <div>Contact Address</div>
67 <button dojoType='dijit.form.Button' onClick='pcaListGrid.showCreateDialog()'>New Contact Address</button>
69 <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:200px'>
70 <table jsId="pcaListGrid"
71 dojoType="openils.widget.AutoGrid"
72 fieldOrder="['id', 'address_type', 'provider', 'street1', 'street2', 'city', 'county', 'state', 'country', 'post_code']"