diff --git a/office-alexander-logistics-app/src/main/webapp/pages/workitems/forms/alexander/sub_positionen.xhtml b/office-alexander-logistics-app/src/main/webapp/pages/workitems/forms/alexander/sub_positionen.xhtml index 3d5359e..c4ca082 100644 --- a/office-alexander-logistics-app/src/main/webapp/pages/workitems/forms/alexander/sub_positionen.xhtml +++ b/office-alexander-logistics-app/src/main/webapp/pages/workitems/forms/alexander/sub_positionen.xhtml @@ -7,80 +7,66 @@ + id="oderlist" binding="#{orderlistContainer}"> - - - + + - - - + + - - - - + - - + - + - - + + - - - +
Pos.Positionsnummer *#Positionsnummer * BuchungsperiodeSteuerBetrag + SteuerBetrag
+ - + - - - -
- -
- + @@ -112,8 +98,8 @@ // This method refreshs the layout function updateOrderItems(data) { if (data.status === 'success') { - $('[id$=oderlist]').imixsLayout(); - calculateSummary(); + calculateSummary(); + $('[id$=oderlist]').imixsLayout(); } } @@ -132,24 +118,17 @@ // round sum = Math.round(sum * 100) / 100; total = total + sum; - $("[data-id='orderitem_total']",tableRow).val(sum); sum = convertToCurrency(sum); - console.log('sum=' + sum); - $("[data-id='orderitem_total_dsp']",tableRow).val(sum); - $("[data-id='orderitem_summary']", tableRow).empty(); - $("[data-id='orderitem_summary']", tableRow).append(sum); - - + //console.log('sum=' + sum); + $("[data-id='orderitem_amount']",tableRow).val(sum); } } }); // update total _capacity - // update orderlist_summary $("[data-id='orderitems_capacity']").val(total); total = convertToCurrency(total); - $("[data-id='orderitems_capacity_dsp']").val(total); $("[data-id='orderlist_summary']", ".imixs-orderitems").empty(); $("[data-id='orderlist_summary']", ".imixs-orderitems").append(total);