Bug 32984: (QA follow-up) Update to respect EDIFACT preference
Since the first submission of this patch we have introduced a system preference to enable/disable edifact in it's entirety. This patch adds the check for this preference. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
2fb758d395
commit
befb7f9f42
1 changed files with 1 additions and 1 deletions
|
@ -860,7 +860,7 @@
|
|||
[% order.invoice.invoicenumber | html %]
|
||||
[% END %]
|
||||
|
||||
[% IF CAN_user_acquisition_edi_manage && order.invoice.message_id %]
|
||||
[% IF ( Koha.Preference('EDIFACT') && 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 %]
|
||||
|
|
Loading…
Reference in a new issue