Bugzilla – Attachment 68271 Details for
Bug 12768
Replacement cost and processing fee management
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12768: DBIC Schema changes
Bug-12768-DBIC-Schema-changes.patch (text/plain), 1.88 KB, created by
Nick Clemens (kidclamp)
on 2017-10-18 16:43:45 UTC
(
hide
)
Description:
Bug 12768: DBIC Schema changes
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2017-10-18 16:43:45 UTC
Size:
1.88 KB
patch
obsolete
>From f257fc879d8d52d72a7d8f5f9a7234cec15c479c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 10 Oct 2017 17:32:59 -0300 >Subject: [PATCH] Bug 12768: DBIC Schema changes > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > Koha/Schema/Result/Itemtype.pm | 26 +++++++++++++++++++++----- > 1 file changed, 21 insertions(+), 5 deletions(-) > >diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm >index 959f8a3..331db3b 100644 >--- a/Koha/Schema/Result/Itemtype.pm >+++ b/Koha/Schema/Result/Itemtype.pm >@@ -37,9 +37,21 @@ __PACKAGE__->table("itemtypes"); > > =head2 rentalcharge > >- data_type: 'double precision' >+ data_type: 'decimal' > is_nullable: 1 >- size: [16,4] >+ size: [28,6] >+ >+=head2 defaultreplacecost >+ >+ data_type: 'decimal' >+ is_nullable: 1 >+ size: [28,6] >+ >+=head2 processfee >+ >+ data_type: 'decimal' >+ is_nullable: 1 >+ size: [28,6] > > =head2 notforloan > >@@ -96,7 +108,11 @@ __PACKAGE__->add_columns( > "description", > { data_type => "mediumtext", is_nullable => 1 }, > "rentalcharge", >- { data_type => "double precision", is_nullable => 1, size => [16, 4] }, >+ { data_type => "decimal", is_nullable => 1, size => [28, 6] }, >+ "defaultreplacecost", >+ { data_type => "decimal", is_nullable => 1, size => [28, 6] }, >+ "processfee", >+ { data_type => "decimal", is_nullable => 1, size => [28, 6] }, > "notforloan", > { data_type => "smallint", is_nullable => 1 }, > "imageurl", >@@ -195,8 +211,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 10:32:00 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1GiikODklVISOurHX37qjA >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-10 14:27:09 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vERtWCf17tayLdzgnXpQcA > > # Use the ItemtypeLocalization view to create the join on localization > our $LANGUAGE; >-- >2.1.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 12768
:
34333
|
34334
|
36350
|
36505
|
36506
|
36552
|
36553
|
36554
|
36555
|
38365
|
38367
|
38368
|
38375
|
39298
|
39299
|
39300
|
39999
|
40000
|
40001
|
40002
|
42157
|
42158
|
43181
|
43546
|
64775
|
64776
|
66760
|
66761
|
67875
|
67876
|
67877
|
67878
|
67891
|
67892
|
67893
|
67894
|
67895
|
67896
|
67897
|
68035
|
68036
|
68037
|
68038
|
68039
|
68040
|
68041
|
68042
|
68076
|
68264
|
68265
|
68266
|
68267
|
68268
|
68269
|
68270
| 68271 |
68272
|
68273
|
68274
|
68332
|
68415
|
68416
|
68417
|
68426
|
68427