From 42b2cf22674742542ad7f350cfb0637874f22c00 Mon Sep 17 00:00:00 2001 From: bradymiller Date: Thu, 24 Feb 2011 03:29:25 -0800 Subject: [PATCH] CCR/CCD reporting module: Bug fix in ccd xml output. --- ccr/createCCR.php | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/ccr/createCCR.php b/ccr/createCCR.php index 7a5ef0f18..7fcbac0d6 100644 --- a/ccr/createCCR.php +++ b/ccr/createCCR.php @@ -161,13 +161,15 @@ function createCCR($action,$raw="no"){ $ccr->save('generatedXml/ccrForCCD.xml'); - if ($raw == "yes") { - echo '-->'; - echo ""; - return; - } + // This is same xml as gnrtCCR and does not seem to be used below + // so commenting this out for now. + //if ($raw == "yes") { + // echo '-->'; + // echo ""; + // return; + //} $xmlDom = new DOMDocument(); $xmlDom->loadXML($ccr->saveXML()); @@ -186,6 +188,13 @@ function createCCR($action,$raw="no"){ $ccd->save('generatedXml/ccdDebug.xml'); + if ($raw == "yes") { + echo '-->'; + echo ""; + return; + } $ss = new DOMDocument(); $ss->load("ccd/cda.xsl"); -- 2.11.4.GIT