Added E-Mail loading from Customer

This commit is contained in:
2025-01-17 11:53:25 +01:00
parent 57c0f81263
commit cdb3131185
3 changed files with 11 additions and 3 deletions

View File

@@ -144,7 +144,7 @@ export const useFiles = () => {
} else {
data = (await supabase
.from("files")
.select('*, incominginvoice(*), project(*), vendor(*), customer(*), contract(*), plant(*), createddocument(*), vehicle(*), product(*), profile(*), check(*), inventoryitem(*)')
.select('*, incominginvoice(*), project(*), vendor(*), customer(*), contract(*), plant(*), createddocument(*, customer(*)), vehicle(*), product(*), profile(*), check(*), inventoryitem(*)')
.in("id",documentIds)
.not("path","is",null)
.not("archived","is",true)