Fix: Journal ctrl+P not working
This commit is contained in:
1 parent
70b9f18034
commit
62f43e59d7
1 file changed
+1
-1
@@ -164,7 +164,7 @@ export class JournalComponent {
|
|||||||
|
|
||||||
postListner(event: Event) {
|
postListner(event: Event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
if (this.id() && !this.form.posted() && this.auth.allowed('post-vouchers')) {
|
if (this.id() && !this.form.posted().controlValue() && this.auth.allowed('post-vouchers')) {
|
||||||
this.post();
|
this.post();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user