Added navigate to archive in use entities
added archiving in incoming invoices
This commit is contained in:
@@ -128,7 +128,10 @@ export const useEntities = (
|
||||
method: "PUT",
|
||||
body: { archived: true }
|
||||
})
|
||||
navigateTo(dataType.isStandardEntity ? `/standardEntity/${relation}` : `/${relation}`)
|
||||
|
||||
return res
|
||||
|
||||
}
|
||||
|
||||
return {select, create, update, archive, selectSingle, selectSpecial}
|
||||
|
||||
Reference in New Issue
Block a user