mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 16:25:33 +01:00
Working bulk editor component
This commit is contained in:
parent
275bd96ba8
commit
24c53e78a7
7 changed files with 109 additions and 62 deletions
|
|
@ -139,7 +139,9 @@ export class DocumentListComponent implements OnInit {
|
|||
)
|
||||
}
|
||||
|
||||
bulkSetCorrespondent() {
|
||||
bulkSetCorrespondent(correspondent) {
|
||||
console.log(correspondent);
|
||||
|
||||
let modal = this.modalService.open(SelectDialogComponent, {backdrop: 'static'})
|
||||
modal.componentInstance.title = "Select correspondent"
|
||||
modal.componentInstance.message = `Select the correspondent you wish to assign to ${this.list.selected.size} selected document(s):`
|
||||
|
|
@ -166,7 +168,9 @@ export class DocumentListComponent implements OnInit {
|
|||
})
|
||||
}
|
||||
|
||||
bulkSetDocumentType() {
|
||||
bulkSetDocumentType(documentType) {
|
||||
console.log();
|
||||
|
||||
let modal = this.modalService.open(SelectDialogComponent, {backdrop: 'static'})
|
||||
modal.componentInstance.title = "Select document type"
|
||||
modal.componentInstance.message = `Select the document type you wish to assign to ${this.list.selected.size} selected document(s):`
|
||||
|
|
@ -193,6 +197,11 @@ export class DocumentListComponent implements OnInit {
|
|||
})
|
||||
}
|
||||
|
||||
bulkSetTags(tags) {
|
||||
console.log('bulkSetTags', tags);
|
||||
|
||||
}
|
||||
|
||||
bulkAddTag() {
|
||||
let modal = this.modalService.open(SelectDialogComponent, {backdrop: 'static'})
|
||||
modal.componentInstance.title = "Select tag"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue