Bugzilla – Attachment 31566 Details for
Bug 12840
The budgeted cost and the total should not be manually modified
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 12840: The budgeted cost and the total are automatically calculated
PASSED-QA-Bug-12840-The-budgeted-cost-and-the-tota.patch (text/plain), 2.66 KB, created by
Kyle M Hall (khall)
on 2014-09-12 17:46:42 UTC
(
hide
)
Description:
[PASSED QA] Bug 12840: The budgeted cost and the total are automatically calculated
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-09-12 17:46:42 UTC
Size:
2.66 KB
patch
obsolete
>From 7a656ee4095619ea4e21bb61e7e0cefb946e9f3b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 28 Aug 2014 12:39:44 +0200 >Subject: [PATCH] [PASSED QA] Bug 12840: The budgeted cost and the total are automatically calculated > >Both of these 2 values should not be modified by the user. >Since these values depend on the discount and the quantity. > >Test plan: >Verify you cannot modify the budgeted cost and the total price on >creating/modifying an order. > >Signed-off-by: Paola Rossi <paola.rossi@cineca.it> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../prog/en/modules/acqui/neworderempty.tt | 18 ++++-------------- > 1 files changed, 4 insertions(+), 14 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >index 64ad028..614cde9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >@@ -536,22 +536,12 @@ $(document).ready(function() > [% END %] > </li> > <li> >- [% IF ( close ) %] >- <label for="ecost">Budgeted cost: </label> >- <input type="text" size="20" name="ecost" id="ecost" value="[% ecost %]" readonly="readonly" /> [% IF (listincgst == 1) %](tax inc.)[% ELSE %](tax exc.)[% END %] >- [% ELSE %] >- <label for="ecost">Budgeted cost: </label> >- <input type="text" size="20" name="ecost" id="ecost" value="[% ecost %]" /> [% IF (listincgst == 1) %](tax inc.)[% ELSE %](tax exc.)[% END %] >- [% END %] >+ <label for="ecost">Budgeted cost: </label> >+ <input type="text" size="20" name="ecost" id="ecost" value="[% ecost %]" readonly="readonly" /> [% IF (listincgst == 1) %](tax inc.)[% ELSE %](tax exc.)[% END %] > </li> > <li> >- [% IF ( close ) %] >- <label for="total">Total: </label> >- <input type="text" id="total" size="20" name="total" value="[% total %]" readonly="readonly" /> >- [% ELSE %] >- <label for="total">Total: </label> >- <input type="text" id="total" size="20" name="total" value="[% total %]" /> (budgeted cost * quantity) >- [% END %] >+ <label for="total">Total: </label> >+ <input type="text" id="total" size="20" name="total" value="[% total %]" readonly="readonly" /> (budgeted cost * quantity) > </li> > <li> > [% IF ( close ) %] >-- >1.7.2.5
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 12840
:
31243
|
31244
|
31374
| 31566