Przeglądaj źródła

corrige un probleme de typo (last_count -> visit_count) + supprime le cryptage des pdf des rapports

Fabrice 3 lat temu
rodzic
commit
842763c4f1

+ 1 - 1
api.ipsocloud.com/api/v1/Models/ReportInterface.class.php

@@ -735,7 +735,7 @@ namespace Models {
       $dompdf->loadHtml($html, 'UTF-8');
       $dompdf->setPaper('A4', 'portrait');
       $dompdf->render();
-      $dompdf->get_canvas()->get_cpdf()->setEncryption($password, $password);
+      //$dompdf->get_canvas()->get_cpdf()->setEncryption($password, $password);
       $baseDir = '../../storage/report/';
       \Tools\FS::mkpath($baseDir);
       $path = $baseDir.$filename.'.pdf';

+ 6 - 6
www.ipsocloud.com/webapp_webpack/src/pages/patient-files-existing.f7.html

@@ -45,10 +45,10 @@
               {{#js_if "this.patientListFields.Last_visit"}}
                 <th class="label-cell">{{js "global.tr[global.lang].existing.lastVisit"}}</th> <!-- sortable-cell sortable-cell-active sortable-desc-->
               {{/js_if}}
-              {{#js_if "app.data.user.type=='physician'"}}
+              <!-- {{#js_if "app.data.user.type=='physician'"}}
                 <th class="numeric-cell" style="width:100px;">{{js "global.tr[global.lang].existing.visitNumber"}}</th>
-              {{/js_if}}
-              {{#js_if "this.patientListFields.Last_count"}}
+              {{/js_if}} -->
+              {{#js_if "this.patientListFields.Visit_count"}}
                 <th class="numeric-cell" style="width:100px;">{{js "global.tr[global.lang].existing.visitCount"}}</th>
               {{/js_if}}
               {{#js_if "this.patientListFields.Image_count"}}
@@ -90,10 +90,10 @@
               {{#js_if "../patientListFields.Last_visit"}}
                 <td class="label-cell">{{lastVisit}}</td>
               {{/js_if}}
-              {{#js_if "app.data.user.type=='physician'"}}
+              <!-- {{#js_if "app.data.user.type=='physician'"}}
                 <td class="numeric-cell" style="width:100px;">{{visitNumber}}</td>
-              {{/js_if}}
-              {{#js_if "../patientListFields.Last_count"}}
+              {{/js_if}} -->
+              {{#js_if "../patientListFields.Visit_count"}}
                 <td class="numeric-cell" style="width:100px;">{{visitCount}}</td>
               {{/js_if}}
               {{#js_if "../patientListFields.Image_count"}}

+ 1 - 1
www.ipsocloud.com/webapp_webpack/src/pages/report-config.f7.html

@@ -685,7 +685,7 @@
             }
           }
           else {
-            app.dialog.alert(global.tr[global.lang].report.password+'<h3>'+data.password+'</h3>');
+            //app.dialog.alert(global.tr[global.lang].report.password+'<h3>'+data.password+'</h3>');
 
             // convert data
             const b64toBlob = (b64Data, contentType='', sliceSize=512) => {