本文整理汇总了PHP中to_money函数的典型用法代码示例。如果您正苦于以下问题:PHP to_money函数的具体用法?PHP to_money怎么用?PHP to_money使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了to_money函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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;
}
?>
示例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>
示例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());
示例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>
示例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;
示例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
示例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
示例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
示例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) {
?>
示例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;
?>
');
示例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());
示例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
示例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>
示例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);
示例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>