Bugzilla – Attachment 175363 Details for
Bug 38667
Point of sale transaction history should not appear to be sortable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38667: Point of sale transaction history should not appear to be sortable
Bug-38667-Point-of-sale-transaction-history-should.patch (text/plain), 2.20 KB, created by
Owen Leonard
on 2024-12-10 18:14:44 UTC
(
hide
)
Description:
Bug 38667: Point of sale transaction history should not appear to be sortable
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-12-10 18:14:44 UTC
Size:
2.20 KB
patch
obsolete
>From 7ec484791600a8fe87c7c7b34d64ec8e19af317a Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 10 Dec 2024 16:26:05 +0000 >Subject: [PATCH] Bug 38667: Point of sale transaction history should not > appear to be sortable > >This patch adds configuration options to the Point of sale "Transactions >to date" and "Older transactions" tables so that they don't appear to be >sortable. Both have an option that makes their sorting fixed. > >To test, apply the patch and go to Point of Sale. > >- Enable 'EnablePointOfSale' and 'UseCashRegisters' system preferences. >- Add a least one cash register (Administration -> Cash registers). >- Add a least one debit type (Administration -> Debit types). Check "Can > be sold." >- Go to the Point of Sale page. > - Under "Items for purchase" click "Add" next to an item. > - Under "Collect payment," fill out the form, including the cash > register selection, and submit. >- Click "Transaction history for..." in the sidebar menu. (You may have > to click "Cash summary for..." and then the name of the register you > used in your transaction. > - Check that the "Transactions to date" and "Older transactions" > tables do not have sorting indicators in the table headers. > >Sponsored-by: Athens County Public Libraries >--- > koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >index 1824a3efcb..e449fef31c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >@@ -357,6 +357,7 @@ > <script> > var sales_table = $("#sales").dataTable($.extend(true, {}, dataTablesDefaults, { > orderFixed: [ 0, 'asc'], >+ ordering: false, > columnDefs: [ { > targets: [ 0, 1 ], > visible: false >@@ -383,6 +384,7 @@ > > var past_sales_table = $("#past_sales").dataTable($.extend(true, {}, dataTablesDefaults, { > orderFixed: [ 0, 'asc'], >+ ordering: false, > columnDefs: [ { > targets: [ 0, 1 ], > visible: false >-- >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 38667
:
175363
|
175944