<% if ( filter && filter === 'claim' ) { %> <% } else { %> <% } %> <% for ( let ci = 0; ci < contracts.length; ci++ ) { %> <% if ( filter && filter === 'claim' ) { %> <% } else { %> <% } %> <% } %>
  ID Notiz Name Kontingent Mitglied (ID) Start Ende PreisBezahlt Offen FristErstellt 
<%= contracts[ ci ].id %> <%= contracts[ ci ].admin_note ? contracts[ ci ].admin_note : '' %> <%= contracts[ ci ].name %> <%= contracts[ ci ].isFlatrate() ? 'Flatrate' : ( _nf( contracts[ ci ].getCurrentPriceFactor(),2 ) + '/' + _nf( contracts[ ci ].getMaxPriceFactor(),2 ) ) %> <%= contracts[ ci ].getProfileLastName() %>, <%= contracts[ ci ].getProfileFirstName() %> (ID: <%= ( null !== contracts[ ci ].getProfileId() ) ? contracts[ ci ].getProfileId() : '-' %>) <%= contracts[ ci ].getMomentStartDate().format( 'DD.MM.YYYY' ) %> <%= contracts[ ci ].getMomentEndDate().format( 'DD.MM.YYYY' ) %> <%= _nf( contracts[ ci ].getPrice(), 2 ) %> <%= contracts[ ci ].currency %> <%= _nf( contracts[ ci ].getPricePayed(), 2 ) %> <%= contracts[ ci ].currency %> "> <%= _nf( contracts[ ci ].getClaimAmount(), 2 ) %> <%= contracts[ ci ].currency %> <% if ( contracts[ ci ].isPaymentDue() ) { %> <%= contracts[ ci ].getMomentPaymentDueDate().format( 'DD.MM.YYYY' ) %> <% } else { %> <%= contracts[ ci ].getMomentPaymentDueDate().format( 'DD.MM.YYYY' ) %> <% } %> <%= contracts[ ci ].getMomentCreationDate().format( 'HH:mm [Uhr] - DD.MM.YYYY' ) %> <% if ( filter === 'archive' ) { %> <% } else if ( filter === 'claim' ) { %> <% } else { %> <% } %>