QA: met datatype currency stylen deze readonly velden heel anders en dat wil ik niet.

svn path=/Website/trunk/; revision=35406
This commit is contained in:
Peter Feij
2017-09-22 07:32:42 +00:00
parent 79850c65b8
commit e9f3b5bed5

View File

@@ -120,9 +120,9 @@ var subject = L("lcl_cnt_contract") + " " + cnt_info.nummer_intern+ (cnt_info.ve
var fin_collapse = !this_cnt.canGoedkeur1 && !this_cnt.canGoedkeur2 && !this_cnt.canGoedkeur3 && !this_cnt.canGoedkeur4 && !this_cnt.canGoedkeur5 && !this_cnt.canReject; var fin_collapse = !this_cnt.canGoedkeur1 && !this_cnt.canGoedkeur2 && !this_cnt.canGoedkeur3 && !this_cnt.canGoedkeur4 && !this_cnt.canGoedkeur5 && !this_cnt.canReject;
BLOCK_START({collapsed: fin_collapse, title: L("lcl_cnt_fin_data")}); BLOCK_START({collapsed: fin_collapse, title: L("lcl_cnt_fin_data")});
ROFIELD ("fld", L("lcl_cnt_kostenplaats"), cnt_info.kostenplaats_naam); ROFIELD ("fld", L("lcl_cnt_kostenplaats"), cnt_info.kostenplaats_naam);
ROFIELD ("fld", L("lcl_cnt_contract_sum")+ " " + S("currency_pref"), safe.curr(cnt_info.kosten), {datatype:"currency", suppressEmpty: true}); ROFIELD ("fld", L("lcl_cnt_contract_sum")+ " " + S("currency_pref"), safe.curr(cnt_info.kosten), {suppressEmpty: true});
ROFIELD ("fld", L("lcl_cnt_period_sum")+ " " + S("currency_pref"), safe.curr(cnt_info.termijnkosten), {suppressEmpty: true, datatype:"currency"}); ROFIELD ("fld", L("lcl_cnt_period_sum")+ " " + S("currency_pref"), safe.curr(cnt_info.termijnkosten), {suppressEmpty: true});
ROFIELD ("fldshort", L("lcl_hour_rate")+ " " + S("currency_pref"), safe.curr(cnt_info.uurloon), {suppressEmpty: true, datatype:"currency"}); ROFIELD ("fldshort", L("lcl_hour_rate")+ " " + S("currency_pref"), safe.curr(cnt_info.uurloon), {suppressEmpty: true});
ROFIELD ("fldshort", L("lcl_cnt_discount"), cnt_info.korting, {suppressEmpty: true, datatype:"float"}); ROFIELD ("fldshort", L("lcl_cnt_discount"), cnt_info.korting, {suppressEmpty: true, datatype:"float"});
BLOCK_END(); BLOCK_END();