Fix update mor/phy
This commit is contained in:
parent
8f9ce1ed23
commit
a525da2139
1 changed files with 2 additions and 1 deletions
|
|
@ -728,7 +728,7 @@ if (getDolGlobalString('MEMBER_SKIP_TABLE') || getDolGlobalString('MEMBER_NEWFOR
|
|||
print '<script type="text/javascript">
|
||||
jQuery(document).ready(function () {
|
||||
initturnover();
|
||||
jQuery("#morphy").click(function() {
|
||||
jQuery("#morphy").change(function() {
|
||||
initturnover();
|
||||
});
|
||||
jQuery("#budget").change(function() {
|
||||
|
|
@ -743,6 +743,7 @@ if (getDolGlobalString('MEMBER_SKIP_TABLE') || getDolGlobalString('MEMBER_NEWFOR
|
|||
initturnover();
|
||||
});*/
|
||||
function initturnover() {
|
||||
console.log("Switch mor/phy");
|
||||
if (jQuery("#morphy").val()==\'phy\') {
|
||||
jQuery(".amount").val(20);
|
||||
jQuery("#trbudget").hide();
|
||||
|
|
|
|||
Loading…
Reference in a new issue