033 computetion debug and optimization
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@
|
||||
|
||||
<!--- global settings --->
|
||||
<cfset request.RECORDS_PER_PAGE=500/>
|
||||
<cfset request.APP_VERSION="0.00.032"/>
|
||||
<cfset request.APP_VERSION="0.00.033"/>
|
||||
<cfheader name="X-Application-Version" value=#request.APP_VERSION#/>
|
||||
<cfset request.STAND=getStand()/>
|
||||
|
||||
|
||||
@@ -417,7 +417,7 @@ from a
|
||||
<d:field title="Код компонента">s.code as s_code</d:field>
|
||||
<d:field title="Код метрики">m.code as m_code</d:field>
|
||||
<d:field title="Код услуги">s.service_code</d:field>
|
||||
<d:field title="Код услуги">s.sku_code</d:field>
|
||||
<d:field title="код SKU">s.sku_code</d:field>
|
||||
<d:field title="Услуга">s.svc</d:field>
|
||||
<d:field title="Компонент">s.component</d:field>
|
||||
<d:field title="Ед.изм.">m.unit</d:field>
|
||||
@@ -486,7 +486,7 @@ from a
|
||||
<d:field_set titleMapOut="chargeTitleMap" lengthOut="chargeFieldCount">
|
||||
<d:field title="Артикул по договору">s_code</d:field>
|
||||
<d:field title="Артикул по системам">m_code</d:field>
|
||||
<d:field title="Артикул">s_code as code</d:field>
|
||||
<d:field title="Артикул">coalesce(sku_code, m_code) as code</d:field>
|
||||
<d:field title="Код услуги">service_code</d:field>
|
||||
<d:field title="SKU code">sku_code</d:field>
|
||||
<d:field title="Услуга по каталогу">svc</d:field>
|
||||
|
||||
@@ -197,7 +197,7 @@ S3 операции и трафик: <b<cfif datediff("h",report.qS3OpsTrfAge.dt
|
||||
<cfset accum_metric_dimension_1 += isNumeric(metric) ? metric : 0/>
|
||||
<tr class="i">
|
||||
<td>#currentRow#</td>
|
||||
<td>#dimension_1_name#</td>
|
||||
<td class="r">#dimension_1_name#</td>
|
||||
<td>#dimension_1#</td>
|
||||
<td class="c">#dateFormat(dt_billed_from,"YYYY-MM-DD")#</td>
|
||||
<td class="c">#dateFormat(dt_billed_to,"YYYY-MM-DD")#</td>
|
||||
@@ -225,7 +225,7 @@ S3 операции и трафик: <b<cfif datediff("h",report.qS3OpsTrfAge.dt
|
||||
|
||||
<tr class="b">
|
||||
<td></td>
|
||||
<td colspan="4">Итого #code# <cfif code EQ "">(#m_code#)</cfif>:</td>
|
||||
<td colspan="4" class="r">Итого #code# <cfif code EQ "">(#m_code#)</cfif>:</td>
|
||||
<td class="r"><cfif final_metric_dimension_1 NEQ 0 AND isNumeric(final_metric_dimension_1)>#round(final_metric_dimension_1,3)#</cfif></td>
|
||||
<td class="r">#free_tier#</td>
|
||||
<td class="r" style="font-size:120%; padding:0 1em;"><cfif final_metric_dimension_1 NEQ 0 AND isNumeric(final_metric_dimension_1) AND isNumeric(free_tier)>#max(final_metric_dimension_1 - free_tier, 0)#</cfif></td>
|
||||
|
||||
Reference in New Issue
Block a user