예제 #1
0
        ?>
</td>
			<td><?php 
        echo tgltgl(date("d-m-Y", strtotime($obj->fields['TANGGAL_SPP'])));
        ?>
</td>
			<td class="text-right"><?php 
        echo to_money($rencana);
        ?>
</td>
			<td class="text-right"><?php 
        echo to_money($realisasi);
        ?>
</td>
			<td class="text-right"><?php 
        echo to_money($rencana - $realisasi);
        ?>
</td>
		</tr>
		
		<?php 
        if ($i % $per_page === 0) {
            echo '<tr><td class="nb"><div class="newpage"></div></td></tr>';
            th_print();
        }
        $i++;
        $obj->movenext();
    }
    echo $set_ttd;
}
?>
예제 #2
0
<?php

$type = $pro_type[$service['op_code']];
?>
<div class="b-layout b-layout_pad_10 b-layout_bord_e6 b-layout_relative b-layout_margbot_10">
    <span class="b-page__desktop b-page__ipad"><span class="b-icon b-icon__spro b-icon__spro_e b-icon_absolute b-icon_left_10" title="PRO"></span></span>
    <span class="b-layout__txt b-layout__txt_float_right b-layout__txt_fontsize_15 b-layout__txt_color_fd6c30 b-layout__txt_padtop_2 b-layout__txt_padleft_10"><?php 
echo to_money($service['ammount']);
?>
 руб.</span>
    <div class="b-layout__txt b-layout__txt_fontsize_15 b-layout__txt_padleft_70 b-layout__txt_padleft_null_iphone b-layout__txt_padtop_2">Профессиональный аккаунт на <?php 
echo $type['is_test'] ? '1 неделю' : $type['month'] . ' ' . ending($type['month'], 'месяц', 'месяца', 'месяцев');
?>
</div>
</div>
예제 #3
0
        echo $obj->fields['ALAMAT_SURAT'];
        ?>
</td>
			<td><?php 
        echo $TELP;
        ?>
</td>
			<td class="text-center"><input type="hidden" name="tanggal_tempo" id="tanggal_tempo" value="<?php 
        echo $tanggal_tempo;
        ?>
"><?php 
        echo tgltgl(date("d-m-Y", strtotime($obj->fields['TANGGAL'])));
        ?>
</td>
			<td class="text-right"><?php 
        echo to_money($obj->fields['NILAI']);
        ?>
</td>
		</tr>
		<?php 
        $obj->movenext();
    }
}
?>
</table>

<table id="pagging-2" class="t-control "></table>

<script type="text/javascript">
jQuery(function($) {
	$('#pagging-2').html($('#pagging-1').html());	
예제 #4
0
    $on = $obj->fields['LOKASI'];
    echo "<option value='{$ov}' " . is_selected($ov, $kode_lokasi) . "> {$on}  </option>";
    $obj->movenext();
}
?>
		</select>
	</td>
</tr>

<tr>
	<td>Harga Tanah / m&sup2;</td><td>:</td>
	<td><input type="text" name="harga_tanah" id="harga_tanah" value="<?php 
if (!isset($harga_tanah)) {
    $harga_tanah = 0;
}
echo to_money(intval($harga_tanah));
?>
" size="15"></td>
</tr>

<tr>
	<td>Tanggal</td><td>:</td>
	<td><input type="text" name="tanggal" id="tanggal" value="<?php 
echo $tanggal;
?>
" class="apply dd-mm-yyyy" size="12"></td>
	
</tr>

<tr>
	<td>Status</td><td>:</td>
예제 #5
0
    $obj->movenext();
}
$query = "\n\tSELECT SUM(NILAI) AS TOTAL FROM KWITANSI WHERE KODE_BLOK = '{$kode_blok}'\n\t";
$obj = $conn->execute($query);
?>
<tr>
	<th colspan=2 lass="text-center">TOTAL</th>
	<td class="text-right"><?php 
echo to_money($obj->fields['TOTAL']);
?>
</td>
</tr>
<tr>
	<th colspan=2 lass="text-center">SISA</th>
	<td class="text-right"><?php 
echo to_money($sisa_pembayaran - $obj->fields['TOTAL']);
?>
</td>
</tr>
</table>

