Bugzilla – Attachment 116152 Details for
Bug 24190
Add additional Acquisition logging
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24190: (follow-up) Fix erroneous tabs
Bug-24190-follow-up-Fix-erroneous-tabs.patch (text/plain), 1.65 KB, created by
Andrew Isherwood
on 2021-02-01 12:05:56 UTC
(
hide
)
Description:
Bug 24190: (follow-up) Fix erroneous tabs
Filename:
MIME Type:
Creator:
Andrew Isherwood
Created:
2021-02-01 12:05:56 UTC
Size:
1.65 KB
patch
obsolete
>From 213e5cf802009ccd682d380f4b1ef90e5124cb7d Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Mon, 28 Sep 2020 15:42:52 +0100 >Subject: [PATCH] Bug 24190: (follow-up) Fix erroneous tabs > >The QA script was reporting forbidden tabs in some of the lines in this >bug, these have now been removed. >--- > acqui/invoice.pl | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/acqui/invoice.pl b/acqui/invoice.pl >index 32d9d607fa..12a1047174 100755 >--- a/acqui/invoice.pl >+++ b/acqui/invoice.pl >@@ -175,19 +175,19 @@ elsif ( $op && $op eq 'mod_adj' ) { > my @encumber_open = $input->multi_param('encumber_open'); > my %e_open = map { $_ => 1 } @encumber_open; > >- my @keys = ('adjustment', 'reason', 'budget_id', 'encumber_open'); >+ my @keys = ('adjustment', 'reason', 'budget_id', 'encumber_open'); > for( my $i=0; $i < scalar @adjustment; $i++ ){ > if( $adjustment_id[$i] eq 'new' ){ > next unless ( $adjustment[$i] || $reason[$i] ); >- my $adj = { >- invoiceid => $invoiceid, >+ my $adj = { >+ invoiceid => $invoiceid, > adjustment => $adjustment[$i], > reason => $reason[$i], > note => $note[$i], > budget_id => $budget_id[$i] || undef, > encumber_open => defined $e_open{ $adjustment_id[$i] } ? 1 : 0, > }; >- my $new_adj = Koha::Acquisition::Invoice::Adjustment->new($adj); >+ my $new_adj = Koha::Acquisition::Invoice::Adjustment->new($adj); > $new_adj->store(); > # Log this addition > if (C4::Context->preference("AcqLog")) { >-- >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 24190
:
96364
|
96369
|
100243
|
105082
|
105083
|
106096
|
106097
|
106098
|
106099
|
111080
|
111081
|
111082
|
111083
|
111084
|
112509
|
112510
|
112511
|
112512
|
112513
|
112514
|
116148
|
116149
|
116150
|
116151
|
116152
|
116153
|
122040
|
122041
|
122042
|
122043
|
122044
|
122045
|
123385
|
123386
|
123387
|
123388
|
123389
|
123390
|
123391
|
125119