buildFtGrid();
}
);
+ buildFtGrid();
}
);
}
{"owner": fieldmapper.aou.orgNodeTrail(ftOwner, true /* asId */)},
{
"async": true,
- "oncomplete": function(r) {
+ "onresponse": function(r) {
if ((ftList = openils.Util.readResponse(r))) {
ftList = openils.Util.objectSort(ftList);
ftList.forEach(
}
);
}
+ },
+ "oncomplete": function() {
+ ftGrid.hideLoadProgressIndicator();
}
}
);
<!ENTITY staff.main.menu.admin.server_admin.acq.accesskey "A">
<!ENTITY staff.main.menu.admin.server_admin.acq.lineitem_alert.label "Line Item Alerts">
<!ENTITY staff.main.menu.admin.server_admin.acq.lineitem_alert.accesskey "L">
+<!ENTITY staff.main.menu.admin.server_admin.acq.invoice_item_type.label "Invoice Item Type">
+<!ENTITY staff.main.menu.admin.server_admin.acq.invoice_item_type.accesskey "I">
+<!ENTITY staff.main.menu.admin.server_admin.acq.invoice_payment_method.label "Invoice Payment Method">
+<!ENTITY staff.main.menu.admin.server_admin.acq.invoice_payment_method.accesskey "Y">
<!ENTITY staff.main.menu.admin.server_admin.acq.fund_tag.label "Fund Tags">
<!ENTITY staff.main.menu.admin.server_admin.acq.fund_tag.accesskey "G">
<!ENTITY staff.main.menu.admin.server_admin.acq.cancel_reason.label "Cancel Reasons">
--- /dev/null
+[% WRAPPER default/base.tt2 %]
+<script type="text/javascript">
+ dojo.require("openils.widget.AutoGrid");
+ dojo.require("dijit.form.FilteringSelect");
+ openils.Util.addOnLoad(
+ function() { aiitGrid.loadAll({"order_by": {"aiit": "name"}}); }
+ );
+</script>
+<div dojoType="dijit.layout.ContentPane" layoutAlign="top" class="oils-header-panel">
+ <div>Invoice Item Types</div>
+ <div>
+ <button dojoType="dijit.form.Button" onClick="aiitGrid.showCreateDialog();">New Invoice Item Type</button>
+ <button dojoType="dijit.form.Button" onClick="aiitGrid.deleteSelected();">Delete Selected</button>
+ </div>
+</div>
+<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
+ <table jsId="aiitGrid"
+ dojoType="openils.widget.AutoGrid"
+ fieldOrder="['code', 'name', 'prorate']"
+ defaultCellWidth="'auto'"
+ query="{id: '*'}"
+ fmClass="aiit"
+ editOnEnter="true">
+ </table>
+</div>
+[% END %]
--- /dev/null
+[% WRAPPER default/base.tt2 %]
+<script type="text/javascript">
+ dojo.require("openils.widget.AutoGrid");
+ dojo.require("dijit.form.FilteringSelect");
+ openils.Util.addOnLoad(
+ function() { acqipmGrid.loadAll({"order_by": {"acqipm": "name"}}); }
+ );
+</script>
+<div dojoType="dijit.layout.ContentPane" layoutAlign="top" class="oils-header-panel">
+ <div>Invoice Payment Methods</div>
+ <div>
+ <button dojoType="dijit.form.Button" onClick="acqipmGrid.showCreateDialog();">New Invoice Payment Method</button>
+ <button dojoType="dijit.form.Button" onClick="acqipmGrid.deleteSelected();">Delete Selected</button>
+ </div>
+</div>
+<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
+ <table jsId="acqipmGrid"
+ dojoType="openils.widget.AutoGrid"
+ fieldOrder="['code', 'name']"
+ defaultCellWidth="'auto'"
+ query="{id: '*'}"
+ fmClass="acqipm"
+ editOnEnter="true">
+ </table>
+</div>
+[% END %]
['oncommand'],
function() { open_eg_web_page('conify/global/config/billing_type'); }
],
+ 'cmd_server_admin_acq_invoice_item_type' : [
+ ['oncommand'],
+ function() { open_eg_web_page('conify/global/acq/invoice_item_type'); }
+ ],
+ 'cmd_server_admin_acq_invoice_payment_method' : [
+ ['oncommand'],
+ function() { open_eg_web_page('conify/global/acq/invoice_payment_method'); }
+ ],
'cmd_server_admin_acq_lineitem_alert' : [
['oncommand'],
function() { open_eg_web_page('conify/global/acq/lineitem_alert'); }
<command id="cmd_server_admin_copy_status"/>
<command id="cmd_server_admin_marc_code"/>
<command id="cmd_server_admin_billing_type"/>
+ <command id="cmd_server_admin_acq_invoice_item_type"/>
+ <command id="cmd_server_admin_acq_invoice_payment_method"/>
<command id="cmd_server_admin_acq_cancel_reason"/>
<command id="cmd_server_admin_acq_lineitem_alert"/>
<command id="cmd_server_admin_acq_fund_tag"/>
<menuitem label="&staff.main.menu.admin.server_admin.acq.claim_policy.label;" accesskey="&staff.main.menu.admin.server_admin.acq.claim_policy.accesskey;" command="cmd_server_admin_acq_claim_policy"/>
<menuitem label="&staff.main.menu.admin.server_admin.acq.claim_policy_action.label;" accesskey="&staff.main.menu.admin.server_admin.acq.claim_policy_action.accesskey;" command="cmd_server_admin_acq_claim_policy_action"/>
<menuseparator />
+ <menuitem label="&staff.main.menu.admin.server_admin.acq.invoice_item_type.label;" accesskey="&staff.main.menu.admin.server_admin.acq.invoice_item_type.accesskey;" command="cmd_server_admin_acq_invoice_item_type"/>
+ <menuitem label="&staff.main.menu.admin.server_admin.acq.invoice_payment_method.label;" accesskey="&staff.main.menu.admin.server_admin.acq.invoice_payment_method.accesskey;" command="cmd_server_admin_acq_invoice_payment_method"/>
+ <menuseparator />
<menuitem label="&staff.main.menu.admin.server_admin.acq.lineitem_alert.label;" accesskey="&staff.main.menu.admin.server_admin.acq.lineitem_alert.accesskey;" command="cmd_server_admin_acq_lineitem_alert"/>
<menuitem label="&staff.main.menu.admin.server_admin.acq.cancel_reason.label;" accesskey="&staff.main.menu.admin.server_admin.acq.cancel_reason.accesskey;" command="cmd_server_admin_acq_cancel_reason"/>
</menupopup>