A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
changed field order, updated ng-select for tag color selection
jonaswinklerb653e44f65bf
diff --git a/src-ui/src/app/components/common/input/select/select.component.html b/src-ui/src/app/components/common/input/select/select.component.htmlindex 655adbe74..d33dae425 100644--- a/src-ui/src/app/components/common/input/select/select.component.html+++ b/src-ui/src/app/components/common/input/select/select.component.html@@ -1,7 +1,7 @@<div class="form-group paperless-input-select"><label [for]="inputId">{{title}}</label><div [class.input-group]="showPlusButton()">- <ng-select name="correspondent" [(ngModel)]="value"+ <ng-select name="inputId" [(ngModel)]="value"[disabled]="disabled"[style.color]="textColor"[style.background]="backgroundColor"diff --git a/src-ui/src/app/components/manage/correspondent-list/correspondent-edit-dialog/correspondent-edit-dialog.component.html b/src-ui/src/app/components/manage/correspondent-list/correspondent-edit-dialog/correspondent-edit-dialog.component.htmlindex 307c78c3c..e09ea38bf 100644--- a/src-ui/src/app/components/manage/correspondent-list/correspondent-edit-dialog/correspondent-edit-dialog.component.html+++ b/src-ui/src/app/components/manage/correspondent-list/correspondent-edit-dialog/correspondent-edit-dialog.component.html@@ -8,10 +8,9 @@<div class="modal-body"><app-input-text title="Name" formControlName="name"></app-input-text>- <app-input-text title="Match" formControlName="match"></app-input-text><app-input-select title="Matching algorithm" [items]="getMatchingAlgorithms()" formControlName="matching_algorithm"></app-input-select>- <app-input-check title="Case insensitive" formControlName="is_insensitive"></app-input-check>-+ <app-input-text title="Match" formControlName="match" hint="Auto matching does not require you to fill in this field."></app-input-text>+ <app-input-check title="Case insensitive" formControlName="is_insensitive" hint="Auto matching ignores this option."></app-input-check></div><div class="modal-footer"><button type="button" class="btn btn-outline-dark" (click)="cancel()">Cancel</button>diff --git a/src-ui/src/app/components/manage/document-type-list/document-type-edit-dialog/document-type-edit-dialog.component.html b/src-ui/src/app/components/manage/document-type-list/document-type-edit-dialog/document-type-edit-dialog.component.htmlindex 013c5a947..3338c40c3 100644--- a/src-ui/src/app/components/manage/document-type-list/document-type-edit-dialog/document-type-edit-dialog.component.html+++ b/src-ui/src/app/components/manage/document-type-list/document-type-edit-dialog/document-type-edit-dialog.component.html@@ -8,9 +8,9 @@<div class="modal-body"><app-input-text title="Name" formControlName="name"></app-input-text>- <app-input-text title="Match" formControlName="match"></app-input-text><app-input-select title="Matching algorithm" [items]="getMatchingAlgorithms()" formControlName="matching_algorithm"></app-input-select>- <app-input-check title="Case insensitive" formControlName="is_insensitive"></app-input-check>+ <app-input-text title="Match" formControlName="match" hint="Auto matching does not require you to fill in this field."></app-input-text>+ <app-input-check title="Case insensitive" formControlName="is_insensitive" hint="Auto matching ignores this option."></app-input-check></div><div class="modal-footer">diff --git a/src-ui/src/app/components/manage/tag-list/tag-edit-dialog/tag-edit-dialog.component.html b/src-ui/src/app/components/manage/tag-list/tag-edit-dialog/tag-edit-dialog.component.htmlindex 8048b0c80..2d9f93252 100644--- a/src-ui/src/app/components/manage/tag-list/tag-edit-dialog/tag-edit-dialog.component.html+++ b/src-ui/src/app/components/manage/tag-list/tag-edit-dialog/tag-edit-dialog.component.html@@ -7,11 +7,21 @@</div><div class="modal-body"><app-input-text title="Name" formControlName="name"></app-input-text>- <app-input-select title="Colour" [items]="getColours()" formControlName="colour" [textColor]="getColor(objectForm.value.colour).textColor" [backgroundColor]="getColor(objectForm.value.colour).value"></app-input-select>+++ <div class="form-group paperless-input-select">+ <label for="colour">Colour</label>+ <ng-select name="colour" formControlName="colour" [items]="getColours()" bindValue="id" bindLabel="name">+ <ng-template ng-option-tmp ng-label-tmp let-item="item">+ <span class="badge" [style.background]="item.value" [style.color]="item.textColor">{{item.name}}</span>+ </ng-template>+ </ng-select>+ </div>+<app-input-check title="Inbox tag" formControlName="is_inbox_tag" hint="Inbox tags are automatically assigned to all consumed documents."></app-input-check>- <app-input-text title="Match" formControlName="match"></app-input-text><app-input-select title="Matching algorithm" [items]="getMatchingAlgorithms()" formControlName="matching_algorithm"></app-input-select>- <app-input-check title="Case insensitive" formControlName="is_insensitive"></app-input-check>+ <app-input-text title="Match" formControlName="match" hint="Auto matching does not require you to fill in this field."></app-input-text>+ <app-input-check title="Case insensitive" formControlName="is_insensitive" hint="Auto matching ignores this option."></app-input-check></div><div class="modal-footer"><button type="button" class="btn btn-outline-dark" (click)="cancel()">Cancel</button>