011 some totals

This commit is contained in:
msyu
2025-06-21 19:55:35 +03:00
parent 9033dcd59a
commit 2a3781fcea
4 changed files with 47 additions and 14 deletions
+11
View File
@@ -298,6 +298,10 @@
order by i.specification_id
</cfquery>
<cfquery dbtype="query" name="qTotal">
select sum(cost) as cost from qItem
</cfquery>
<cfoutput>
<p>
Строки спецификаций (#qItem.recordCount#) (все суммы без вероятности)
@@ -385,6 +389,13 @@
</tr>
</cfoutput>
</cfoutput>
<cfoutput query="qTotal">
<tr>
<td colspan="13"></td>
<td class="r" style="font-size:120%">#cost#</td>
<td colspan="99"></td>
</tr>
</cfoutput>
</table>
</cfif>