Bugzilla – Attachment 111633 Details for
Bug 26172
Add a cashup summary view (with option to print)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26172: (QA follow-up) Fix order of summary
Bug-26172-QA-follow-up-Fix-order-of-summary.patch (text/plain), 1.39 KB, created by
Martin Renvoize (ashimema)
on 2020-10-14 16:17:02 UTC
(
hide
)
Description:
Bug 26172: (QA follow-up) Fix order of summary
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-10-14 16:17:02 UTC
Size:
1.39 KB
patch
obsolete
>From a0448f2735af6b1cf0794c302f1ee7457eb4177b Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 14 Oct 2020 17:14:47 +0100 >Subject: [PATCH] Bug 26172: (QA follow-up) Fix order of summary > >--- > Koha/Cash/Register/Action.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/Koha/Cash/Register/Action.pm b/Koha/Cash/Register/Action.pm >index 2836d4a32e..5ffdb4167f 100644 >--- a/Koha/Cash/Register/Action.pm >+++ b/Koha/Cash/Register/Action.pm >@@ -112,6 +112,7 @@ sub cashup_summary { > { > join => { 'debit' => 'debit_type_code' }, > group_by => [ 'debit.debit_type_code', 'debit_type_code.description' ], >+ order_by => { '-asc' => 'debit.debit_type_code' }, > 'select' => [ { sum => 'me.amount' }, 'debit.debit_type_code', 'debit_type_code.description' ], > 'as' => [ 'total', 'debit_type_code', 'debit_description' ], > } >@@ -126,6 +127,7 @@ sub cashup_summary { > { > join => { 'credit' => 'credit_type_code' }, > group_by => [ 'credit.credit_type_code', 'credit_type_code.description' ], >+ order_by => { '-asc' => 'credit.credit_type_code' }, > 'select' => [ { sum => 'me.amount' }, 'credit.credit_type_code', 'credit_type_code.description' ], > 'as' => [ 'total', 'credit_type_code', 'credit_description' ], > } >-- >2.20.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 26172
:
108093
|
108095
|
108523
|
108817
|
108818
|
108822
|
108825
|
108826
|
108827
|
111162
|
111163
|
111164
|
111598
|
111599
|
111600
|
111601
|
111629
|
111630
|
111631
|
111632
| 111633 |
111634
|
111668
|
111683
|
111691
|
111692
|
111731
|
111732
|
112907
|
112908
|
112909