Bugzilla – Attachment 175765 Details for
Bug 38753
Missing table cells breaks OPAC charges table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38753: Missing table cells breaks OPAC charges table
Bug-38753-Missing-table-cells-breaks-OPAC-charges-.patch (text/plain), 2.06 KB, created by
Owen Leonard
on 2024-12-19 13:59:48 UTC
(
hide
)
Description:
Bug 38753: Missing table cells breaks OPAC charges table
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-12-19 13:59:48 UTC
Size:
2.06 KB
patch
obsolete
>From ce26db3bf33c2fd0298e3e4e515ad62806b6cd01 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 19 Dec 2024 13:03:50 +0000 >Subject: [PATCH] Bug 38753: Missing table cells breaks OPAC charges table > >This patch adds a couple of instances of the empty cell required by >DataTables to enable responsive behavior. The mismatch between table >headers and table cells causes DataTables to fail. > >To test you must log in to the OPAC as a user with charges and credit. > >- Apply the patch and go to Patrons in the staff interface. >- Find and view a patron record. Click "Accounting" in the sidebar menu. >- Use the "Create manual invoice" and "Create manual credit" tabs to > create at least one charge and a credit which is greater than the > charges. >- Log in to the OPAC as that user and go to their Charges tab. >- The charges table shoud look correct, with DataTables sorting > indicators on the table headers to indicate that DataTables is > working. > >Sponsored-by: Athens County Public Libraries >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc >index 04e37d1197..afff0d8724 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc >@@ -74,11 +74,13 @@ > </td> > <td class="credit">[% outstanding_credit.amount * -1 | $Price %]</td> > <td class="credit">[% outstanding_credit.amountoutstanding * -1 | $Price %]</td> >+ <td></td> > </tr> > [% END %] > <tr> > <th class="sum" colspan="[% COLSPAN | html %]">Total due if credit(s) applied:</th> > <td class="sum">[% total + outstanding_credits.total_outstanding | $Price %]</td> >+ <td></td> > </tr> > [% END %] > </tfoot> >-- >2.39.5
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 38753
:
175765
|
175806