<div class="clear"></div>

<div id="t-detail"></div>

<input type="hidden" name="id" id="id" value="<?php 
echo $id;
?>
">
<input type="hidden" name="act" id="act" value="<?php 
echo $act;
예제 #6
0
	<td><input type="text" name="kpa24x" id="kpa24x" value="<?php 
if (!isset($kpa24x)) {
    $kpa24x = 0;
}
echo to_money(intval($kpa24x));
?>
" size="20"></td>
</tr>

<tr>
	<td>Harga KPA36x</td><td>:</td>
	<td><input type="text" name="kpa36x" id="kpa36x" value="<?php 
if (!isset($kpa36x)) {
    $kpa36x = 0;
}
echo to_money(intval($kpa36x));
?>
" size="20"></td>
</tr>

<tr>
	<td>Tanggal</td><td>:</td>
	<td><input type="text" name="tanggal" id="tanggal" value="<?php 
echo $tanggal;
?>
" class="apply dd-mm-yyyy" size="12"></td>
</tr>

<tr>
	<td>Status</td><td>:</td>
	<td><input type="checkbox" name="status" id="status" value="1" <?php 
예제 #7
0
    $paypost = $_POST;
    //Сохраняем в сессию, т.к. яндекс
    //это помнит при двух последующих запросах
    $memBuff->set($key, $paypost);
}
$payway = array(yandex_kassa::PAYMENT_YD => 'Яндекс.Деньги', yandex_kassa::PAYMENT_AC => 'Карта', yandex_kassa::PAYMENT_WM => 'Webmoney', yandex_kassa::PAYMENT_AB => 'Альфа-Клик', yandex_kassa::PAYMENT_SB => 'Сбербанк Онлайн');
?>

<h2>Тестовая оплата Яндекс.Касса</h2>
<p>
    Оплата услуг аккаунт <strong>#<?php 
echo intval($paypost['customerNumber']);
?>
</strong><br />
    Cумма оплаты <strong><?php 
echo to_money($paypost['Sum'], 2);
?>
 рублей</strong><br />
    Cпособ оплаты <strong><?php 
echo $payway[$paypost['paymentType']];
?>
</strong><br />
    IP cервера Яндекса <strong><?php 
echo getRemoteIp();
?>
</strong><br />
    ShopID <strong><?php 
echo $paypost['ShopID'];
?>
</strong><br />
    Bill reserve ID: <strong><?php 
예제 #8
0
     $document->setValue('tanggal_ppjb', $tanggal_ppjb);
     $document->setValue('nomor_ppjb', $nomor_ppjb);
     $document->setValue('tanggal_tempo', $tgl_tempo);
     $document->setValue('no_somasi1', $no_somasi1);
     $document->setValue('tgl_somasi1', $tgl_somasi1);
     $document->setValue('no_somasi2', $no_somasi2);
     $document->setValue('tgl_somasi2', $tgl_somasi2);
     $document->setValue('no_somasi3', $no_somasi3);
     $document->setValue('tgl_somasi3', $tgl_somasi3);
     $document->setValue('blok', $blok);
     $document->setValue('nomor', $nomor);
     $document->setValue('kav_bang', $kav_bang);
     $document->setValue('nilai', to_money($nilai) . ".00");
     $document->setValue('bulan', $bulan);
     $document->setValue('denda', to_money($denda) . ".00");
     $document->setValue('total', to_money($total) . ".00");
     $document->setValue('terbilang', $n_terbilang . " rupiah");
     $nama_file = "Surat_Wanprestasi_" . trim($kode_blok) . "_" . date('d F Y') . ".doc";
     // At least write the document to webspace:
     $objWriter = PHPWord_IOFactory::createWriter($PHPWord, 'Word2007');
     // buat pathnya di C..jika belum ada, sistem langsung dibikin
     $path = 'C:Surat_Wanprestasi/';
     if (!file_exists($path)) {
         mkdir($path, 0777, true);
     }
     //simpan file di komputer
     $document->save($path . "/" . $nama_file);
     //simpan ke dalam array
     $file_names[] = $nama_file;
 }
 //persiapan file zip dan memanggil fungsi generate zip
