Show all billing profiles for customer.

agranig/1_0_subfix
Andreas Granig 12 years ago
parent 8d7e3c2111
commit 9afd656365

@ -31,25 +31,20 @@
<table class="table table-bordered table-striped table-highlight table-hover"> <table class="table table-bordered table-striped table-highlight table-hover">
<thead> <thead>
<tr> <tr>
<th>Type</th> <th>Date</th>
<th>Billing Profile</th> <th>Billing Profile Name</th>
<th class="ngcp-actions-column"></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
[% FOR mapping IN contract.billing_mappings.all -%]
[% bprof = mapping.billing_profile -%]
<tr class="sw_action_row"> <tr class="sw_action_row">
<td>Active Billing Profile</td>
<td>fooo</td>
<td class="ngcp-actions-column"></td>
</tr>
<tr class="sw_action_row">
<td>Other Billing Profiles</td>
<td> <td>
2013-04-28 18:00:00 - 2013-04-09 23:59:59: bar<br/> [% bprof.start_date ? bprof.start_date : 'NULL' %] - [% bprof.end_date ? bprof.end_date : 'NULL' %]
2013-06-25 00:00:00 - 2013-07-01 23:59:59: blub
</td> </td>
<td class="ngcp-actions-column"></td> <td>[% bprof.name %]</td>
</tr> </tr>
[% END -%]
</tbody> </tbody>
</table> </table>

Loading…
Cancel
Save