pricing model

This commit is contained in:
msyu
2025-06-14 16:14:03 +03:00
parent 13cc175dc3
commit b4aa34d24a
8 changed files with 178 additions and 10 deletions
+26 -1
View File
@@ -21,6 +21,7 @@
<d:param field="specification_item_uid" type="guid" key autoincrement/>
<d:param field="specification_id" type="integer" required/>
<d:param field="svc_id" type="integer" required/>
<d:param field="pricing_model_id" type="integer" required/>
<!--- <d:param field="specification_item" type="varchar" size="1023" preprocessor=#cleanInput#/> можно было оставить здесь, но мигрировали в версию --->
<d:param field="creator_id" type="integer" value="#request.usr_id#" skipUpdate/>
@@ -126,7 +127,31 @@
displayf="##code## ##svc##"
empty=""
class=""
onchange="submit();"
/>
<!--- <cfif d.svc_id GT 0>
<c:link_view_edit canWrite=#pageInfo.writePermitted()# entity="svc" id=#d.svc_id# fwx=#tr.fwx#/>
</cfif> --->
при наличии версий предлагается исключить изменение
</div>
</div>
<div class="tr">
<div class="th">Модель тарификации</div>
<div class="td">
<cfquery name="qList" datasource="#request.DS#">
select s.pricing_model_id, s.pricing_model, s.pricing_model_short
from pricing_model s
order by 2
</cfquery>
<c:combo
query=#qList#
combo="pricing_model_id"
id="pricing_model_id"
key="pricing_model_id"
selected="#d.pricing_model_id#"
displayf="##pricing_model_short## [##pricing_model_id##] ##pricing_model##"
empty=""
class=""
/>
<!--- <cfif d.svc_id GT 0>
<c:link_view_edit canWrite=#pageInfo.writePermitted()# entity="svc" id=#d.svc_id# fwx=#tr.fwx#/>