mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 18:46:52 +01:00
Enhancement: implement document link custom field (#4799)
This commit is contained in:
parent
66efaedcbb
commit
4481f12e32
16 changed files with 542 additions and 136 deletions
|
|
@ -8,6 +8,7 @@ export enum PaperlessCustomFieldDataType {
|
|||
Integer = 'integer',
|
||||
Float = 'float',
|
||||
Monetary = 'monetary',
|
||||
DocumentLink = 'documentlink',
|
||||
}
|
||||
|
||||
export const DATA_TYPE_LABELS = [
|
||||
|
|
@ -39,6 +40,10 @@ export const DATA_TYPE_LABELS = [
|
|||
id: PaperlessCustomFieldDataType.Url,
|
||||
name: $localize`Url`,
|
||||
},
|
||||
{
|
||||
id: PaperlessCustomFieldDataType.DocumentLink,
|
||||
name: $localize`Document Link`,
|
||||
},
|
||||
]
|
||||
|
||||
export interface PaperlessCustomField extends ObjectWithId {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue