Bugzilla – Attachment 146739 Details for
Bug 32984
The EDIFACT message that receives an item should be linked on the 'Acquisition details' tab on catalogue details page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32984: Add link to EDI invoice to "Invoice" column if there is one
Bug-32984-Add-link-to-EDI-invoice-to-Invoice-colum.patch (text/plain), 1.58 KB, created by
Kyle M Hall (khall)
on 2023-02-16 15:36:11 UTC
(
hide
)
Description:
Bug 32984: Add link to EDI invoice to "Invoice" column if there is one
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-02-16 15:36:11 UTC
Size:
1.58 KB
patch
obsolete
>From 63643b168f3ca85c72d81572ba04155e0e1bda10 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 16 Feb 2023 10:32:07 -0500 >Subject: [PATCH] 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 >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 58ca8e1a703..9c9ef29302c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -868,6 +868,10 @@ Note that permanent location is a code, and location may be an authval. > [% ELSE %] > [% order.invoice.invoicenumber | html %] > [% END %] >+ >+ [% IF CAN_user_acquisition_edi_manage && order.invoice.message_id %] >+ (<a href="/cgi-bin/koha/acqui/edimsg.pl?id=[% order.invoice.message_id | uri %]" title="EDI INVOICE message">EDI message</a>) >+ [% END %] > [% END %] > </td> > <td> >-- >2.39.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32984
:
146739
|
155456
|
155457