Bugzilla – Attachment 7210 Details for
Bug 7402
invoice not showing received titles
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 7402 : Fixing the date formatting so links to the invoice page work
SIGNED-OFF-Bug-7402--Fixing-the-date-formatting-so.patch (text/plain), 2.45 KB, created by
Katrin Fischer
on 2012-01-18 07:43:30 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 7402 : Fixing the date formatting so links to the invoice page work
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-01-18 07:43:30 UTC
Size:
2.45 KB
patch
obsolete
>From c8c70840b4e67ffda7faecabd7532301a4ece583 Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chrisc@catalyst.net.nz> >Date: Thu, 5 Jan 2012 08:54:43 +1300 >Subject: [PATCH] [SIGNED-OFF] Bug 7402 : Fixing the date formatting so links > to the invoice page work > >This depends on bug 929 > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Uses the new TT plugin to display the date, while using iso format >to build a correct URL to the invoice page. >--- > C4/Acquisition.pm | 2 -- > .../prog/en/modules/acqui/histsearch.tt | 5 +++-- > 2 files changed, 3 insertions(+), 4 deletions(-) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index 2814977..5c4faea 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -1676,8 +1676,6 @@ sub GetHistory { > $line->{count} = $cnt++; > $line->{toggle} = 1 if $cnt % 2; > push @order_loop, $line; >- $line->{creationdate} = format_date( $line->{creationdate} ); >- $line->{datereceived} = format_date( $line->{datereceived} ); > $total_qty += $line->{'quantity'}; > $total_qtyreceived += $line->{'quantityreceived'}; > $total_price += $line->{'quantity'} * $line->{'ecost'}; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt >index 9321cf9..3385fb3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt >@@ -1,3 +1,4 @@ >+[% USE KohaDates %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Acquisitions › [% IF ( suggestions_loop ) %]Orders search › Search Results[% ELSE %]Order search[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] >@@ -86,8 +87,8 @@ > <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% suggestions_loo.biblionumber %]">[% suggestions_loo.title |html %]</a> > <br />[% suggestions_loo.author %] <br /> [% suggestions_loo.isbn %]</td> > <td><a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% suggestions_loo.id %]">[% suggestions_loo.name %]</a></td> >- <td>[% suggestions_loo.creationdate %]</td> >- <td>[% suggestions_loo.datereceived %]</td> >+ <td>[% suggestions_loo.creationdate | $KohaDates %]</td> >+ <td>[% suggestions_loo.datereceived | $KohaDates %]</td> > <td>[% suggestions_loo.quantity %]</td> > <td>[% suggestions_loo.ecost %]</td> > </tr> >-- >1.7.5.4
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 7402
:
7041
| 7210