<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>Invoices</h5>
            </div>
            <div class="ibox-content">
                <div class="table-responsive">
                    <table class="table table-hover">
                        <thead>
                            <tr>
                                <th>Billing Date</th>
                                <th>Subscription Id</th>
                                <th>Invoice Id</th>
                                <th>Team Name</th>
                                <th>Total</th>
                            </tr>
                        </thead>
                        <tbody>
                            <% for ( var i = 0; i < invoices.length; i++ ) {   %>
                                <tr data-invoice-id="<%= invoices[ i ].id %>">
                                    <td><%= moment( invoices[ i ].billing_date_dt ).format( 'D.M.YYYY' ) %></td>
                                    <td><%= invoices[ i ].braintree_subscription_id %></td>
                                    <td><%= invoices[ i ].billing_id %></td>
                                    <td><%= invoices[ i ].team_name %></td>
                                    <td><%= invoices[ i ].package_price %> EUR</td>
                                </tr>
                            <% }    %>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>