<%@ page class="CheckTransactionPage" %> <%@ page baseClass="SessionHTTPRequestHandler" %> <%@ page ctorArg="Session*" %> <%@ header include="SessionHTTPRequestHandler.h" %> <%@ page form="true" %> <%@ page compressed="true" %> <%! #include "../SingletonManager/SessionManager.h" enum PageState { PAGE_TRANSACTION_CREATION, PAGE_TRANSACTION_TRANSFER, PAGE_NO_TRANSACTIONS }; %> <%% PageState state = PAGE_NO_TRANSACTIONS; size_t notReadyTransactions = 0; size_t sumTransactions = mSession->getProcessingTransactionCount(); auto processingTransaction = mSession->getNextReadyTransaction(¬ReadyTransactions); if(!processingTransaction.isNull()) { auto transactionType = processingTransaction->getType(); switch(transactionType) { case TRANSACTION_CREATION: state = PAGE_TRANSACTION_CREATION; break; case TRANSACTION_TRANSFER: state = PAGE_TRANSACTION_TRANSFER; break; } } %> Gradido Login Server: Überprüfe Transaktion

Eine Transaktion prüfen

<%= getErrorsHtml() %> <% if(sumTransactions - notReadyTransactions != 1) { %>
<%= sumTransactions - notReadyTransactions %> von <%= sumTransactions %> Transaktionen sind bereit zum prüfen
<% } %> <% if(state == PAGE_NO_TRANSACTIONS) { %>
<% if(sumTransactions == 0) { %>
Es gibt zurzeit keine Transaktionen zum überprüfen
<% } else { %>
Transaktion(en) werden noch vorbereitet, bitte lade die Seite in wenigen Augenblicken erneut.
<% } %>
<% } else if(state == PAGE_TRANSACTION_CREATION) { %> <% } %>
<%= mTimeProfiler.string() %>