예제 #9
0
        для пополнения банковским переводом
        <a class="b-layout__link" href="javascript:void(0);" onclick="xajax_removeBillInvoice({num});">Удалить</a>
    </div>
</script>   
<?php 
}
?>
<table class="b-layout__table b-layout__table_width_full">
    <tr class="b-layout__tr">
        <td class="b-layout__td">
            <div class="b-layout b-layout_pad_10 b-layout_bord_e6 b-layout_width_250 b-layout_margbot_20">
                <div class="b-layout__txt b-layout__txt_fontsize_15 b-layout__txt_bold">На счету: <span class="b-layout__txt b-layout__txt_fontsize_15 b-layout__txt_color_fd6c30"><?php 
echo to_money($bill->acc['sum'], 2);
?>
 руб. <?php 
echo $bill->acc['bonus_sum'] > 0 ? '(+ ' . to_money($bill->acc['bonus_sum'], 2) . ' руб.)' : '';
?>
</span></div>
                <div class="b-layout__txt b-layout__txt_fontsize_11">Номер вашего счета: <?php 
echo $bill->acc['id'];
?>
 </div>
            </div>
        </td>
        <?php 
if ($isAllowBillInvoice) {
    $fin_url = sprintf('/users/%s/setup/finance/', $_SESSION['login']);
    ?>
        <td class="b-layout__td b-layout__td_padleft_20<?php 
    if (!$showReserveNotice) {
        ?>
        echo $obj->fields['NAMA_PEMBAYAR'];
        ?>
</td>
			<td class="text-right"><?php 
        echo to_money($obj->fields['NILAI']);
        ?>
</td>	
		</tr>
		<?php 
        $i++;
        $obj->movenext();
    }
    echo '
		<tr> 
			<td colspan="5" class="text-center"><b> Total </b></td>
			<td class="text-right"><b>' . to_money($total_nilai) . '</b></td>
		</tr>';
}
?>
</table>

<table id="pagging-2" class="t-control w60"></table>

<script type="text/javascript">
jQuery(function($) {
	
	$('#pagging-2').html($('#pagging-1').html());	
	$('#total-data').html('<?php 
echo $total_data;
?>
');
        ?>
</td>
			<td><?php 
        echo $obj->fields['NAMA_PEMBELI'];
        ?>
</td>
			<td><?php 
        echo $obj->fields['ALAMAT_SURAT'];
        ?>
</td>
			<td><?php 
        echo $TELP;
        ?>
</td>
			<td class="text-center"><?php 
        echo to_money($obj->fields['PLAFON_KPR_DISETUJUI']);
        ?>
</td>
		</tr>
		<?php 
        $obj->movenext();
    }
}
?>
</table>

<table id="pagging-2" class="t-control "></table>

<script type="text/javascript">
jQuery(function($) {
	$('#pagging-2').html($('#pagging-1').html());	
예제 #12
0
		<option value="3" <?php 
echo is_selected('3', $status_kompensasi);
?>
>KOMPENSASI</option>
		<option value="4" <?php 
echo is_selected('4', $status_kompensasi);
?>
>ASSET SETTLEMENT</option>
		<option value="5" <?php 
echo is_selected('5', $status_kompensasi);
?>
>KPR JAYA</option>
	</select>
	</td>
	<td colspan="2" class="text-right">Tanda Jadi : <input type="text" name="tanda_jadi" id="tanda_jadi" size="20" value="<?php 
echo to_money($tanda_jadi);
?>
"></td>
</tr>
<tr>
	<td width="230">Distribusi SPP : 
		<input type="radio" name="status_spp" id="sudah" class="status" value="1" <?php 
echo is_checked('1', $status_spp);
?>
>Sudah
		<input type="radio" name="status_spp" id="belum" class="status" value="2" <?php 
echo is_checked('2', $status_spp);
?>
>Belum  
	</td>
	<td><input type="text" name="tgl_proses" id="tgl_proses" size="10" class="apply dd-mm-yyyy" value="<?php 
예제 #13
0
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_USERPWD, BASIC_AUTH);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
    ob_start();
    $res = curl_exec($ch);
    $complete = ob_get_clean();
    header("Location: /bill/success/");
    exit;
}
$_SESSION['post_payment'] = $payget;
?>

<h2>Тестовая оплата Яндекс.Деньги</h2>
<p>
Оплата услуг аккаунт #<?php 
echo intval($payget['CustomerNumber']);
?>
, сумма оплаты <?php 
echo to_money($payget['Sum'], 2);
?>
 рублей
</p>

<form method="POST" />
    <input type="submit" name="success" value="Оплатить" />
    <input type="submit" name="cancel" value="Отмена" />
    <input type="hidden" name="u_token_key" value="<?php 
echo $_SESSION['rand'];
?>
"/>
</form>
예제 #14
0
    ?>
"
		data-harga_tanah="<?php 
    echo to_money($obj->fields['HARGA_TANAH'], 2);
    ?>
">
		<td><?php 
    echo date("d-m-Y", strtotime($obj->fields['TANGGAL']));
    ?>
</td>
		<td><?php 
    echo $obj->fields['LOKASI'];
    ?>
</td>
		<td class="text-right"><?php 
    echo to_money($obj->fields['HARGA_TANAH'], 2);
    ?>
</td>
	</tr>
	<?php 
    $obj->movenext();
}
?>
</table>

