Exemplo n.º 1
0
    if ($rekapitulasi['CLTN'] != 0) {
        $Ket .= "CLTN: <font color=\"#f00\">" . $rekapitulasi['CLTN'] . "</font>  &nbsp;";
    }
    if ($rekapitulasi['DK'] != 0) {
        $Ket .= "DGN KET: <font color=\"#f00\">" . $rekapitulasi['DK'] . "</font>  &nbsp;";
    }
    if ($rekapitulasi['TK'] != 0) {
        $Ket .= "TK: <font color=\"#f00\">" . $rekapitulasi['TK'] . "</font>  &nbsp;";
    }
    if ($rekapitulasi['UP'] != 0) {
        $Ket .= "UP: <font color=\"#f00\">" . $rekapitulasi['UP'] . "</font>  &nbsp;";
    }
    $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;
Exemplo n.º 2
0
    if ($Rekapitulasi->s != 0) {
        $Ket .= "SAKIT: " . $Rekapitulasi->s . "; &nbsp;";
    }
    if ($Rekapitulasi->i != 0) {
        $Ket .= "IZIN: " . $Rekapitulasi->i . "; &nbsp;";
    }
    if ($Rekapitulasi->tk != 0) {
        $Ket .= "TK: " . $Rekapitulasi->tk . "; &nbsp;";
    }
    if ($Rekapitulasi->dpk_dpb != 0) {
        $Ket .= "DPK/DPB: " . $Rekapitulasi->dpk_dpb . "; &nbsp;";
    }
    if ($Rekapitulasi->tb != 0) {
        $Ket .= "TB: " . $Rekapitulasi->tb . "; &nbsp;";
    }
    $sanksi = get_sanksi($Rekapitulasi->kekurangan);
    if ($sanksi != "") {
        $Ket .= "Sanksi: " . $sanksi . "; &nbsp;";
    }
    ?>
			
			<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>