Bugzilla – Attachment 168749 Details for
Bug 31921
No confirmation alert when deleting a vendor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31921: Add confirmation modal to contracts and uncertain prices
Bug-31921-Add-confirmation-modal-to-contracts-and-.patch (text/plain), 1.83 KB, created by
Sam Lau
on 2024-07-10 15:53:19 UTC
(
hide
)
Description:
Bug 31921: Add confirmation modal to contracts and uncertain prices
Filename:
MIME Type:
Creator:
Sam Lau
Created:
2024-07-10 15:53:19 UTC
Size:
1.83 KB
patch
obsolete
>From 68051a38eed14dcb496de56dba47ae6ed86f12d6 Mon Sep 17 00:00:00 2001 >From: Sam Lau <samalau@gmail.com> >Date: Wed, 10 Jul 2024 15:35:23 +0000 >Subject: [PATCH] Bug 31921: Add confirmation modal to contracts and uncertain > prices > >To test: >1) Have 2 deletable vendors >2) Visit the first vendor's "Contracts" tab >3) Attempt to delete from here, modal shows and deltion is successful >4) Visit the second vendor's "Uncertain prices" tab. >5) Attempt to delete from here, modal shows and deletion is successful >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt | 1 + > 2 files changed, 3 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt >index a0a4c2dbb8..042c108e6a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt >@@ -177,6 +177,8 @@ > </div> <!-- /.col-sm-2.col-sm-pull-10 --> > </div> <!-- /.row --> > >+[% INCLUDE modals/delete_vendor.inc %] >+ > [% MACRO jsinclude BLOCK %] > [% Asset.js("js/acquisitions-menu.js") | $raw %] > [% Asset.js("js/acq.js") | $raw %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt >index e6e9eeddfc..7a95bbe8f9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt >@@ -95,6 +95,7 @@ > [% INCLUDE 'messages.inc' %] > > [% INCLUDE 'acquisitions-toolbar.inc' %] >+[% INCLUDE 'modals/delete_vendor.inc' %] > > [% IF error == 'not_deleted' %] > <div class="dialog alert">Contract has not been deleted. Maybe a basket linked to this contract exists.</div> >-- >2.39.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 31921
:
168668
|
168674
|
168749
|
168832
|
170004
|
170005
|
170538
|
170539