Passed
Push — master ( 6c7326...d5cd69 )
by Saepul
04:21
created
aksi_approval_diskon_penjualan_barang.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@  discard block
 block discarded – undo
15 15
     $datetime = date('Y-m-d G:i:s', $hour);
16 16
     $userid = $_SESSION['userid'];
17 17
 
18
-    if ($module == 'approval_diskon_penjualan_barang' and $act == 'approve') {
18
+    if ($module=='approval_diskon_penjualan_barang' and $act=='approve') {
19 19
         $id_module = $_POST['id_module'];
20 20
 
21 21
         $jum = $_POST['jum'] - 1;
22 22
 
23
-        for ($i = 1; $i <= $jum; $i++) {
23
+        for ($i = 1; $i<=$jum; $i++) {
24 24
             $id = $_POST['id'.$i];
25 25
             $p_status = $_POST['p_status'.$i];
26 26
             $status = $_POST['status'.$i];
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
             $notrans = $_POST['notrans'.$i];
31 31
             $outlet = $_POST['outlet'.$i];
32 32
 
33
-            if ($p_status == '1') {
33
+            if ($p_status=='1') {
34 34
                 mysql_query("UPDATE penjualan_barang_detail

35 35
                     SET disc       = disc1

36 36
                       , disc_value = disc_value1      

Please login to merge, or discard this patch.
modul/mod_rujukan/rujukan.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             $no = 1;
50 50
 
51 51
             while ($r = mysql_fetch_array($tampil)) {
52
-                if ($r[tipe] == 'R') {
52
+                if ($r[tipe]=='R') {
53 53
                     $tipe = 'RS/Klinik';
54 54
                 } else {
55 55
                     $tipe = 'Lab';
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
                 echo"<td style='text-align:center;'>$r[aktif]</td>";
62 62
                 echo" <td  style='text-align:center;'>";
63 63
 
64
-                if ($r_edit == 'Y') {
64
+                if ($r_edit=='Y') {
65 65
                     echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_rujukan=$r[id_rujukan]&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>";
66 66
                 }
67 67
 
Please login to merge, or discard this patch.
modul/mod_rujukan_pasien/rujukan_pasien.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
                 echo"<td>$r[rujukan_lab]</td>";
79 79
                 echo" <td  style='text-align:center;'>";
80 80
 
81
-                if ($r_edit == 'Y') {
81
+                if ($r_edit=='Y') {
82 82
                     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>";
83 83
                 }
84 84
 
Please login to merge, or discard this patch.
modul/mod_report_kunjungan_pasien/report_kunjungan_pasien.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
             </form>    
126 126
                    
127 127
                 </div>
128
-                <?php for ($i = 0; $i <= 20; $i++) {
128
+                <?php for ($i = 0; $i<=20; $i++) {
129 129
                 ?>
130 130
                     <br />
131 131
                     <?php
Please login to merge, or discard this patch.
modul/mod_user/user.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -59,25 +59,25 @@  discard block
 block discarded – undo
59 59
 
60 60
                                 $no = 1;
61 61
                                 while ($r = mysql_fetch_array($tampil)) {
62
-                                    if ($r[r_input] == 'Y') {
62
+                                    if ($r[r_input]=='Y') {
63 63
                                         $input = "<img src='images/cek.png' border=0> Input";
64 64
                                     } else {
65 65
                                         $input = "<img src='images/del.gif' width='20' border=0> Input";
66 66
                                     }
67 67
 
68
-                                    if ($r[r_edit] == 'Y') {
68
+                                    if ($r[r_edit]=='Y') {
69 69
                                         $edit = "<img src='images/cek.png' border=0> Edit";
70 70
                                     } else {
71 71
                                         $edit = "<img src='images/del.gif' width='20' border=0> Edit";
72 72
                                     }
73 73
 
74
-                                    if ($r[r_delete] == 'Y') {
74
+                                    if ($r[r_delete]=='Y') {
75 75
                                         $delete = "<img src='images/cek.png' border=0> Delete";
76 76
                                     } else {
77 77
                                         $delete = "<img src='images/del.gif' width='20' border=0> Delete";
78 78
                                     }
79 79
 
80
-                                    if ($r[outlet] == '') {
80
+                                    if ($r[outlet]=='') {
81 81
                                         $outlet = 'Semua Outlet';
82 82
                                     } else {
83 83
                                         $outlet = $r['outlet'];
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
                                     echo"<td>$r[r_delete]</td>";
94 94
                                     echo"<td style='text-align:center;'>$r[aktif]</td>";
95 95
                                     echo" <td  style='text-align:center;'>";
96
-                                    if ($r_edit == 'Y') {
96
+                                    if ($r_edit=='Y') {
97 97
                                         echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_user=$r[id_user]&id_module=$id&width=720&height=580&module=$module&TB_iframe=true' title='Update $nmmodule'><span class='icon'><i class='fa fa-pencil'></i></span></a>";
98 98
                                     }
99 99
 
Please login to merge, or discard this patch.
modul/mod_groupmodul/groupmodul.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,11 +57,11 @@  discard block
 block discarded – undo
57 57
                                     echo"<td><b>$r[nama_modul]</b></td>";
58 58
                                     echo"<td style='text-align:center;'>$r[aktif]</td>";
59 59
                                     echo" <td  style='text-align:center;'>";
60
-                                    if ($r_edit == 'Y') {
60
+                                    if ($r_edit=='Y') {
61 61
                                         echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_groupmodul=$r[id_groupmodul]&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>";
62 62
                                     }
63 63
 
64
-                                    if ($r_delete == 'Y') {
64
+                                    if ($r_delete=='Y') {
65 65
                                         echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$r[id_groupmodul]&id_module=$id' onClick=\"return confirm('Hapus Data ?')\" title='Delete $nmmodule'><span class='icon'><i class='fa fa-trash'></i></span></a>";
66 66
                                     }
67 67
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
                                         echo"<td style='text-align:center;'>$d[aktif]</td>";
86 86
                                         echo"<td style='text-align:right;'>";
87
-                                        if ($r_delete == 'Y') {
87
+                                        if ($r_delete=='Y') {
88 88
                                             echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$d[id_groupmodul]&id_module=$id' onClick=\"return confirm('Delete this record ?')\"><span class='icon'><i class='fa fa-trash'></i></span></a>";
89 89
                                         }
90 90
                                         echo'</td>';
Please login to merge, or discard this patch.
modul/mod_modul/modul.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -54,15 +54,15 @@  discard block
 block discarded – undo
54 54
 
55 55
                                     echo"<td style='text-align:center;'>$r[aktif]</td>";
56 56
                                     echo"<td style='text-align:center;'>";
57
-                                    if ($r_input == 'Y') {
57
+                                    if ($r_input=='Y') {
58 58
                                         echo"<a class='thickbox' href='modul/mod_$module/form_sub$module.php?parentid=$r[id_modul]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Sub $nmmodule Baru'><span class='icon'><i class='fa fa-pencil-square-o'></i></span></a>";
59 59
                                     }
60 60
 
61
-                                    if ($r_edit == 'Y') {
61
+                                    if ($r_edit=='Y') {
62 62
                                         echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_modul=$r[id_modul]&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>";
63 63
                                     }
64 64
 
65
-                                    if ($r_delete == 'Y') {
65
+                                    if ($r_delete=='Y') {
66 66
                                         echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapusmod&id=$r[id_modul]&id_module=$id' onClick=\"return confirm('Hapus data ?')\"><span class='icon'><i class='fa fa-trash'></i></span></a>";
67 67
                                     }
68 68
                                     echo'</td>';
@@ -80,11 +80,11 @@  discard block
 block discarded – undo
80 80
 
81 81
                                         echo"<td style='text-align:center;'>$d[aktif]</td>";
82 82
                                         echo" <td style='text-align:right;'>";
83
-                                        if ($r_edit == 'Y') {
83
+                                        if ($r_edit=='Y') {
84 84
                                             echo"<a class='thickbox' href='modul/mod_$module/form_sub$module.php?id_modul=$d[id_modul]&id_module=$id&width=720&height=560&module=$module&TB_iframe=true' title='Update Sub $imodule'><span class='icon'><i class='fa fa-pencil'></i></span></a>";
85 85
                                         }
86 86
 
87
-                                        if ($r_delete == 'Y') {
87
+                                        if ($r_delete=='Y') {
88 88
                                             echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$d[id_modul]&id_module=$id' onClick=\"return confirm('Hapus data ?')\"><span class='icon'><i class='fa fa-trash'></i></span></a>";
89 89
                                         }
90 90
                                         echo'</td>';
Please login to merge, or discard this patch.
modul/mod_groups/groups.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,11 +58,11 @@
 block discarded – undo
58 58
                 echo"<td style='text-align:center;'>$r[aktif]</td>";
59 59
                 echo" <td  style='text-align:center;'>";
60 60
 
61
-                if ($r_edit == 'Y') {
61
+                if ($r_edit=='Y') {
62 62
                     echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_groups=$r[id_groups]&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>";
63 63
                 }
64 64
 
65
-                if ($r_delete == 'Y') {
65
+                if ($r_delete=='Y') {
66 66
                     echo"<a href='modul/mod_$module/aksi_$module.php?module=$module&act=hapus&id=$r[id_groups]&id_module=$id' onClick=\"return confirm('Delete this record ?')\" title='Delete $nmmodule'><span class='icon'><i class='fa fa-trash'></i></span></a>";
67 67
                 }
68 68
                 echo'</td>';
Please login to merge, or discard this patch.
modul/mod_satuan/satuan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
                 echo"<td style='text-align:center;'>$r[aktif]</td>";
54 54
                 echo" <td  style='text-align:center;'>";
55 55
 
56
-                if ($r_edit == 'Y') {
56
+                if ($r_edit=='Y') {
57 57
                     echo"<a class='thickbox' href='modul/mod_$module/form_$module.php?id_satuan=$r[id_satuan]&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>";
58 58
                 }
59 59
 
Please login to merge, or discard this patch.