Bugzilla – Attachment 185364 Details for
Bug 37344
Patrons with cancelled discharge are seen as discharged when suspended due to overdue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37344: [DO NOT PUSH] Dbix changes
Bug-37344-DO-NOT-PUSH-Dbix-changes.patch (text/plain), 1.62 KB, created by
Baptiste Wojtkowski (bwoj)
on 2025-08-13 12:00:57 UTC
(
hide
)
Description:
Bug 37344: [DO NOT PUSH] Dbix changes
Filename:
MIME Type:
Creator:
Baptiste Wojtkowski (bwoj)
Created:
2025-08-13 12:00:57 UTC
Size:
1.62 KB
patch
obsolete
>From f158a87c09fe58c8628bc6c3bfa9a0d5b1f79508 Mon Sep 17 00:00:00 2001 >From: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> >Date: Wed, 13 Aug 2025 13:59:02 +0200 >Subject: [PATCH] Bug 37344: [DO NOT PUSH] Dbix changes > >--- > Koha/Schema/Result/Discharge.pm | 24 ++++++++++++++++++++++-- > 1 file changed, 22 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Discharge.pm b/Koha/Schema/Result/Discharge.pm >index 2a6878520..1181b1ee0 100644 >--- a/Koha/Schema/Result/Discharge.pm >+++ b/Koha/Schema/Result/Discharge.pm >@@ -47,6 +47,18 @@ __PACKAGE__->table("discharges"); > datetime_undef_if_invalid: 1 > is_nullable: 1 > >+=head2 cancelled >+ >+ data_type: 'timestamp' >+ datetime_undef_if_invalid: 1 >+ is_nullable: 1 >+ >+=head2 cancellation_reason >+ >+ data_type: 'varchar' >+ is_nullable: 1 >+ size: 80 >+ > =cut > > __PACKAGE__->add_columns( >@@ -66,6 +78,14 @@ __PACKAGE__->add_columns( > datetime_undef_if_invalid => 1, > is_nullable => 1, > }, >+ "cancelled", >+ { >+ data_type => "timestamp", >+ datetime_undef_if_invalid => 1, >+ is_nullable => 1, >+ }, >+ "cancellation_reason", >+ { data_type => "varchar", is_nullable => 1, size => 80 }, > ); > > =head1 PRIMARY KEY >@@ -103,8 +123,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-09-28 12:09:06 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Wc3EkS92v98jXtena5VaUQ >+# Created by DBIx::Class::Schema::Loader v0.07052 @ 2025-04-30 10:35:23 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nw3IMky+ABLpeC6I54uHQQ > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >-- >2.30.2
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 37344
:
179461
|
179489
|
179763
|
179826
|
179827
|
179828
|
181709
|
182647
|
182648
|
182649
|
182650
|
182747
|
182748
|
182749
|
182750
|
182751
|
182907
|
184427
|
184428
|
184429
|
184430
|
184431
|
185361
|
185362
|
185363
| 185364