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/contract/profile_mappings_list.tt

28 lines
1.7 KiB

<div id="billingmappingsblock_wrapper" class="form-inline no-footer billingmappingsblock_wrapper">
<table class="table table-bordered table-striped table-highlight table-hover">
<thead>
<tr>
<th>[% c.loc('actual') %]</th>
<th>[% c.loc('Date') %]</th>
<th>[% c.loc('Billing Profile Name') %]</th>
</tr>
</thead>
<tbody>
[% IF billing_mappings_ordered_result.all -%]
[% FOR mapping IN billing_mappings_ordered_result.all -%]
<tr class="sw_action_row [% IF !mapping.get_column('is_future') -%]ngcp-entry-disabled[% END -%]">
<td><input type="checkbox" disabled="disabled" [% IF mapping.get_column('is_actual') -%]checked="checked"[% END -%]/></td>
<td>
[% mapping.start_date ? mapping.start_date : 'NULL' %] - [% mapping.end_date.defined ? mapping.end_date : 'NULL' %]
</td>
<td>[% mapping.billing_profile.name %]</td>
</tr>
[% END -%]
[% ELSE -%]
<tr>
<td colspan="3" class="dataTables_empty">No billing mappings.</td>
</tr>
[% END -%]
</tbody>
</table>
</div>