Bugzilla – Attachment 7041 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]
Bug 7402 : Fixing the date formatting so links to the invoice page work
Bug-7402--Fixing-the-date-formatting-so-links-to-t.patch (text/plain), 2.27 KB, created by
Chris Cormack
on 2012-01-04 19:57:12 UTC
(
hide
)
Description:
Bug 7402 : Fixing the date formatting so links to the invoice page work
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-01-04 19:57:12 UTC
Size:
2.27 KB
patch
obsolete
>From 2e8715a0c0e45bd25757c1059af61291f2843c4f 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] Bug 7402 : Fixing the date formatting so links to the > invoice page work > >This depends on bug 929 >--- > 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 7127f24..d517e62 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -1639,8 +1639,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