Bugzilla – Attachment 7196 Details for
Bug 5347
late order management
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5347: Followup change class for message + Unit test
0001-Bug-5347-Followup-change-class-for-message-Unit-test.patch (text/plain), 2.51 KB, created by
Jonathan Druart
on 2012-01-17 10:43:23 UTC
(
hide
)
Description:
Bug 5347: Followup change class for message + Unit test
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-01-17 10:43:23 UTC
Size:
2.51 KB
patch
obsolete
>From 306e90ced36d659670f2fb9b6e948ea9cf80d201 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 17 Jan 2012 11:39:54 +0100 >Subject: [PATCH 1/1] Bug 5347: Followup change class for message + Unit test > >--- > .../intranet-tmpl/prog/en/css/staff-global.css | 7 ------- > .../prog/en/modules/acqui/lateorders.tt | 2 +- > t/db_dependent/Acquisition.t | 10 +++++++++- > 3 files changed, 10 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >index f5894a3..8fa1912 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >@@ -2134,10 +2134,3 @@ div.pager input.pagedisplay { > text-align : center; > } > >-div.info { >- border : 2px dashed #990000; >- background-color : #99FFCC; >- padding : .5em; >- margin : 1em; >-} >- >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >index 0f39504..255ecb7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >@@ -42,7 +42,7 @@ $(document).ready(function() { > [% END %] > [% END %] > [% IF info_claim %] >- <div class="info">Email has been sent.</div> >+ <div class="dialog message">Email has been sent.</div> > [% END %] > [% IF ( lateorders ) %] > <form action="lateorders.pl" name="claim" method="post"> >diff --git a/t/db_dependent/Acquisition.t b/t/db_dependent/Acquisition.t >index 1d4f36a..ab0b6d0 100755 >--- a/t/db_dependent/Acquisition.t >+++ b/t/db_dependent/Acquisition.t >@@ -6,10 +6,11 @@ > use strict; > use warnings; > use Data::Dumper; >+use POSIX qw(strftime); > > use C4::Bookseller qw( GetBookSellerFromId ); > >-use Test::More tests => 37; >+use Test::More tests => 38; > > BEGIN { > use_ok('C4::Acquisition'); >@@ -30,6 +31,13 @@ my $supplierid = 1; > my $grouped = 0; > my $orders = GetPendingOrders( $supplierid, $grouped ); > isa_ok( $orders, 'ARRAY' ); >+ >+my @lateorders = GetLateOrders(0); >+my $order = $lateorders[0]; >+AddClaim( $order->{ordernumber} ); >+my $neworder = GetOrder( $order->{ordernumber} ); >+is( $neworder->{claimed_date}, strftime( "%Y-%m-%d", localtime(time) ), "AddClaim : Check claimed_date" ); >+ > SKIP: { > skip 'No relevant orders in database, cannot test baskets', 33 unless( scalar @$orders ); > # diag( Data::Dumper->Dump( [ $orders ], [ 'orders' ] ) ); >-- >1.7.7.3 >
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 5347
:
6538
|
6578
|
6634
|
6661
|
6664
|
6782
|
6808
|
6943
|
6961
|
6962
|
6963
|
6969
|
6970
|
6991
|
7008
|
7196
|
8318
|
9165
|
9166
|
9208
|
9254