</form>

</body>
</html>
<?php 
close($conn);
    ?>
</td>
			<td><?php 
    echo $obj->fields['NAMA_PEMBAYAR'];
    ?>
</td>
			<td><?php 
    echo $obj->fields['KETERANGAN'];
    ?>
</td>
			<td class="text-right"><?php 
    echo to_money($obj->fields['NILAI']);
    ?>
</td>
			<td class="text-right"><?php 
    echo to_money($obj->fields['NILAI_DIPOSTING']);
    ?>
</td>
			<td class="notclick text-center"><input type="checkbox" name="cb_data[]" class="cb_data" <?php 
    echo $obj->fields['VER_KEUANGAN'];
    ?>
 checked></td>
		
		</tr>
		<?php 
    $i++;
    $obj->movenext();
}
?>
<tr>
	<td></td>
예제 #16
0
        ?>
"> 
			<td width="30" class="notclick text-center"><input type="checkbox" name="cb_data[]" class="cb_data" value="<?php 
        echo $id;
        ?>
"></td>
			<td><?php 
        echo $id;
        ?>
</td>
			<td><?php 
        echo $obj->fields['NAMA_PEMBELI'];
        ?>
</td>
			<td class="text-center"><?php 
        echo to_money($obj->fields['NOMOR_SPP']);
        ?>
</td>
			<td><?php 
        echo $obj->fields['ALAMAT_RUMAH'];
        ?>
</td>
		</tr>
		<?php 
        $obj->movenext();
    }
}
?>
</table>

<table id="pagging-2" class="t-control w60"></table>
예제 #17
0
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . '/xajax/bill.common.php';
$xajax->printJavascript('/xajax/');
?>
<div class="b-layout b-layout__page">
    <div class="b-menu b-menu_crumbs">
        <ul class="b-menu__list">
            <li class="b-menu__item"><a class="b-menu__link" href="/bill/">Мои услуги</a>&nbsp;&rarr;&nbsp;</li>
        </ul>
    </div>
    <h1 class="b-page__title">Оплата заказа на сумму <span class="b-layout__txt b-layout__txt_color_fd6c30 b-layout__txt_fontsize_34"><?php 
echo to_money($payed_sum > 10 ? $payed_sum : 10, 2);
?>
 руб.</span></h1>
    <div class="b-layout__one b-layout__one_width_25ps b-layout__one_padbot_30 b-layout__right_float_right b-layout__one_width_full_ipad b-layout_padbot_10_ipad">
       <?php 
include $_SERVER['DOCUMENT_ROOT'] . '/bill/widget/tpl.score.php';
?>
    </div>


    
    <div class="b-layout__one b-layout__one_float_left b-layout__one_width_72ps b-layout__one_width_full_ipad">
        <?php 
