<%=raw app.core.View.getTemplate( 'configuration-nav', { activeTab : 'contract' } ) %>
Vertragsübersicht

<% if ( contracts.length > 0 ) { %>
<% var c = null; %> <% for ( let ci = 0; ci < contracts.length; ci++ ) { %> <% c = contracts[ ci ]; %> <% } %>
ID Gruppe Name Status Kontingent Zahlung  
<%= c.getId() %> <%= c.getContracteeData( 'groupName', '---' ) %> <%= c.getName() %> <% if ( c.isRunning() ) { %> aktiv <% } else { %> inaktive <% } %> <% if ( c.isFlatrate() ) { %> Flatrate <% } else { %> <%= c.getCurrentPriceFactor() %> / <%= c.getMaxPriceFactor() %> <% } %> <% if ( c.isPayed() ) { %> bezahlt <% } else if ( c.isPaymentDue() ) { %> -<%= c.getOpenPaymentAmount() %> € <% } else { %> -<%= c.getOpenPaymentAmount() %> € <% } %>
<% } else { %>

Keine Verträge vorhanden.

<% } %>