|
|
|
|
@ -1,8 +1,5 @@
|
|
|
|
|
[% META title = 'Billing Fees' -%]
|
|
|
|
|
|
|
|
|
|
<a href="[% c.uri_for_action('/billing/zones',[c.req.captures.0]) %]" class="btn btn-tertiary btn-large">Edit Zones</a>
|
|
|
|
|
|
|
|
|
|
<a href="[% c.uri_for_action('/billing/fees_upload',[c.req.captures.0]) %]" class="btn btn-tertiary btn-large">Upload CSV Fees</a>
|
|
|
|
|
[%
|
|
|
|
|
helper.name = 'Billing Fees';
|
|
|
|
|
helper.messages = messages;
|
|
|
|
|
@ -15,7 +12,17 @@
|
|
|
|
|
helper.form_object = form;
|
|
|
|
|
helper.has_edit = has_edit;
|
|
|
|
|
helper.ajax_uri = c.uri_for_action('/billing/fees_ajax', [c.req.captures.0]);
|
|
|
|
|
helper.base_uri = c.uri_for( profile.id, 'fees');
|
|
|
|
|
|
|
|
|
|
helper.tmpuri = c.uri_for( profile.id, 'fees');
|
|
|
|
|
helper.dt_buttons = [
|
|
|
|
|
{ name = 'Edit', uri = helper.tmpuri _ "/'+full[0]+'/edit", class = 'btn-small btn-primary', icon = 'icon-edit' },
|
|
|
|
|
{ name = 'Delete', uri = helper.tmpuri _ "/'+full[0]+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' },
|
|
|
|
|
];
|
|
|
|
|
helper.top_buttons = [
|
|
|
|
|
{ name = 'Create Fee Entry', uri = c.uri_for( profile.id, 'fees') _ "/create", icon = 'icon-star' },
|
|
|
|
|
{ name = 'Upload Fees as CSV', uri = c.uri_for_action('/billing/fees_upload',[c.req.captures.0]), icon = 'icon-star' },
|
|
|
|
|
{ name = 'Edit Zones', uri = c.uri_for_action('/billing/zones',[c.req.captures.0]), icon = 'icon-star' },
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
PROCESS 'helpers/datatables.tt';
|
|
|
|
|
-%]
|
|
|
|
|
|