MINI
C:
/
siak
/
TOOL SIAK
/
tool9
/
siak73
/
app
/
Siak
/
application
/
views
/
cetak
/
laporan_pencetakan_kk
/
Upload File:
files >> C:/siak/TOOL SIAK/tool9/siak73/app/Siak/application/views/cetak/laporan_pencetakan_kk/doRekapKK.php
<html> <head> <link href="../../java/cetak/css/style.css" rel="stylesheet" type="text/css"/> <style type="text/css" media="print,screen"> @page{ size:A4;} table{ margin-left: 1.66cm;} tr.content-head{ background-color: #dcdddd;} td.total{ font-style: italic; font-weight: bold;} </style> </head> <body> <table width="89%" class="tengah renggang"> <tr><td height="8px"></td></tr> <tr> <td colspan="6" class="font18"><strong>REKAPITULASI PENCETAKAN <?php if($data['TYPE_DOK'] != NULL){ echo ($data['TYPE_DOK'] == '1')?"KARTU KELUARGA WNI":"KARTU KELUARGA OA"; } else{ echo "KARTU KELUARGA"; } ?></strong> </td> </tr> <tr> <td colspan="6" class="font16"><strong>BERDASARKAN KONDISI BLANGKO</strong></td> </tr> <tr> <td colspan="6" class="font15"><strong><?php if(array_key_exists ('NO_KEC', $data)){ echo "KECAMATAN ".$this->siaklib->getNamaKecamatan($data['NO_PROP'], $data['NO_KAB'], $data['NO_KEC']); }else{ echo ($data['NO_KAB']>70)?$this->siaklib->getNamaKabupaten($data['NO_PROP'], $data['NO_KAB']):"KABUPATEN ".$this->siaklib->getNamaKabupaten($data['NO_PROP'], $data['NO_KAB']); }?> </strong></td> </tr> <tr> <td colspan="6"> TANGGAL: <?php echo ($data["END"] == $data["START"])?$data["END"]:$data["START"].' s.d '.$data["END"];?> </td> </tr> </table> <table width="89%" class="bordered"> <thead> <tr class="tengah content-head"> <th width="5%"><strong>NO</strong></th> <th width="35%"><strong>NAMA <?php echo $data['WIL'];?></strong></th> <th width="15%"><strong>BELUM TERDEFINISI</strong></th> <th width="15%"><strong>BAIK</strong></th> <th width="15%"><strong>RUSAK</strong></th> <th width="15%"><strong>JUMLAH</strong></th> </tr> </thead> <tbody> <?php $i = 1; $jmlPerWil = 0; $tot_0 = 0; $tot_1 = 0; $tot_2 = 0; $tot_all = 0; foreach($data['listData'] as $row){ $jmlPerWil = $row->blm_terdefinisi + $row->baik + $row->rusak; $tot_0 += $row->blm_terdefinisi; $tot_1 += $row->baik; $tot_2 += $row->rusak; $tot_all += $jmlPerWil; ?> <tr> <td align="center"><?php echo $i;?></td> <td><?php echo $row->nama_wil;?></td> <td align="right"><?php echo $row->blm_terdefinisi;?></td> <td align="right"><?php echo $row->baik;?></td> <td align="right"><?php echo $row->rusak;?></td> <td align="right"><?php echo $jmlPerWil;?></td> </tr> <?php $i++; } ?> </tbody> <tfoot> <tr> <td colspan="2" align="center">TOTAL</td> <td class="total" align="right"><?php echo $tot_0;?></td> <td class="total" align="right"><?php echo $tot_1;?></td> <td class="total" align="right"><?php echo $tot_2;?></td> <td class="total" align="right"><?php echo $tot_all;?></td> </tr> </tfoot> </table> </body> </html>
Copyright ©2021 || Defacer Indonesia