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> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
1993b3090c
commit
499dbca6b8
1 changed files with 4 additions and 14 deletions
|
@ -539,22 +539,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 ) %]
|
||||
|
|
Loading…
Reference in a new issue