Bugzilla – Attachment 151662 Details for
Bug 33817
Composition of an item bundle can be changed if checked out
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33817: Prevent item bundle that is checked out to be modified
Bug-33817-Prevent-item-bundle-that-is-checked-out-.patch (text/plain), 1.95 KB, created by
Martin Renvoize (ashimema)
on 2023-05-25 09:54:53 UTC
(
hide
)
Description:
Bug 33817: Prevent item bundle that is checked out to be modified
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-05-25 09:54:53 UTC
Size:
1.95 KB
patch
obsolete
>From f35871346811e0911a5c89d2478a7c3192505d9d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 24 May 2023 13:16:14 +0200 >Subject: [PATCH] Bug 33817: Prevent item bundle that is checked out to be > modified > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index cd48d884a0..8dd92e729a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -380,7 +380,8 @@ > </thead> > <tbody> > [% FOREACH item IN items %] >- <tr id="item_[% item.itemnumber | html %]" data-itemnumber="[% item.itemnumber | html %]" data-duedate="[% item.datedue | html %]"> >+ [% SET date_due = item.object.checkout.date_due %] >+ <tr id="item_[% item.itemnumber | html %]" data-itemnumber="[% item.itemnumber | html %]" data-duedate="[% date_due | html %]"> > [% IF (StaffDetailItemSelection) %] > <td style="text-align:center;vertical-align:middle"> > [% IF item.can_be_edited %] >@@ -477,7 +478,7 @@ > [% END %] > [% INCLUDE 'patron-title.inc' patron=item.object.checkout.patron hide_patron_infos_if_needed=1 %] > [% END %] >- : due [% item.object.checkout.date_due | $KohaDates as_due_date => 1 %] >+ : due [% date_due | $KohaDates as_due_date => 1 %] > </span> > [% ELSIF ( transfer = item.object.get_transfer ) %] > [% IF (transfer.datesent) %] >-- >2.40.1
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 33817
:
151623
|
151660
|
151662
|
151663
|
152723
|
152724
|
152725
|
153228
|
153229
|
153230
|
153293