kreditor search
This commit is contained in:
parent
c91e14de0d
commit
64fe94c261
5 changed files with 14652 additions and 91 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
# Versionen
|
# Versionen
|
||||||
|
|
||||||
### 1.2.16 (Development)
|
### 1.2.17 (Development)
|
||||||
|
|
||||||
|
- neue Archive suche
|
||||||
|
|
||||||
|
### 1.2.16
|
||||||
|
|
||||||
- Upgrade Imixs-Archive auf 2.4.2 - verbesserter IMAP Import
|
- Upgrade Imixs-Archive auf 2.4.2 - verbesserter IMAP Import
|
||||||
- Upgarde Imixs-Adapters 2.3.3-SNAPSHOT
|
- Upgarde Imixs-Adapters 2.3.3-SNAPSHOT
|
||||||
|
|
@ -16,8 +20,7 @@
|
||||||
|
|
||||||
**Achtung**: Kubernetes Deploymets müssen angepasst werden (siehe AGL Polen)
|
**Achtung**: Kubernetes Deploymets müssen angepasst werden (siehe AGL Polen)
|
||||||
|
|
||||||
### 1.2.15 (Development)
|
### 1.2.15
|
||||||
|
|
||||||
- kleinere Layout Anpassungen in den Formualren und input Feldern (Positionstabelle, Sachbearbeiter Auswahl...)
|
- kleinere Layout Anpassungen in den Formualren und input Feldern (Positionstabelle, Sachbearbeiter Auswahl...)
|
||||||
- invoice.exchangerate Input ersetzt nun , durch . damit der Wert richtig gespeichert wird.
|
- invoice.exchangerate Input ersetzt nun , durch . damit der Wert richtig gespeichert wird.
|
||||||
- Fix Cargosoft DATEV Import - Korektur des Rechnungsdatums / Jahr
|
- Fix Cargosoft DATEV Import - Korektur des Rechnungsdatums / Jahr
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,7 @@
|
||||||
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
|
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://xmlns.jcp.org/jsf/core"
|
||||||
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:h="http://xmlns.jcp.org/jsf/html"
|
xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"
|
||||||
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
|
xmlns:marty="http://xmlns.jcp.org/jsf/composite/marty" xmlns:i="http://xmlns.jcp.org/jsf/composite/imixs">
|
||||||
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">
|
|
||||||
|
|
||||||
<!-- Cargosoft Search integration
|
<!-- Cargosoft Search integration
|
||||||
|
|
||||||
|
|
@ -29,18 +25,21 @@
|
||||||
/*<![CDATA[*/
|
/*<![CDATA[*/
|
||||||
|
|
||||||
// init ml input fields...
|
// init ml input fields...
|
||||||
$(document).ready(function() {
|
$(document).ready(function () {
|
||||||
|
|
||||||
// add autocomplete feature to cdtr.number...
|
// add autocomplete feature to cdtr.number...
|
||||||
var creditorField= $("input[data-item='cdtr.number']");
|
var creditorField = $("input[data-item='cdtr.number']");
|
||||||
$(creditorField).each(function() {
|
$(creditorField).each(function () {
|
||||||
$(this).addClass("imixs-ml");
|
$(this).addClass("imixs-ml");
|
||||||
autocompleteInitInput(this,cargosoftCdtrSearch,'autocomplete-resultlist-cargosoft',selectCdtrCallback);
|
autocompleteInitInput(this, cargosoftCdtrSearch, 'autocomplete-resultlist-cargosoft', selectCdtrCallback);
|
||||||
});
|
});
|
||||||
|
|
||||||
// add cargsoft label if available
|
// add cargsoft label if available
|
||||||
var cdtrName="#{workflowController.workitem.item['cdtr.name.cargosoft']}";
|
// see cdtreingabe.xhtml !!
|
||||||
var inputElement=$("input[data-item='cdtr.number']");
|
// var cdtrName = "#{workflowController.workitem.item['cdtr.name.cargosoft']}";
|
||||||
//inputElement.after( "<span id='cdtr-name-id' class='small'>" + cdtrName + "</p>" );
|
// var inputElement = $("input[data-item='cdtr.number']");
|
||||||
|
// inputElement.after("<span id='cdtr-name-id' class='small'>" + cdtrName + "</p>");
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Hier bekommen wir die JSON Struktur mit allen daten.
|
// Hier bekommen wir die JSON Struktur mit allen daten.
|
||||||
|
|
@ -50,24 +49,24 @@
|
||||||
const cdtrData = JSON.parse(selection);
|
const cdtrData = JSON.parse(selection);
|
||||||
|
|
||||||
// fill data into the fields....
|
// fill data into the fields....
|
||||||
var inputElement=$("input[data-item='cdtr.number']");
|
var inputElement = $("input[data-item='cdtr.number']");
|
||||||
inputElement.val(cdtrData.no);
|
inputElement.val(cdtrData.no);
|
||||||
// remove old cdtr.name
|
// remove old cdtr.name
|
||||||
$('#cdtr-name-id').remove();
|
$('#cdtr-name-id').remove();
|
||||||
// append span with cdtr.name....
|
// append span with cdtr.name....
|
||||||
inputElement.after( "<span id='cdtr-name-id' class='small'>" + cdtrData.name + "</p>" );
|
inputElement.after("<span id='cdtr-name-id' class='small'>" + cdtrData.name + "</p>");
|
||||||
|
|
||||||
var inputElementZahlungsziel=$("input[data-item='cdtr.creditperiod']");
|
var inputElementZahlungsziel = $("input[data-item='cdtr.creditperiod']");
|
||||||
var inputElementZahlungszielCdtr=$("input[id$='cdtr_creditperiod']");
|
var inputElementZahlungszielCdtr = $("input[id$='cdtr_creditperiod']");
|
||||||
var inputElementInvoiceDate=$("input[id$='date_invoice']");
|
var inputElementInvoiceDate = $("input[id$='date_invoice']");
|
||||||
var inputElementMail=$("input[data-item='cdtr.mail'],textarea[data-item='cdtr.mail']");
|
var inputElementMail = $("input[data-item='cdtr.mail'],textarea[data-item='cdtr.mail']");
|
||||||
var inputElementIban=$("input[data-item='cdtr.iban']");
|
var inputElementIban = $("input[data-item='cdtr.iban']");
|
||||||
var inputElementBic=$("input[data-item='cdtr.bic']");
|
var inputElementBic = $("input[data-item='cdtr.bic']");
|
||||||
if (inputElementZahlungszielCdtr) {
|
if (inputElementZahlungszielCdtr) {
|
||||||
inputElementZahlungszielCdtr.val(cdtrData.creditperiod);
|
inputElementZahlungszielCdtr.val(cdtrData.creditperiod);
|
||||||
}
|
}
|
||||||
// nur wenn ein Rechnugnsdatum eingegeben wurde
|
// nur wenn ein Rechnugnsdatum eingegeben wurde
|
||||||
if (inputElementInvoiceDate && inputElementInvoiceDate.val()!='' && inputElementZahlungsziel && cdtrData.creditperiod!='') {
|
if (inputElementInvoiceDate && inputElementInvoiceDate.val() != '' && inputElementZahlungsziel && cdtrData.creditperiod != '') {
|
||||||
inputElementZahlungsziel.val(cdtrData.creditperiod);
|
inputElementZahlungsziel.val(cdtrData.creditperiod);
|
||||||
inputElementZahlungsziel.change();
|
inputElementZahlungsziel.change();
|
||||||
//$('.alexander-logistic-date').focus().select();
|
//$('.alexander-logistic-date').focus().select();
|
||||||
|
|
@ -110,12 +109,10 @@
|
||||||
<ui:repeat var="suggest" value="#{cargosoftController.searchResult}">
|
<ui:repeat var="suggest" value="#{cargosoftController.searchResult}">
|
||||||
<div class="autocomplete-resultlist-element" onclick="autocompleteSelectElement('#{suggest.data}')">
|
<div class="autocomplete-resultlist-element" onclick="autocompleteSelectElement('#{suggest.data}')">
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<h:outputText value="#{suggest.display}" escape="false"/>
|
<h:outputText value="#{suggest.display}" escape="false" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</ui:repeat>
|
</ui:repeat>
|
||||||
</h:panelGroup>
|
</h:panelGroup>
|
||||||
|
|
||||||
</ui:composition>
|
</ui:composition>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
|
||||||
|
xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
|
||||||
|
xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"
|
||||||
|
xmlns:marty="http://xmlns.jcp.org/jsf/composite/marty">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Dieses Part zeigt unter dem Eingabefeld einfach nur den cdtr.name.cargosoft an -->
|
||||||
|
|
||||||
|
<h:inputText value="#{workitem.item[item.name]}" pt:data-item="#{item.name}"
|
||||||
|
required="#{item.required?validationController.required:false}" rendered="#{!item.readonly}"
|
||||||
|
disabled="#{item.disabled}" />
|
||||||
|
<h:outputText value="#{workitem.item[item.name]}" rendered="#{item.readonly}" />
|
||||||
|
|
||||||
|
<!-- anzeige cargosoft name -->
|
||||||
|
<h:outputText styleClass="small" value="#{workflowController.workitem.item['cdtr.name.cargosoft']}"
|
||||||
|
style="#{item.readonly?'margin-left:0.9em':''}">
|
||||||
|
</h:outputText>
|
||||||
|
|
||||||
|
</ui:composition>
|
||||||
8284
workflow/rechnungseingang-de-1.2.36.bpmn
Normal file
8284
workflow/rechnungseingang-de-1.2.36.bpmn
Normal file
File diff suppressed because it is too large
Load diff
6258
workflow/rechnungseingang-pl-1.0.2.bpmn
Normal file
6258
workflow/rechnungseingang-pl-1.0.2.bpmn
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue