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>Provider <button dojoType='dijit.form.Button' onClick='pListGrid.showCreateDialog()'>New Provider</button></div>
9 <table jsId="pListGrid"
10 dojoType="openils.widget.AutoGrid"
11 fieldOrder="['id', 'name', 'code', 'owner', 'currency_type']"
17 <tr><th field='name' get='getProviderName'/></tr>
25 <div id='provider-details-div'>
26 <div dojoType="dijit.layout.ContentPane" layoutAlign="top">
27 <div id='provider-summary-pane'/>
29 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
30 <div>Provider Address</div>
31 <button dojoType='dijit.form.Button' onClick='paListGrid.showCreateDialog()'>New Provider Address</button>
33 <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:100px'>
34 <table jsId="paListGrid"
35 dojoType="openils.widget.AutoGrid"
36 fieldOrder="['id', 'address_type', 'provider', 'street1', 'street2', 'city', 'county', 'state', 'country', 'post_code']"
43 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
44 <div>Provider Contact</div>
45 <button dojoType='dijit.form.Button' onClick='pcListGrid.showCreateDialog()'>New Contact</button>
47 <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:200px'>
48 <table jsId="pcListGrid"
49 dojoType="openils.widget.AutoGrid"
50 fieldOrder="['id', 'name', 'provider', 'role', 'email']"
60 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
61 <div>Contact Address</div>
62 <button dojoType='dijit.form.Button' onClick='pcaListGrid.showCreateDialog()'>New Contact Address</button>
64 <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:200px'>
65 <table jsId="pcaListGrid"
66 dojoType="openils.widget.AutoGrid"
67 fieldOrder="['id', 'address_type', 'provider', 'street1', 'street2', 'city', 'county', 'state', 'country', 'post_code']"