$pro_payed = payed::getPayedPROList(is_emp($bill->user['role']) ? 'emp' : 'frl');
foreach ($pro_payed as $p) {
    $pro_type[$p['opcode']] = $p;
}
foreach ($bill->list_service as $service) {
    include $_SERVER['DOCUMENT_ROOT'] . '/bill/payment/services/' . billing::getTemplateByService($service['service']);
    ?>
</b></td>
		<td class="text-center"><b><?php 
    echo to_money($sub_nilai_proyeksi[4]);
    ?>
</b></td>
		<td class="text-center"><b><?php 
    echo to_money($sub_nilai_proyeksi[5]);
    ?>
</b></td>
		<td class="text-center"><b><?php 
    echo to_money($sub_nilai_proyeksi[6]);
    ?>
</b></td>
		<td class="text-center"><b><?php 
    echo to_money($sub_total_proyeksi);
    ?>
</b></td>
		

	
<?php 
}
?>


</table>


<?php 
close($conn);
예제 #19
0
	<td width="40"></td>
	<td>Harga Bangunan</td><td>:</td>
	<td class="text-right">Rp. <?php 
echo to_money($r_harga_bangunan);
?>
</td>
<tr>
<tr>
	<td colspan="5"></td>
	<td colspan="3"><hr></td>
<tr>
<tr>
	<td colspan="5"></td>
	<td><b>TOTAL HARGA</b></td><td width="10">:</td>
	<td class="text-right"><b>Rp. <?php 
echo to_money($r_harga_tanah + $r_harga_bangunan);
?>
</b></td>
<tr>
<tr>
	<td colspan="5"></td>
	<td colspan="3"><hr></td>
<tr>
<tr>
	<td class="td-action" colspan="10">
	<input type="button" id="close" value=" Tutup ">
	</td>
</tr>
</table>

<?php 
        ?>
</td>
				<td class="text-right"><?php 
        echo to_money($obj->fields['CB36X']);
        ?>
</td>
				<td class="text-right"><?php 
        echo to_money($obj->fields['CB48X']);
        ?>
</td>
				<td class="text-right"><?php 
        echo to_money($obj->fields['KPA24X']);
        ?>
</td>
				<td class="text-right"><?php 
        echo to_money($obj->fields['KPA36X']);
        ?>
</td>
				<td class="text-left"><?php 
        echo $status;
        ?>
</td>
		</tr>
		<?php 
        $obj->movenext();
    }
}
?>
</table>

<table id="pagging-2" class="t-control w90"></table>
예제 #21
0
        ?>
</td>
			<td class="text-center"><?php 
        echo kontgl(tgltgl(date("d M Y", strtotime($obj->fields['TANGGAL_SPP']))));
        ?>
</td>
			<td class="text-center"><?php 
        echo kontgl(tgltgl(date("d M Y", strtotime($obj->fields['TANGGAL_MEMO']))));
        ?>
</td>
			<td class="text-center"><?php 
        echo to_money($obj->fields['NILAI_TRANSAKSI']);
        ?>
</td>
			<td class="text-center"><?php 
        echo to_money($obj->fields['TOTAL_PEMBAYARAN']);
        ?>
</td>
			<td></td>
		</tr>
		<?php 
        $i++;
        $obj->movenext();
    }
}
?>
</table>

<table id="pagging-2" class="t-control w60"></table>

<script type="text/javascript">
예제 #22
0
?>

                
                <?php 
if ($stage->isAccessComplete()) {
    $sum_frl = $stage->getPayoutSum(sbr::FRL);
    ?>
                <div class="b-layout__txt b-layout__txt_padbot_10">
                    Версия технического задания от <span class="b-layout__bold"><?php 
    echo date('d.m.Y', $stage->data['date_version_tz'][1]);
    ?>
</span>
                </div>
                <div class="b-layout__txt b-layout__txt_padbot_10">
                    Исполнитель получит <span class="b-layout__bold"><?php 
    echo to_money($sum_frl);
    ?>
 руб.</span>
                </div>
                <?php 
} else {
    switch ($sbr->status) {
        case sbr::STATUS_CANCELED:
            ?>
                            <div class="b-layout__txt b-layout__txt_padbot_10">Отменен <span class="b-layout__bold"><?php 
            echo date('d.m.Y', $stage->canceled_time);
            ?>
</span></div>
                            <div class="b-layout__txt b-layout__txt_padbot_15">Бюджет этапа <span class="b-layout__bold"><?php 
            echo sbr_meta::view_cost($stage->cost, $sbr->cost_sys);
            ?>
예제 #23
0
파일: card.php 프로젝트: kapai69/fl-ru-damp
        curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
        ob_start();
        $res = curl_exec($ch);
        $complete = ob_get_clean();
        header('Location: /bill/success/');
        exit;
    }
}
$bill = new billing(get_uid(false));
$_SESSION['post_payment'] = $paypost;
?>

