Bugzilla – Attachment 91805 Details for
Bug 11573
Fine descriptions related to Rentals are untranslatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11573: (follow-up) Handle daily rental in db update
Bug-11573-follow-up-Handle-daily-rental-in-db-upda.patch (text/plain), 1.31 KB, created by
Nick Clemens (kidclamp)
on 2019-07-26 12:34:00 UTC
(
hide
)
Description:
Bug 11573: (follow-up) Handle daily rental in db update
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-07-26 12:34:00 UTC
Size:
1.31 KB
patch
obsolete
>From 3bf824c788c820d7218e9c6f054bd851838e881e Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 26 Jul 2019 12:52:44 +0100 >Subject: [PATCH] Bug 11573: (follow-up) Handle daily rental in db update > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > installer/data/mysql/atomicupdate/bug_11573.perl | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > >diff --git a/installer/data/mysql/atomicupdate/bug_11573.perl b/installer/data/mysql/atomicupdate/bug_11573.perl >index 93a002dca4..a09d1c4922 100644 >--- a/installer/data/mysql/atomicupdate/bug_11573.perl >+++ b/installer/data/mysql/atomicupdate/bug_11573.perl >@@ -5,6 +5,29 @@ if ( CheckVersion($DBversion) ) { > UPDATE > accountlines > SET >+ accounttype = 'RENT_DAILY_RENEW' >+ WHERE >+ accounttype = 'Rent' >+ AND >+ description LIKE 'Renewal of Daily Rental Item%'; >+ }); >+ >+ $dbh->do(qq{ >+ UPDATE >+ accountlines >+ SET >+ accounttype = 'RENT_DAILY' >+ WHERE >+ accounttype = 'Rent' >+ AND >+ description LIKE 'Daily rental'; >+ }); >+ >+ >+ $dbh->do(qq{ >+ UPDATE >+ accountlines >+ SET > accounttype = 'RENT_RENEW' > WHERE > accounttype = 'Rent' >-- >2.11.0
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 11573
:
24473
|
24485
|
24486
|
25715
|
27822
|
27823
|
27824
|
47236
|
47237
|
47238
|
47239
|
47240
|
47241
|
47242
|
47288
|
47289
|
47290
|
47291
|
88549
|
88600
|
88601
|
88602
|
88603
|
88604
|
88605
|
88606
|
88726
|
88727
|
88728
|
88729
|
90231
|
90232
|
90233
|
90234
|
90246
|
90256
|
90313
|
90314
|
90315
|
90316
|
91529
|
91530
|
91531
|
91532
|
91800
|
91801
|
91802
|
91803
|
91804
| 91805 |
91806