office-alexander-logistics/office-alexander-logistics-app/src/main/webapp/pages/admin/kreditor.xhtml

93 lines
2.2 KiB
HTML

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"
xmlns:marty="http://xmlns.jcp.org/jsf/composite/marty"
xmlns:i="http://xmlns.jcp.org/jsf/composite/imixs"
template="/layout/template.xhtml">
<ui:define name="content">
<f:view>
<h:form id="zahlungsziel_form_id">
<!-- Cargosoft Creditor Search integration -->
<ui:include
src="/pages/workitems/forms/alexander/cargsoft-creditor-search.xhtml">
<ui:param name="workitem" value="#{cargosoftController.kreditor}" />
</ui:include>
<div class="imixs-form">
<div class="imixs-header">
<h1>
<h:outputText value="Kreditoren Zahlungsziele " />
</h1>
</div>
<!-- ########## Error ########## -->
<ui:include src="/pages/error_message.xhtml" />
<div class="imixs-body">
<div class="imixs-form-panel">
<div class="imixs-form-section-2">
<dl>
<dt>Kreditor:</dt>
<dd>
<h:inputText
value="#{cargosoftController.kreditor.item['cdtr.number']}"
pt:data-item="cdtr.number" />
</dd>
</dl>
</div>
<h:panelGroup layout="block" styleClass="imixs-form-section"
id="contentIputID">
<dl>
<dt>Zahlungsziel:</dt>
<dd><h:inputText style="width:5em;"
value="#{cargosoftController.kreditor.item['cdtr.creditperiod']}"
pt:data-item="cdtr.creditperiod"
/> Tage</dd>
</dl>
</h:panelGroup>
</div>
</div>
<div class="imixs-footer">
<h:commandButton
action="/pages/admin/kreditor.xhtml?faces-redirect=true"
actionListener="#{cargosoftController.updateZahlungsziel()}"
value="#{message.save}" />
<h:commandButton value="#{message.close}" immediate="true"
action="/pages/notes.xhtml?faces-redirect=true"
actionListener="#{documentController.close()}" />
</div>
</div>
</h:form>
</f:view>
</ui:define>
</ui:composition>