File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
eform-client/src/app/modules/cases/components/cases-table Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ <h1 class="page-title header-page-title">
120120 </ div >
121121
122122 < div class ="row ">
123- < button tooltip ="Download PDF " (click) =" downloadTemplatePDF(this. currentTemplate.id, caseModel.id) "
124- class ="needs_tooltip btn btn-ar btn-sm btn-default "
123+ < button tooltip ="Download PDF " href =" /api/template-files/download-case-pdf/{{ currentTemplate.id}}?caseId={{ caseModel.id}} "
124+ class ="needs_tooltip btn btn-ar btn-xs btn-default "
125125 type ="button ">
126126 < span class ="fa fa-file-pdf-o "> </ span >
127127 </ button >
Original file line number Diff line number Diff line change @@ -57,12 +57,6 @@ export class CasesTableComponent implements OnInit {
5757 } ) ;
5858 }
5959
60- downloadTemplatePDF ( templateId : number , caseId : number ) {
61- this . eFormService . downloadEformPDF ( templateId , caseId ) . subscribe ( ( data => {
62-
63- } ) ) ;
64- }
65-
6660 submitCaseDelete ( id : number ) {
6761 this . casesService . deleteCase ( id ) . subscribe ( ( data => {
6862 if ( data && data . success ) {
You can’t perform that action at this time.
0 commit comments