本文整理汇总了PHP中to_money函数的典型用法代码示例。如果您正苦于以下问题:PHP to_money函数的具体用法?PHP to_money怎么用?PHP to_money使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了to_money函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: tgltgl
?>
</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;
}
?>
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:print_report_kuitansi.php
示例2: to_money
<?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>
开发者ID:notUserDeveloper,项目名称:fl-ru-damp,代码行数:15,代码来源:tpl.emp_pro.php
示例3: tgltgl
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());
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:jatuh_tempo_load.php
示例4: is_selected
$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²</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>
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:harga_tanah_popup.php
示例5: SUM
$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;
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:kartu_kuning_popup.php
示例6: to_money
<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
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:harga_bangunan_popup.php
示例7: array
$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
开发者ID:kapai69,项目名称:fl-ru-damp,代码行数:31,代码来源:ykassa_aviso.php
示例8: to_money
$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
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:surat_wanprestasi.php
示例9: to_money
для пополнения банковским переводом
<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) {
?>
开发者ID:kapai69,项目名称:fl-ru-damp,代码行数:31,代码来源:tpl.score.php
示例10: to_money
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;
?>
');
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:penerimaan_kwitansi_load.php
示例11: to_money
?>
</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());
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:pemberitahuan_plafon_load.php
示例12: is_selected
<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
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:spp_tidak_valid_spp.php
示例13: curl_setopt
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>
开发者ID:notUserDeveloper,项目名称:fl-ru-damp,代码行数:31,代码来源:ydpay.php
示例14: to_money
?>
"
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);
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:kode_sk_tanah.php
示例15: to_money
?>
</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>
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:informasi_pembeli_kwitansi.php
示例16: to_money
?>
">
<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>
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:pemulihan_spp_load.php
示例17: to_money
<?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> → </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']);
开发者ID:kapai69,项目名称:fl-ru-damp,代码行数:31,代码来源:content.php
示例18: to_money
?>
</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);
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:proyeksi_penagihan_print.php
示例19: to_money
<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
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:spp_rincian_harga.php
示例20: to_money
?>
</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>
开发者ID:rizafr,项目名称:market_ancol,代码行数:31,代码来源:persediaan_siap_jual_load.php
注:本文中的to_money函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论