<h2>Тестовая оплата Пластиковая карта</h2>
<p>
Оплата услуг аккаунт #<?php 
echo get_uid(false);
?>
, сумма оплаты <?php 
echo to_money($paypost['OrderAmount'], 2);
?>
 рублей
</p>

<form method="POST" />
    <input type="submit" name="success" value="Оплатить" />
    <input type="submit" name="cancel" value="Отмена" />
    <input type="hidden" name="u_token_key" value="<?php 
echo $_SESSION['rand'];
?>
"/>
</form>
$obj = $conn->Execute($query);
?>

<table class="t-popup pad wauto">
<tr class="input_label">
<tr>
      <td>Tanggal Efektif Program (Cut Off) </td>
      <td><input class="text-right" type="text" name="tanggal_efektif_prog" id="tanggal_efektif_prog" size="15" class="apply dd-mm-yyyy" value="<?php 
echo tgltgl(date("d-m-Y", strtotime($obj->fields['TANGGAL_EFEKTIF_PROG'])));
?>
"></td></td>
</tr>
<tr>
      <td>Nilai Sisa Tagihan dianggap Lunas s/d </td>
      <td><input type="text" class="text-right" name="nilai_sisa_tagihan" id="nilai_sisa_tagihan" size="10" value="<?php 
echo to_money($obj->fields['NILAI_SISA_TAGIHAN']);
?>
"></td></td>
</tr>
<tr>
      <td>Masa Berlaku Denda </td>
      <td><input type="text" class="text-right" name="masa_berlaku_denda" id="masa_berlaku_denda" size="10" value="<?php 
echo $obj->fields['MASA_BERLAKU_DENDA'];
?>
">
      Hari Kerja</td>
</tr>
	    <td class="td-action" colspan="3"><br>
		  <input type="submit" id="ubah3" value=" Simpan ">
		  <input type="reset" id="reset" value=" Reset ">
      </td>
</td>
		<td></td>
		<td class="text-center"><?php 
    echo to_money($nilai_rekap);
    ?>
</td>
		<td class="text-center"><?php 
    echo to_money($nilai45_rekap);
    ?>
</td>
		<td class="text-center"><?php 
    echo to_money($nilai4560_rekap);
    ?>
</td>
		<td class="text-center"><?php 
    echo to_money($nilai60_rekap);
    ?>
</td>
		
	</tr>
	
<?php 
}
?>


</table>

<table id="pagging-2" class="t-control"></table>

<script type="text/javascript">
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td>Total</td>
		<td class="text-center"><?php 
    echo to_money($total_harga_rekap);
    ?>
</td>
		<td class="text-center"><?php 
    echo to_money($total_ppn_rekap);
    ?>
</td>
		<td class="text-center"><?php 
    echo to_money($total_all_rekap);
    ?>
</td>
		<td class="text-center"><?php 
    echo to_money($pembayaran_rekap);
    ?>
