MINI
C:
/
siak
/
Siak71
/
application
/
views
/
cetak
/
capil_anak_pengesahan
/
Upload File:
files >> C:/siak/Siak71/application/views/cetak/capil_anak_pengesahan/doRegister.php
<?php for($i = 0; $i < count($data); $i++){ $value = $data[$i]; $hri_lapor = '-'; $tgl_lapor = NULL; $bln_lapor = NULL; $thn_lapor = NULL; if($value->plpr_tgl_lapor != NULL){ $hri_lapor = $value->plpr_tgl_lapor->format('w'); $tgl_lapor = $value->plpr_tgl_lapor->format('d'); $bln_lapor = $value->plpr_tgl_lapor->format('m'); $thn_lapor = $value->plpr_tgl_lapor->format('Y'); } $hri_lhr = '-'; $tgl_lhr = NULL; $bln_lhr = NULL; $thn_lhr = NULL; if($value->anak_lahir_tgl != NULL){ $hri_lhr = $value->anak_lahir_tgl->format('w'); $tgl_lhr = $value->anak_lahir_tgl->format('d'); $bln_lhr = $value->anak_lahir_tgl->format('m'); $thn_lhr = $value->anak_lahir_tgl->format('Y'); } $hri_kwn = '-'; $tgl_kwn = NULL; $bln_kwn = NULL; $thn_kwn = NULL; if($value->ibu_akta_kwn_tgl != NULL){ $hri_kwn = $value->ibu_akta_kwn_tgl->format('w'); $tgl_kwn = $value->ibu_akta_kwn_tgl->format('d'); $bln_kwn = $value->ibu_akta_kwn_tgl->format('m'); $thn_kwn = $value->ibu_akta_kwn_tgl->format('Y'); } $hri_akta_lhr = '-'; $tgl_akta_lhr = NULL; $bln_akta_lhr = NULL; $thn_akta_lhr = NULL; if($value->anak_lahir_akta_tgl != NULL){ $hri_akta_lhr = $value->anak_lahir_akta_tgl->format('w'); $tgl_akta_lhr = $value->anak_lahir_akta_tgl->format('d'); $bln_akta_lhr = $value->anak_lahir_akta_tgl->format('m'); $thn_akta_lhr = $value->anak_lahir_akta_tgl->format('Y'); } $hasil[$value->anak_no]['01_HARI_INI'] = strtoupper($this->siakwordconvert->getNamaHariId($hri_lapor)); $hasil[$value->anak_no]['02_BULAN_INI'] = is_null($tgl_lapor)?' ':strtoupper($this->siakwordconvert->getIndonesiaConvertNumberToWords($tgl_lapor)); $bulan=is_null($bln_lapor)?'':strtoupper($this->siakwordconvert->getIndonesiaMonth($bln_lapor)); $hasil[$value->anak_no]['02_BULAN_INI'].=' '.$bulan; $hasil[$value->anak_no]['03_TAHUN_INI'] = is_null($thn_lapor)?' ':strtoupper($this->siakwordconvert->getIndonesiaConvertNumberToWords($thn_lapor)); $hasil[$value->anak_no]['06_BULAN_LHR'] = is_null($tgl_lhr)?' ':strtoupper($this->siakwordconvert->getIndonesiaConvertNumberToWords($tgl_lhr)); $bulan=is_null($bln_lhr)?'':strtoupper($this->siakwordconvert->getIndonesiaMonth($bln_lhr)); $hasil[$value->anak_no]['06_BULAN_LHR'] .=' '.$bulan; $hasil[$value->anak_no]['07_TAHUN_LHR'] = is_null($thn_lhr)?' ':strtoupper($this->siakwordconvert->getIndonesiaConvertNumberToWords($thn_lhr)); $hasil[$value->anak_no]['09_BULAN_KAWIN'] = is_null($tgl_kwn)?' ':strtoupper($this->siakwordconvert->getIndonesiaConvertNumberToWords($tgl_kwn)); $bln_kwn=is_null($bln_kwn)?'':strtoupper($this->siakwordconvert->getIndonesiaMonth($bln_kwn)); $hasil[$value->anak_no]['09_BULAN_KAWIN'].=' '.$bln_kwn; $hasil[$value->anak_no]['10_TAHUN_KAWIN'] = is_null($thn_kwn)?' ':strtoupper($this->siakwordconvert->getIndonesiaConvertNumberToWords($thn_kwn)); $hasil[$value->anak_no]['11_HARI_AKTA'] = strtoupper($this->siakwordconvert->getNamaHariId($hri_akta_lhr)); $hasil[$value->anak_no]['12_BULAN_AKTA'] = is_null($tgl_akta_lhr)?' ':strtoupper($this->siakwordconvert->getIndonesiaConvertNumberToWords($tgl_akta_lhr)); $bln_lpr=is_null($bln_lapor)?'':strtoupper($this->siakwordconvert->getIndonesiaMonth($bln_akta_lhr)); $hasil[$value->anak_no]['12_BULAN_AKTA'].=' '.$bln_lpr; $hasil[$value->anak_no]['13_TAHUN_AKTA'] = is_null($thn_akta_lhr)?' ':strtoupper($this->siakwordconvert->getIndonesiaConvertNumberToWords($thn_akta_lhr)); } ?>
Copyright ©2021 || Defacer Indonesia