Bug 38010: Check for baskets for receive shipments button

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Matt Blenkinsop 2024-12-05 14:28:22 +00:00 committed by Katrin Fischer
parent 29ca78bb48
commit ebb1e2a978
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ export default {
icon: "fa fa-inbox",
should_display: row =>
row.active &&
row.baskets?.length > 0 &&
this.isUserPermitted(
"CAN_user_acquisition_order_receive"
),