Remove CDRs from Documents

Removing the display of CDRs on Invoice and Billing Statements in generally controlled by settings on the CDR Billing Plan. Making the following edits will accomplish the same goal.

  1. Edit /usr/local/billmax/cfg/xsltfiles/fo/documents.xsl to make customizations
  2. Where applicable edit the following:
    Note: Before
    					<xsl:if test="noteSet">
    						<fo:block>
    							<xsl:text>Notes: </xsl:text>
    						</fo:block>
    						<xsl:for-each select="noteSet/note">
    							<fo:block linefeed-treatment="preserve"   white-space-collapse="false"  white-space-treatment="preserve" font="{$notefont}"> 
    								<xsl:value-of select="text"/>
    							</fo:block>
    						</xsl:for-each>
    					</xsl:if>
    					<xsl:if test="not(//phoneUsageTables)">
    						<fo:block id="endofdoc"/>
    					</xsl:if>
    				</fo:flow>
    			</fo:page-sequence>
    			<xsl:if test="//phoneUsageTables">
    				<fo:page-sequence master-reference="phoneUsage">
    					<fo:static-content flow-name="phoneusage-region-before" font="{$defaultfont}">
    						<xsl:call-template name="standardUsageHeader"/>
    					</fo:static-content>
    					<fo:flow flow-name="xsl-region-body" font="{$defaultfont}">
    						<xsl:for-each select="//phoneUsageTables">
    							<xsl:call-template name="phoneUsageTables"/>
    						</xsl:for-each>
    						<fo:block id="endofdoc"/>
    					</fo:flow>
    				</fo:page-sequence>
    			</xsl:if>
    		</fo:root>

    After

    					<xsl:if test="noteSet">
    						<fo:block>
    							<xsl:text>Notes: </xsl:text>
    						</fo:block>
    						<xsl:for-each select="noteSet/note">
    							<fo:block linefeed-treatment="preserve"   white-space-collapse="false"  white-space-treatment="preserve" font="{$notefont}"> 
    								<xsl:value-of select="text"/>
    							</fo:block>
    						</xsl:for-each>
    					</xsl:if>
    					<fo:block id="endofdoc"/>
    				</fo:flow>
    			</fo:page-sequence>
    		</fo:root>