Fix: Journal ctrl+P not working
This commit is contained in:
@@ -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