forked from mirrors/homebox
feat: add receipt support for attachments (#89)
* add receipt support for attachments * fix show logic
This commit is contained in:
parent
dbaaf4ad0a
commit
57f9372e49
6 changed files with 25 additions and 4 deletions
|
@ -13,7 +13,7 @@ var (
|
|||
{Name: "id", Type: field.TypeUUID},
|
||||
{Name: "created_at", Type: field.TypeTime},
|
||||
{Name: "updated_at", Type: field.TypeTime},
|
||||
{Name: "type", Type: field.TypeEnum, Enums: []string{"photo", "manual", "warranty", "attachment"}, Default: "attachment"},
|
||||
{Name: "type", Type: field.TypeEnum, Enums: []string{"photo", "manual", "warranty", "attachment", "receipt"}, Default: "attachment"},
|
||||
{Name: "document_attachments", Type: field.TypeUUID},
|
||||
{Name: "item_attachments", Type: field.TypeUUID},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue