Bug 34853: Add clearfix span to Invoice links

This patch adds a clearfix span around the invoicenumber and EDI message
display texts which should result in them each having their own line.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Martin Renvoize 2023-09-20 16:47:49 +01:00 committed by Katrin Fischer
parent 4509614561
commit 939ad01baf
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -855,15 +855,15 @@
<td>
[% IF order.invoiceid %]
[% IF CAN_user_acquisition %]
<a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]"
<span class="clearfix"><a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]"
title="Invoice detail page">
[% order.invoice.invoicenumber | html %]</a>
[% order.invoice.invoicenumber | html %]</a></span>
[% ELSE %]
[% order.invoice.invoicenumber | html %]
<span class="clearfix">[% order.invoice.invoicenumber | html %]</span>
[% END %]
[% 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>)
<span class="clearfix"><a href="/cgi-bin/koha/acqui/edimsg.pl?id=[% order.invoice.message_id | uri %]" title="EDI INVOICE message">EDI message</a></span>
[% END %]
[% END %]
</td>