MINI
C:
/
siak
/
Siak71
/
application
/
views
/
cetak
/
laporan_capil_perkawinan
/
Upload File:
files >> C:/siak/Siak71/application/views/cetak/laporan_capil_perkawinan/doRekapKutipan.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"> <tr><td height="8px"></td></tr> <tr> <td colspan="6" class="font18"> REKAPITULASI PENCETAKAN KUTIPAN PERKAWINAN </td> </tr> <tr> <td colspan="6" class="font13">BERDASARKAN KONDISI BLANGKO</td> </tr> <tr> <td colspan="6"> TANGGAL: <?php echo ($data["END"] == $data["START"])?str_replace('-', '/', $data["END"]):str_replace('-', '/', $data["START"]).' s.d '.str_replace('-', '/', $data["END"])?> </td> </tr> <tr class="kiri"> <td width="15%">PROVINSI</td> <td width="20%">: <?php echo $this->siaklib->getNamaProvinsi($data['NO_PROP']);?></td> <td width="30%" colspan="2"></td> <td width="15%"></td> <td width="20%"></td> </tr> <tr class="kiri"> <td>KABUPATEN/KOTA</td> <td>: <?php echo $this->siaklib->getNamaKabupaten($data['NO_PROP'], $data['NO_KAB']);?></td> <td colspan="4"></td> </tr> <tr><td height="13px"></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>TANGGAL</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->tgl_cetak;?></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