Bugzilla – Attachment 34471 Details for
Bug 12933
Add ability to print overdue slip from staff intranet
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12933 - Add new OVERDUES_SLIP letter
Bug-12933---Add-new-OVERDUESSLIP-letter.patch (text/plain), 6.77 KB, created by
Kyle M Hall (khall)
on 2014-12-16 18:08:33 UTC
(
hide
)
Description:
Bug 12933 - Add new OVERDUES_SLIP letter
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-12-16 18:08:33 UTC
Size:
6.77 KB
patch
obsolete
>From 65fd2626684309db7674a31fead906cd1d1c413a Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 16 Dec 2014 08:10:02 -0500 >Subject: [PATCH] Bug 12933 - Add new OVERDUES_SLIP letter > >--- > .../data/mysql/de-DE/mandatory/sample_notices.sql | 6 ++++++ > .../data/mysql/en/mandatory/sample_notices.sql | 5 +++++ > .../mysql/fr-FR/1-Obligatoire/sample_notices.sql | 5 +++++ > .../mysql/nb-NO/1-Obligatorisk/sample_notices.sql | 5 +++++ > .../data/mysql/pl-PL/mandatory/sample_notices.sql | 5 +++++ > .../data/mysql/ru-RU/mandatory/sample_notices.sql | 5 +++++ > .../data/mysql/uk-UA/mandatory/sample_notices.sql | 5 +++++ > installer/data/mysql/updatedatabase.pl | 13 +++++++++++++ > 8 files changed, 49 insertions(+), 0 deletions(-) > >diff --git a/installer/data/mysql/de-DE/mandatory/sample_notices.sql b/installer/data/mysql/de-DE/mandatory/sample_notices.sql >index 01ae5d4..47cc9a6 100644 >--- a/installer/data/mysql/de-DE/mandatory/sample_notices.sql >+++ b/installer/data/mysql/de-DE/mandatory/sample_notices.sql >@@ -131,3 +131,9 @@ Wir möchten Sie darüber informieren, dass der Benutzer <<borrowers.firstname>> > Vielen Dank, > Ihr Biblioheksteam' > ); >+ >+INSERT INTO letter ( module, code, branchcode, name, is_html, title, content, message_transport_type ) >+VALUES ( 'circulation', 'OVERDUES_SLIP', '', 'Overdues Slip', '0', 'OVERDUES_SLIP', 'The following item(s) is/are currently overdue: >+ >+<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item> >+', 'print' ); >diff --git a/installer/data/mysql/en/mandatory/sample_notices.sql b/installer/data/mysql/en/mandatory/sample_notices.sql >index 2281739..5162349 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.sql >+++ b/installer/data/mysql/en/mandatory/sample_notices.sql >@@ -142,3 +142,8 @@ Thank you. > > Your library.' > ); >+INSERT INTO letter ( module, code, branchcode, name, is_html, title, content, message_transport_type ) >+VALUES ( 'circulation', 'OVERDUES_SLIP', '', 'Overdues Slip', '0', 'OVERDUES_SLIP', 'The following item(s) is/are currently overdue: >+ >+<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item> >+', 'print' ); >diff --git a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql b/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql >index d66a2d4..0e17116 100644 >--- a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql >+++ b/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql >@@ -145,3 +145,8 @@ Thank you. > > Your library.' > ); >+INSERT INTO letter ( module, code, branchcode, name, is_html, title, content, message_transport_type ) >+VALUES ( 'circulation', 'OVERDUES_SLIP', '', 'Overdues Slip', '0', 'OVERDUES_SLIP', 'The following item(s) is/are currently overdue: >+ >+<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item> >+', 'print' ); >diff --git a/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql b/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql >index f1e8fb0..9bff24c 100644 >--- a/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql >+++ b/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql >@@ -163,3 +163,8 @@ Thank you. > > Your library.' > ); >+INSERT INTO letter ( module, code, branchcode, name, is_html, title, content, message_transport_type ) >+VALUES ( 'circulation', 'OVERDUES_SLIP', '', 'Overdues Slip', '0', 'OVERDUES_SLIP', 'The following item(s) is/are currently overdue: >+ >+<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item> >+', 'print' ); >diff --git a/installer/data/mysql/pl-PL/mandatory/sample_notices.sql b/installer/data/mysql/pl-PL/mandatory/sample_notices.sql >index 50e0cd5..7bb8170 100644 >--- a/installer/data/mysql/pl-PL/mandatory/sample_notices.sql >+++ b/installer/data/mysql/pl-PL/mandatory/sample_notices.sql >@@ -145,3 +145,8 @@ Thank you. > > Your library.' > ); >+INSERT INTO letter ( module, code, branchcode, name, is_html, title, content, message_transport_type ) >+VALUES ( 'circulation', 'OVERDUES_SLIP', '', 'Overdues Slip', '0', 'OVERDUES_SLIP', 'The following item(s) is/are currently overdue: >+ >+<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item> >+', 'print' ); >diff --git a/installer/data/mysql/ru-RU/mandatory/sample_notices.sql b/installer/data/mysql/ru-RU/mandatory/sample_notices.sql >index a8d3046..d15ef8a 100644 >--- a/installer/data/mysql/ru-RU/mandatory/sample_notices.sql >+++ b/installer/data/mysql/ru-RU/mandatory/sample_notices.sql >@@ -145,3 +145,8 @@ Thank you. > > Your library.' > ); >+INSERT INTO letter ( module, code, branchcode, name, is_html, title, content, message_transport_type ) >+VALUES ( 'circulation', 'OVERDUES_SLIP', '', 'Overdues Slip', '0', 'OVERDUES_SLIP', 'The following item(s) is/are currently overdue: >+ >+<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item> >+', 'print' ); >diff --git a/installer/data/mysql/uk-UA/mandatory/sample_notices.sql b/installer/data/mysql/uk-UA/mandatory/sample_notices.sql >index db8976e..fab08d7 100644 >--- a/installer/data/mysql/uk-UA/mandatory/sample_notices.sql >+++ b/installer/data/mysql/uk-UA/mandatory/sample_notices.sql >@@ -144,3 +144,8 @@ Thank you. > > Your library.' > ); >+INSERT INTO letter ( module, code, branchcode, name, is_html, title, content, message_transport_type ) >+VALUES ( 'circulation', 'OVERDUES_SLIP', '', 'Overdues Slip', '0', 'OVERDUES_SLIP', 'The following item(s) is/are currently overdue: >+ >+<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item> >+', 'print' ); >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index cf17e0b..4388121 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -9585,6 +9585,19 @@ if ( CheckVersion($DBversion) ) { > SetVersion ($DBversion); > } > >+$DBversion = "3.19.00.XXX"; >+if ( CheckVersion($DBversion) ) { >+ $dbh->do(q{ >+ INSERT INTO letter ( module, code, branchcode, name, is_html, title, content, message_transport_type ) >+ VALUES ( 'circulation', 'OVERDUES_SLIP', '', 'Overdues Slip', '0', 'OVERDUES_SLIP', 'The following item(s) is/are currently overdue: >+ >+<item>"<<biblio.title>>" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item> >+', 'print' ) >+ }); >+ print "Upgrade to $DBversion done (Bug 12933 - Add ability to print overdue slip from staff intranet)\n"; >+ SetVersion ($DBversion); >+} >+ > =head1 FUNCTIONS > > =head2 TableExists($table) >-- >1.7.2.5
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 12933
:
31638
|
31667
|
34456
|
34457
|
34467
|
34468
|
34469
|
34470
|
34471
|
34474
|
34475
|
34884
|
34885
|
34886
|
34887
|
34888
|
34889
|
35533
|
35534
|
35535
|
35536
|
35537
|
35538
|
35918
|
41606
|
41607
|
41608
|
41609
|
41610
|
41611
|
43514
|
43515
|
43516
|
43517
|
43518
|
43519
|
43520
|
43521
|
43522
|
43523
|
43904
|
43905
|
43906
|
43907
|
43908
|
43925
|
43926
|
43927
|
43928
|
43929
|
43930
|
43953