@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | $id = $r['id_modul']; |
13 | 13 | $fa_icon = $r['fa_icon']; |
14 | 14 | |
15 | -if ($r[orientation] == 'P') { |
|
15 | +if ($r[orientation]=='P') { |
|
16 | 16 | $orientation = 'portrait'; |
17 | 17 | } else { |
18 | 18 | $orientation = 'landscape'; |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | |
140 | 140 | <!--<body onload="cetakspk()">--> |
141 | 141 | |
142 | -<?php if ($_GET['printto'] == '2') { |
|
142 | +<?php if ($_GET['printto']=='2') { |
|
143 | 143 | ?> |
144 | 144 | <body onload="icetak()"> |
145 | 145 | <?php |
@@ -234,7 +234,7 @@ discard block |
||
234 | 234 | |
235 | 235 | $stok = $r[jumlah] + $r[keluar]; |
236 | 236 | |
237 | - $kadaluwarsa = ($r[kadaluwarsa] != '') ? date('d/m/Y', strtotime($r[kadaluwarsa])) : '-'; |
|
237 | + $kadaluwarsa = ($r[kadaluwarsa]!='') ? date('d/m/Y', strtotime($r[kadaluwarsa])) : '-'; |
|
238 | 238 | |
239 | 239 | echo'<tr>'; |
240 | 240 | echo"<td style='text-align:center;'>$no</td>"; |