[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
simaku
/
application-old
/
views
/
akuntansi
/
[
Home
]
File: jurnal_umum_4_penghapusan.php
<div class="alert alert-info">Jurnal Penghapusan</div> <?php $flashmessage = $this->session->flashdata('pesan_ju'); echo ! empty($flashmessage) ? '<div class="alert alert-danger">' . $flashmessage . '</div>': ''; $jutemp = $this->Makun->get_penyusutan_by_id($id_aset); if($this->session->userdata('jurnalhapussusut') == FALSE){ ?> <div class="alert alert-warning"> <form method="post" action="<?=base_url('akuntansi/jurnalumum_proses_pre')?>" class="form-horizontal"> <div class="form-group"> <label class="col-sm-3 control-label">Ketik Uraian :</label> <div class="col-sm-9"> <input type="text" class="form-control" placeholder="Uraian" name="uraian" value="Jurnal Penghapusan <?=$jutemp->row()->nama?>" disabled> </div> </div> </form> <hr/> <form method="post" action="<?=base_url('akuntansi/multiplejurnalumum_penyusutan2/'.$id_aset)?>" class="form-horizontal"> <table class="table table-condensed"> <tr class="active"> <td>Kode Rekening</td> <td>Debet</td> <td>Kredit</td> </tr> <?php if ($jutemp->num_rows()>0){ foreach($jutemp->result() as $t){ $coa_aset = $this->Maset->get_pasangan_coa_aset_by_coa($t->coa)->row(); $rek1 = $this->Mrek->get_rek6_by_coa($coa_aset->Rek_Biaya_Penyusutan)->row(); $rek2 = $this->Mrek->get_rek6_by_coa($coa_aset->Rek_Akumulasi_Penyusutan)->row(); ?> <tr> <td width="50%"><?php echo form_dropdown('idrek6a1', $options_debet,$rek1->idrek6,'class="combobox form-control input-sm" disabled'); ?></td> <td><input type="text" class="form-control input-sm" placeholder="Debet" name="debet1" value="<?=$t->nominal?>" disabled></td> <td><input type="text" class="form-control input-sm" placeholder="Kredit" name="kredit1" value="0" disabled></td> </tr> <tr> <td width="50%"><?php echo form_dropdown('idrek6a2', $options_debet,$rek2->idrek6,'class="combobox form-control input-sm" disabled'); ?></td> <td><input type="text" class="form-control input-sm" placeholder="Debet" name="debet2" value="0" disabled></td> <td><input type="text" class="form-control input-sm" placeholder="Kredit" name="kredit2" value="<?=$t->nominal?>" disabled></td> </tr> <?php }} ?> </table> <input type="submit" class="btn btn-sm btn-primary" value="JURNALKAN" onclick="return confirm('Anda yakin?')"> </form> </div> <?php }?> <hr> <?php if($this->session->userdata('jurnalhapusaset') == FALSE){ ?> <div class="alert alert-danger"> <form method="post" action="<?=base_url('akuntansi/jurnalumum_proses_pre')?>" class="form-horizontal"> <div class="form-group"> <label class="col-sm-3 control-label">Ketik Uraian :</label> <div class="col-sm-9"> <input type="text" class="form-control" placeholder="Uraian" name="uraian" value="Jurnal Penghapusan <?=$jutemp->row()->nama?>" disabled> </div> </div> </form> <hr/> <form method="post" action="<?=base_url('akuntansi/multiplejurnalumum_penghapusan/'.$id_aset)?>" class="form-horizontal"> <table class="table table-condensed"> <tr class="active"> <td>Kode Rekening</td> <td>Debet</td> <td>Kredit</td> </tr> <?php if ($jutemp->num_rows()>0){ foreach($jutemp->result() as $t){ $coa_aset = $this->Maset->get_pasangan_coa_aset_by_coa($t->coa)->row(); $rek1 = $this->Mrek->get_rek6_by_coa($coa_aset->Rek_Akumulasi_Penyusutan)->row(); $rek2 = $this->Mrek->get_rek6_by_coa($coa_aset->Rek_Aset)->row(); // $asetawal = $this->Makun->get_buku_besar_by_idrek6($rek2->idrek6)->row(0)->debet; $aset = $this->Mrinci->get_rinci_by_id($jutemp->row()->idrinci); if ($aset->qty2 == NULL OR $aset->qty2 == '0'){ $setqty2 = 1;}else{$setqty2 = $aset->qty2;} if ($aset->qty3 == NULL OR $aset->qty3 == '0'){ $setqty3 = 1;}else{$setqty3 = $aset->qty3;} if ($aset->qty4 == NULL OR $aset->qty4 == '0'){ $setqty4 = 1;}else{$setqty4 = $aset->qty4;} $asetawal = ($aset->hargasat*$aset->qty1*$setqty2*$setqty3*$setqty4); ?> <tr> <td width="50%"><?php echo form_dropdown('idrek6a1', $options_debet,$rek1->idrek6,'class="combobox form-control input-sm" disabled'); ?></td> <td><input type="text" class="form-control input-sm" placeholder="Debet" name="debet1" value="<?=$asetawal?>" disabled></td> <td><input type="text" class="form-control input-sm" placeholder="Kredit" name="kredit1" value="0" disabled></td> </tr> <tr> <td width="50%"><?php echo form_dropdown('idrek6a2', $options_debet,$rek2->idrek6,'class="combobox form-control input-sm" disabled'); ?></td> <td><input type="text" class="form-control input-sm" placeholder="Debet" name="debet2" value="0" disabled></td> <td><input type="text" class="form-control input-sm" placeholder="Kredit" name="kredit2" value="<?=$asetawal?>" disabled></td> </tr> <?php }} ?> </table> <input type="submit" class="btn btn-sm btn-primary" value="JURNALKAN" onclick="return confirm('Anda yakin?')"> </form> </div> <?php }?>