You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcp-panel/share/templates/billing/zones.tt

27 lines
1.0 KiB

[% META title = 'Billing Zones' -%]
[%
helper.name = 'Billing Zones';
helper.show_create_button = 1;
helper.messages = messages;
helper.column_titles = [ '#', 'Zone', 'Zone Detail' ];
helper.column_fields = [ 'id', 'zone', 'detail' ];
helper.close_target = close_target;
helper.create_flag = create_flag;
helper.edit_flag = edit_fee_flag;
helper.form_object = form;
helper.ajax_uri = c.uri_for_action( '/billing/zones_ajax',[c.req.captures.0] );
helper.tmpuri = c.uri_for( profile.id, 'zones');
helper.dt_buttons = [
{ name = 'Edit', uri = helper.tmpuri _ "/'+full[\"id\"]+'/edit", class = 'btn-small btn-primary', icon = 'icon-edit' },
{ name = 'Delete', uri = helper.tmpuri _ "/'+full[\"id\"]+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' },
];
helper.top_buttons = [
{ name = 'Back', uri = c.uri_for(profile.id, 'fees'), icon = 'icon-arrow-left' },
];
PROCESS 'helpers/datatables.tt';
-%]
[% # vim: set tabstop=4 syntax=html expandtab: -%]