if ($rekapitulasi['CLTN'] != 0) { $Ket .= "CLTN: <font color=\"#f00\">" . $rekapitulasi['CLTN'] . "</font> "; } if ($rekapitulasi['DK'] != 0) { $Ket .= "DGN KET: <font color=\"#f00\">" . $rekapitulasi['DK'] . "</font> "; } if ($rekapitulasi['TK'] != 0) { $Ket .= "TK: <font color=\"#f00\">" . $rekapitulasi['TK'] . "</font> "; } if ($rekapitulasi['UP'] != 0) { $Ket .= "UP: <font color=\"#f00\">" . $rekapitulasi['UP'] . "</font> "; } $Ket .= "]<BR>"; $rekapitulasi_total = rekapitulasi_total($q, $bulan); $Ket .= "Akumulasi Kekurangan: <font color=\"#f00\">" . $rekapitulasi_total . "</font><BR>"; $sanksi = get_sanksi($rekapitulasi_total); if ($sanksi != "") { $Ket .= "Sanksi: <font color=\"#f00\">" . $sanksi . "</font><BR>"; } ?> <tr class="row0"> <td colspan="5" align="center"><b>T O T A L</b></td> <td align="right"><font color="#f00"><b><?php echo $rekapitulasi['kekurangan_masuk'] + $rekapitulasi['kekurangan_keluar']; ?> </b></font> </td> <td colspan="5"><b><?php echo $Ket;
if ($Rekapitulasi->s != 0) { $Ket .= "SAKIT: " . $Rekapitulasi->s . "; "; } if ($Rekapitulasi->i != 0) { $Ket .= "IZIN: " . $Rekapitulasi->i . "; "; } if ($Rekapitulasi->tk != 0) { $Ket .= "TK: " . $Rekapitulasi->tk . "; "; } if ($Rekapitulasi->dpk_dpb != 0) { $Ket .= "DPK/DPB: " . $Rekapitulasi->dpk_dpb . "; "; } if ($Rekapitulasi->tb != 0) { $Ket .= "TB: " . $Rekapitulasi->tb . "; "; } $sanksi = get_sanksi($Rekapitulasi->kekurangan); if ($sanksi != "") { $Ket .= "Sanksi: " . $sanksi . "; "; } ?> <tr class="row0"> <td colspan="4" align="center"><b>T O T A L</b></td> <td align="right"><font color="#f00"><b><?php echo $Rekapitulasi->kekurangan; ?> </b></font></td> <td colspan="3"><b><?php echo $Ket; ?> </b></td>