update archvie
This commit is contained in:
parent
6cafc831ec
commit
60af5af539
7 changed files with 14 additions and 29 deletions
|
|
@ -32,7 +32,7 @@ import java.util.Calendar;
|
|||
import java.util.Date;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import javax.enterprise.context.ConversationScoped;
|
||||
import javax.enterprise.context.SessionScoped;
|
||||
import javax.enterprise.event.Observes;
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Named;
|
||||
|
|
@ -51,7 +51,7 @@ import org.imixs.workflow.office.views.SearchEvent;
|
|||
*/
|
||||
|
||||
@Named
|
||||
@ConversationScoped
|
||||
@SessionScoped
|
||||
public class CustomSearchController implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
@ -182,7 +182,7 @@ public class CustomSearchController implements Serializable {
|
|||
}
|
||||
}
|
||||
|
||||
logger.info(query);
|
||||
logger.fine("Custom Query=" + query);
|
||||
// Udpate query
|
||||
searchEvent.setQuery(query);
|
||||
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ invoicenumber=Rechnungsnummer
|
|||
invoicedate=Rechnungsdatum
|
||||
invoiceduedate=Fälligkeit
|
||||
invoiceamount=Rechnungsbetrag
|
||||
invoicecurrency=Währung
|
||||
payment_type=Zahlungsart
|
||||
sequencenumber=Belegnummer
|
||||
amount=Betrag
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ invoicenumber=Invoice No.
|
|||
invoicedate=Invoice Date
|
||||
invoiceduedate=Due Date
|
||||
invoiceamount=Invoice amount
|
||||
invoicecurrency=Currency
|
||||
payment_type=Payment Type
|
||||
sequencenumber=Request No.
|
||||
amount=Amount
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
|
||||
template="/layout/template.xhtml">
|
||||
|
||||
|
||||
<h:head>
|
||||
<!-- init search controller -->
|
||||
<f:metadata>
|
||||
|
|
@ -11,7 +10,6 @@
|
|||
</f:metadata>
|
||||
</h:head>
|
||||
|
||||
|
||||
<ui:define name="scripts">
|
||||
<script type="text/javascript"
|
||||
src="#{facesContext.externalContext.requestContextPath}/js/imixs-office.worklist.js?build=#{app.application_build_timestamp}"></script>
|
||||
|
|
@ -19,9 +17,8 @@
|
|||
src="#{facesContext.externalContext.requestContextPath}/js/imixs-office.worklist.custom.js?build=#{app.application_build_timestamp}"></script>
|
||||
</ui:define>
|
||||
|
||||
|
||||
|
||||
<ui:define name="content">
|
||||
<ui:include src="/pages/error_message.xhtml" />
|
||||
<f:view>
|
||||
<h:form>
|
||||
<ui:param name="searchresult" value="#{viewHandler.getData(searchController)}"></ui:param>
|
||||
|
|
@ -35,8 +32,6 @@
|
|||
</h1>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="imixs-body">
|
||||
<!-- *** Header **** -->
|
||||
<ui:fragment rendered="#{empty searchController.defaultQuery}">
|
||||
|
|
@ -46,14 +41,10 @@
|
|||
</div>
|
||||
</ui:fragment>
|
||||
|
||||
|
||||
<div class="imixs-view-submit-panel">
|
||||
<!-- Search Button and Search Order -->
|
||||
|
||||
|
||||
<h:commandButton value="#{message.search}"
|
||||
action="#{customSearchController.refreshAGLArchive()}">
|
||||
<f:ajax render="@form" execute="@form" onevent="updateSearchForm" />
|
||||
</h:commandButton>
|
||||
<h:commandButton value="#{message.reset}" action="#{customSearchController.resetSearch()}">
|
||||
<f:ajax render="@form" execute="@form" onevent="updateSearchForm" />
|
||||
|
|
@ -70,11 +61,10 @@
|
|||
<f:selectItem itemValue="1" itemLabel="#{message['worklist.sortorder_newest']}" />
|
||||
<f:selectItem itemValue="2" itemLabel="#{message['worklist.sortorder_oldest']}" />
|
||||
<f:ajax event="change" render="@form"
|
||||
listener="#{customSearchController.refreshSearch}"
|
||||
listener="#{customSearchController.refreshAGLArchive}"
|
||||
onevent="imixsOfficeMain.layoutAjaxEvent" />
|
||||
</h:selectOneMenu>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
|
@ -85,7 +75,6 @@
|
|||
<ui:fragment rendered="#{!noresult}">
|
||||
<h:panelGroup layout="block" id="worklist-body">
|
||||
|
||||
|
||||
<div class="search-result-summary">#{message.total_result} #{searchresultCount}
|
||||
#{message.serach_hits}</div>
|
||||
|
||||
|
|
@ -96,7 +85,6 @@
|
|||
</ui:include>
|
||||
</ui:repeat>
|
||||
|
||||
|
||||
<!-- display empty search result -->
|
||||
<h:panelGroup
|
||||
rendered="#{(empty searchresult) and (empty facesContext.maximumSeverity)}">
|
||||
|
|
|
|||
|
|
@ -36,11 +36,10 @@
|
|||
</div>
|
||||
<div class="invioce-div2">
|
||||
|
||||
|
||||
<dt>Währung:</dt>
|
||||
<dt>#{custom.invoicecurrency}:</dt>
|
||||
<dd>
|
||||
<h:inputText value="#{searchController.searchFilter.item['invoice.currency']}"
|
||||
id="currencyinput_id" pt:autocomplete="off" pt:list="autocomplete-currency" required="false"
|
||||
id="currencyinput_id" pt:autocomplete="off" pt:list="autocomplete-currency"
|
||||
style="width:70px;text-transform: uppercase;">
|
||||
</h:inputText>
|
||||
<datalist id="autocomplete-currency">
|
||||
|
|
@ -57,8 +56,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>#{custom.invoicedate}:</dt>
|
||||
|
|
@ -77,7 +74,6 @@
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl>
|
||||
<dt>#{custom.closingdate}:</dt>
|
||||
<dd>
|
||||
|
|
@ -105,14 +101,13 @@
|
|||
</h:inputText>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
<div class="imixs-form-section-3">
|
||||
|
||||
<dl>
|
||||
<dt>#{custom.payment_type}:</dt>
|
||||
<dd>
|
||||
<h:selectOneMenu required="true" value="#{searchController.searchFilter.item['payment.type']}">
|
||||
<h:selectOneMenu value="#{searchController.searchFilter.item['payment.type']}">
|
||||
<f:selectItem itemLabel=" " itemValue=" " />
|
||||
<c:forEach items="#{sepaController.dbtrList}" var="dbtr">
|
||||
<f:selectItem itemLabel="#{dbtr.item['name']}" itemValue="#{dbtr.item['name']}" />
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<CstmrCdtTrfInitn>
|
||||
<GrpHdr>
|
||||
<MsgId>bf073e72asdf512c4d60af7740872036</MsgId>
|
||||
<CreDtTm>2024-03-21T12:16:05</CreDtTm>
|
||||
<CreDtTm>2024-04-03T15:17:47</CreDtTm>
|
||||
<NbOfTxs>3</NbOfTxs>
|
||||
<CtrlSum>655.90</CtrlSum>
|
||||
<InitgPty>
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
<Cd>SEPA</Cd>
|
||||
</SvcLvl>
|
||||
</PmtTpInf>
|
||||
<ReqdExctnDt>2024-03-21</ReqdExctnDt>
|
||||
<ReqdExctnDt>2024-04-03</ReqdExctnDt>
|
||||
<Dbtr>
|
||||
<Nm>Targo Bank</Nm>
|
||||
</Dbtr>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<CstmrCdtTrfInitn>
|
||||
<GrpHdr>
|
||||
<MsgId>bf073e72asdf512c4d60af7740872036</MsgId>
|
||||
<CreDtTm>2024-03-21T12:16:05</CreDtTm>
|
||||
<CreDtTm>2024-04-03T15:17:47</CreDtTm>
|
||||
<NbOfTxs>3</NbOfTxs>
|
||||
<CtrlSum>655.90</CtrlSum>
|
||||
<InitgPty>
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
<Cd>SEPA</Cd>
|
||||
</SvcLvl>
|
||||
</PmtTpInf>
|
||||
<ReqdExctnDt>2024-03-21</ReqdExctnDt>
|
||||
<ReqdExctnDt>2024-04-03</ReqdExctnDt>
|
||||
<Dbtr>
|
||||
<Nm>Targo Bank</Nm>
|
||||
</Dbtr>
|
||||
|
|
|
|||
Loading…
Reference in a new issue