Passed
Push — master ( cca21a...e949c2 )
by Saepul
05:21
created
modul/mod_rujukan_pasien/rujukan_pasien.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,9 +77,9 @@
 block discarded – undo
77 77
                 echo"<td>$r[rujukan_rs]</td>";
78 78
                 echo"<td>$r[rujukan_lab]</td>";
79 79
                 echo" <td  style='text-align:center;'>";
80
-                echo"<a href='#' title='Cetak' onclick=\"window.open('./modul/mod_". $module . "/cetak_rujukan_pasien.php?report_id=20&id_rujukan=" . $r['id_kunjungan_berobat'] . "', '', 'height=500,width=600,resizable=1,scrollbars=1,addressbars=0,directories=no,location=no')\"><span class='icon'><i class='fa fa-print'></i></span></a>";
80
+                echo"<a href='#' title='Cetak' onclick=\"window.open('./modul/mod_".$module."/cetak_rujukan_pasien.php?report_id=20&id_rujukan=".$r['id_kunjungan_berobat']."', '', 'height=500,width=600,resizable=1,scrollbars=1,addressbars=0,directories=no,location=no')\"><span class='icon'><i class='fa fa-print'></i></span></a>";
81 81
 
82
-                if ($r_edit == 'Y') {
82
+                if ($r_edit=='Y') {
83 83
                     echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_kunjungan_berobat=$r[id_kunjungan_berobat]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Update $nmmodule'><span class='icon'><i class='fa fa-pencil'></i></span></a>";
84 84
                 }
85 85
 
Please login to merge, or discard this patch.
modul/mod_rujukan_pasien/cetak_rujukan_pasien.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-error_reporting(0);session_start();
3
+error_reporting(0); session_start();
4 4
 
5 5
 include './../../config/koneksi.php';
6 6
 include './../../config/fungsi_indobulan.php';
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
 $tgl_lahir = date('d/m/Y', strtotime($r['tgl_lahir']));
402 402
 $tgl = date('d/m/Y', strtotime($r['tanggal']));
403 403
 
404
-if ($r['gender'] == 'L') {
404
+if ($r['gender']=='L') {
405 405
 $gender = 'Laki-laki';
406 406
 } else {
407 407
 $gender = 'Perempuan';
@@ -430,11 +430,11 @@  discard block
 block discarded – undo
430 430
 <td width='1%'>:</td>
431 431
 <td><?=$r['kategori']; ?></td>
432 432
 </tr>
433
-<?php if (strtolower($r['kategori']) == 'bpjs'):?>
433
+<?php if (strtolower($r['kategori'])=='bpjs'):?>
434 434
 <tr>
435 435
 <td width='30%'>No. BPJS</td>
436 436
 <td width='1%'>:</td>
437
-<td><?php echo ($r['bpjs'] != '') ? $r['bpjs'] : '-'; ?></td>
437
+<td><?php echo ($r['bpjs']!='') ? $r['bpjs'] : '-'; ?></td>
438 438
 </tr>
439 439
 <?php endif; ?>
440 440
 <tr>
Please login to merge, or discard this patch.