003 costs/ number clean
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
|
||||
<d:param field="specification_item_version" type="varchar" size="1023" init="#qLastVersion.specification_item_version#" preprocessor=#cleanInput#/>
|
||||
<d:param field="quantity" type="numeric" init=#qLastVersion.quantity#/>
|
||||
<d:param field="price" type="numeric" init=#qLastVersion.price#/>
|
||||
<d:param field="price" type="numeric" init=#qLastVersion.price# preprocessor=#request.stripWhiteSpace#/>
|
||||
<d:param field="dt_from" type="timestamp" format="yyyy-MM-dd" forNull="" init="#dateFormat(Now(),'YYYY-MM-DD')#"/> <!--- !!! Important yyyy-MM-dd NOT YYYY-MM-DD --->
|
||||
<d:param field="dt_to" type="timestamp" format="yyyy-MM-dd" forNull="" init=""/> <!--- !!! Important yyyy-MM-dd NOT YYYY-MM-DD --->
|
||||
|
||||
@@ -197,6 +197,12 @@
|
||||
|
||||
<layout:detail_line title="Цена">
|
||||
<input type="text" name="price" id="price" value="#d.price#" size="7" class="r"/>
|
||||
<cfif len(d.price)>
|
||||
<cftry>
|
||||
Стоимость: <b>#d.quantity*d.price#</b>
|
||||
<cfcatch type="any"></cfcatch>
|
||||
</cftry>
|
||||
</cfif>
|
||||
</layout:detail_line>
|
||||
|
||||
<layout:detail_line title="Создано">
|
||||
|
||||
Reference in New Issue
Block a user