|
|
|
@ -136,15 +136,16 @@ function addTableRow(){
|
|
|
|
|
showAlert("Bitte gib einen gültigen Betrag ein!");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
a_amount = parseFloat(a_amount).toFixed(2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var a_currency = document.getElementById("a_currency").value;
|
|
|
|
|
if (!a_currency.trim().length){
|
|
|
|
|
/* if (!a_currency.trim().length){
|
|
|
|
|
document.getElementById("a_currency").focus();
|
|
|
|
|
showAlert("Bitte gib eine Währung an!");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
var target = document.getElementById("upload-target"+currentRowId);
|
|
|
|
|
var children = target.children;
|
|
|
|
|
|
|
|
|
@ -178,7 +179,7 @@ function addTableRow(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// add column for num
|
|
|
|
|
e += `<td>${a_amount}
|
|
|
|
|
e += `<td>${a_amount} EUR
|
|
|
|
|
<input type="hidden" name="amount[${currentRowId}]" value="${a_amount}" /></td>`;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -198,7 +199,8 @@ function addTableRow(){
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
*/
|
|
|
|
|
e += `<td>${a_currency}
|
|
|
|
|
var ulfiles = children.length;
|
|
|
|
|
e += `<td>${ulfiles}
|
|
|
|
|
<input type="hidden" name="currency[${currentRowId}]" value="${a_currency}" /></td>
|
|
|
|
|
</td>`;
|
|
|
|
|
|
|
|
|
|