Merge branch 'devCorrected' into 'beta'
Fix for Invoice Gen See merge request fedeo/software!48
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
|
fileData.folder = folders.find(i => i.function === mappedType && i.year === Number(dayjs().format("YYYY"))).id
|
||||||
|
|
||||||
const tags = await useEntities("filetags").select()
|
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) {
|
function dataURLtoFile(dataurl, filename) {
|
||||||
var arr = dataurl.split(","),
|
var arr = dataurl.split(","),
|
||||||
|
|||||||
Reference in New Issue
Block a user