Bugzilla – Attachment 31243 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]
Bug 12840: The budgeted cost and the total is automatically calculated
Bug-12840-The-budgeted-cost-and-the-total-is-autom.patch (text/plain), 2.54 KB, created by
Jonathan Druart
on 2014-08-28 10:46:35 UTC
(
hide
)
Description:
Bug 12840: The budgeted cost and the total is automatically calculated
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-08-28 10:46:35 UTC
Size:
2.54 KB
patch
obsolete
>From 3acf433e06c0c47baa813e80389f17f605fffbda 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] Bug 12840: The budgeted cost and the total is automatically > calculated > >Both of these 2 values should not be modified by the user. >Since there values depends on the discount and the quantity. > >Test plan: >Verify you cannot modify the budgeted cost and the total price on >creating/modifying an order. >--- > .../prog/en/modules/acqui/neworderempty.tt | 18 ++++-------------- > 1 file 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 ) %] >-- >2.0.0.rc2
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