</td>
	</tr>
	<?php 
}
?>
</table>
</body>
</html>
<?php 
close($conn);
exit;
 $luas_tanah = $obj->fields['LUAS_TANAH'];
 $luas_bangunan = $obj->fields['LUAS_BANGUNAN'];
 $tipe_bangunan = $obj->fields['TIPE_BANGUNAN'];
 $tanah = $luas_tanah * $obj->fields['HARGA_TANAH'];
 $disc_tanah = round($tanah * $obj->fields['DISC_TANAH'] / 100, 0);
 $nilai_tambah = round(($tanah - $disc_tanah) * $obj->fields['NILAI_TAMBAH'] / 100, 0);
 $nilai_kurang = round(($tanah - $disc_tanah) * $obj->fields['NILAI_KURANG'] / 100, 0);
 $faktor = $nilai_tambah - $nilai_kurang;
 $total_tanah = $tanah - $disc_tanah + $faktor;
 $ppn_tanah = round($total_tanah * $obj->fields['PPN_TANAH'] / 100, 0);
 $bangunan = $luas_bangunan * $obj->fields['HARGA_BANGUNAN'];
 $disc_bangunan = round($bangunan * $obj->fields['DISC_BANGUNAN'] / 100, 0);
 $total_bangunan = $bangunan - $disc_bangunan;
 $ppn_bangunan = round($total_bangunan * $obj->fields['PPN_BANGUNAN'] / 100, 0);
 $total_harga = to_money($total_tanah + $total_bangunan);
 $total_ppn = to_money($ppn_tanah + $ppn_bangunan);
 $sisa_pembayaran = $harga_total;
 $tanda_jadi = $obj->fields['TANDA_JADI'];
 $tgl_jadi = $obj->fields['TANGGAL_TANDA_JADI'];
 $jml_kpr = $obj->fields['JUMLAH_KPR'];
 //DATA KWITANSI TANDA TERIMA
 /*	
 	$nomor			= $obj->fields['NOMOR_KWITANSI'];
 	$tanggal		= tgltgl(date("d-m-Y", strtotime($obj->fields['TANGGAL'])));
 	$kode_blok		= $obj->fields['KODE_BLOK'];
 	$nama_pembayar	= $obj->fields['NAMA_PEMBELI'];
 	$kode_bayar		= $obj->fields['BAYAR_UNTUK'];
 	$no_tlp			= $obj->fields['NOMOR_TELEPON'];
 	$alamat			= $obj->fields['ALAMAT_PEMBELI'];
 	$bank			= $obj->fields['BANK_GIRO'];
 	$jumlah			= $obj->fields['JUMLAH_DITERIMA'];
예제 #28
0
        ?>
</td>
			<td><?php 
        echo $obj->fields['HARI_TUNGGAKAN'];
        ?>
</td>
			<td class="text-center"><?php 
        echo to_money($obj->fields['NILAI']);
        ?>
</td>
			<td><?php 
        echo to_money($obj->fields['DENDA']);
        ?>
</td>
			<td><?php 
        echo to_money($obj->fields['DISETUJUI']);
        ?>
</td>		
		</tr>
		<?php 
        if ($i % $per_page === 0) {
            echo '<tr><td class="nb"><div class="newpage"></div></td></tr>';
            th_print();
        }
        $i++;
        $obj->movenext();
    }
}
?>
</table>
</body>
예제 #29
0
<?php

require_once '../../../../../config/config.php';
require_once '../../../../../config/terbilang.php';
die_login();
//die_app('');
//die_mod('');
$conn = conn($sess_db);
die_conn($conn);
$terbilang = new Terbilang();
$id = isset($_REQUEST['id']) ? base64_decode(clean($_REQUEST['id'])) : '';
$query = "\n\tSELECT * \n\tFROM KWITANSI\n\tWHERE NOMOR_KWITANSI = '{$id}'\n";
$obj = $conn->execute($query);
$nama_pembayar = $obj->fields['NAMA_PEMBAYAR'];
$keterangan = $obj->fields['KETERANGAN'];
$nilai = to_money($obj->fields['NILAI']);
$tanggal = tgltgl(f_tgl($obj->fields['TANGGAL']));
?>

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style type="text/css">
@page {
  size: A4;
  margin: 0;
}
@media screen, print{
    body {
        font-family: verdana,sans-serif;
예제 #30
0
        ?>
"
							data-email="<?php 
        echo $obj->fields['ALAMAT_EMAIL'];
        ?>
"
							data-suami_istri="<?php 
        echo $obj->fields['NAMA_SUAMI_ISTRI'];
        ?>
"
							data-fax="<?php 
        echo $obj->fields['NO_FAX'];
        ?>
"
							data-harga="<?php 
        echo to_money($harga);
        ?>
">
								<td><?php 
        echo $obj->fields['NOMOR_CUSTOMER'];
        ?>
</td>
								<td><?php 
        echo $obj->fields['KODE_BLOK'];
        ?>
</td>
								<td><?php 
        echo $obj->fields['NOMOR'];
        ?>
</td>
								<td><?php