spec/specification_item_param_del.cfm
2025-06-02 16:16:51 +03:00

69 lines
2.7 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<cfsilent>
<cfimport prefix="m" taglib="lib"/>
<cfimport prefix="d" taglib="lib/data"/>
<cfimport prefix="layout" taglib="layout"/>
</cfsilent><m:silent silent="No">
<m:prepare_detail entity="specification_item_param" pageInfoOut="pageInfo"/>
<cfparam name="specification_item_param_id" type="integer"/>
<d:del
entity="#pageInfo.entity#"
confirmMessage="Удалить вариант компонента экземпляра услуги?"
denyMessage="Удаление данного варианта компонента невозможно (ситуация не предусмотрена)."
accessObj="#pageInfo.entity#"
status="status"
output="markup">
<!--- <d:dependency entity="provider_backup" title="Записи о резервном копировании">
<d:dependency_field key>provider_backup_id</d:dependency_field>
<d:dependency_field title="Дата и время резервного копирования" formatter=#date104#>dt_backup</d:dependency_field>
<d:dependency_from>
provider_backup
</d:dependency_from>
<d:dependency_condition cfsqltype="cf_sql_integer" value='#vcenter_guid#'>vcenter_guid</d:dependency_condition>
<d:dependency_order_by>1 desc</d:dependency_order_by>
</d:dependency> --->
<d:del_condition field="specification_item_param_id" value="#specification_item_param_id#" cfsqltype="cf_sql_integer"/>
</d:del>
<m:dispatch_detail
usePRG="Yes"
pageInfo=#pageInfo#
id="#specification_item_param_id#"
status=#status#
trackOut="tr"
idAttributesOut="id"
/>
<!--- decoration --->
<cfquery name="qDecoration" datasource="#request.DS#">
select
a.login as creator, a.shortname as creator_shortname, m.login as updater, m.shortname as updater_shortname
from #pageInfo.entity# e
left outer join usr a on (e.creator_id=a.usr_id)
left outer join usr m on (e.updater_id=m.usr_id)
where e.#pageInfo.key#=<cfqueryparam attributeCollection=#id#/>
</cfquery>
</m:silent><!--- ----------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
---><layout:page section="header" pageInfo=#pageInfo#>
<layout:attribute name="title">
<cfoutput>
Удаление варианта компонента экземпляра услуги
<cfif specification_item_param_id GT 0>
[#specification_item_param_id#]
</cfif>
</cfoutput>
</layout:attribute>
<layout:attribute name="controls">&nbsp;</layout:attribute>
</layout:page>
<!---<cfdump var=#qDecoration#/>--->
<cfoutput>#markup#</cfoutput>
<layout:page section="footer"/>