ataExporter type="pdf"
                                                target="#{reportController.reportType eq 'Summary' ? 'tblSummary' : 'tblDetail'}"
                                                fileName="referring_doctor_wise_revenue"/>
                            </p:commandButton>
                        </div>
                    </p:panel>
                </h:form>

                <h:panelGroup id="printPanel">
                    <p:panel header="Referring Doctor Summary Report "
              