]> git.koha-community.org Git - koha.git/commit
Bug 32984: Add link to EDI invoice to "Invoice" column if there is one
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 16 Feb 2023 15:32:07 +0000 (10:32 -0500)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 19 Sep 2023 19:34:26 +0000 (16:34 -0300)
commit2fb758d39585c35042e42fb3a1fcfa4850df2a3b
treee60741493bbe53fa4a5c47c54edcb41531f680e9
parentbf515ec6d45ac78dd586c01c18d21703bfc60b17
Bug 32984: Add link to EDI invoice to "Invoice" column if there is one

Test Plan:
1) Find or create an item invoiced via an EDI INVOICE message
2) Ensure you have the edi_manage subpermission
3) View catalogue/detail.pl, not the invoice link in the invoice column
4) Apply this patch
5) Restart all the things!
6) Reload catalogue/detail.pl
7) Note the new "(EDI invoice)" link in the column for the item
8) Verify the link does not show if you do not have the edi_manage
   subpermission

Signed-off-by: Jeremy Evans <Jeremy.Evans@ukhsa.gov.uk>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt