Fix for Invoice Gen
This commit is contained in:
@@ -1428,7 +1428,8 @@ const closeDocument = async () => {
|
||||
fileData.folder = folders.find(i => i.function === mappedType && i.year === Number(dayjs().format("YYYY"))).id
|
||||
|
||||
const tags = await useEntities("filetags").select()
|
||||
fileData.type = tags.find(i => i.createddocumenttype === mappedType).id
|
||||
console.log(tags)
|
||||
fileData.type = tags.find(i => i.createdDocumentType === mappedType).id
|
||||
|
||||
function dataURLtoFile(dataurl, filename) {
|
||||
var arr = dataurl.split(","),
|
||||
|
||||
Reference in New Issue
Block a user