Update index.html
1 file changed+4−1
index.html+4−1View file
| @@ -2106,7 +2106,10 @@ | ||
| activeAttachedInvoice = { | ||
| name: existingTs.invoiceFileName, | ||
| data: existingTs.invoiceFileData, | ||
| - size: "Attached" | ||
| + size: existingTs.invoiceFileSize ? (Math.round(existingTs.invoiceFileSize / 1024) + " KB") : "Attached", | ||
| + sizeBytes: existingTs.invoiceFileSize || 0, | ||
| + type: existingTs.invoiceContentType || "application/pdf", | ||
| + fileUrl: existingTs.invoiceFileUrl || "" | ||
| }; | ||
| } else { | ||
| activeAttachedInvoice = null; | ||