本文整理汇总了PHP中covert_currency_to_words函数的典型用法代码示例。如果您正苦于以下问题:PHP covert_currency_to_words函数的具体用法?PHP covert_currency_to_words怎么用?PHP covert_currency_to_words使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了covert_currency_to_words函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: covert_currency_to_words
$paymentmode = $res3["billtype"];
$billnumberprefix = $res3["billnumberprefix"];
$billnumberpostfix = $res3["billnumberpostfix"];
$customername = $res3["customername"];
$res3packaging = $res3["packaging"];
$res3delivery = $res3["delivery"];
$res3subtotal = $res3["subtotal"];
$res3subtotalafterdiscount = $res3["subtotalafterdiscount"];
$res3subtotalaftertax = $res3["subtotalaftertax"];
$res3totaltax = $res3subtotalaftertax - $res3subtotalafterdiscount;
$res3subtotaldiscounttotal = $res3["subtotaldiscounttotal"];
$res3totalamount = $res3["totalamount"];
$res3username = $res3["username"];
$res3roundoff = $res3["roundoff"];
include 'convert_currency_to_words.php';
$convertedwords = covert_currency_to_words($res3totalamount);
//function call
$subtotaldiscountpercent = $res3["subtotaldiscountpercent"];
$subtotaldiscountrupees = $res3["subtotaldiscountrupees"];
$subtotaldiscountpercentapply1 = $res3['subtotaldiscountpercentapply1'];
$subtotaldiscountamountapply1 = $res3['subtotaldiscountamountapply1'];
$subtotaldiscountamountonlyapply1 = $res3['subtotaldiscountamountonlyapply1'];
$subtotaldiscountamountonlyapply2 = $res3['subtotaldiscountamountonlyapply2'];
//$subtotaldiscounttotal = $res3['subtotaldiscounttotal'];
if ($subtotaldiscountpercentapply1 != "0.00") {
$subtotaldiscounttotal = $res3['subtotaldiscountamountapply1'];
$subtotaldiscountpercent = $res3['subtotaldiscountpercentapply1'];
$discountshowtext = 'Discount @ ' . $subtotaldiscountpercent . '%';
}
if ($subtotaldiscountamountonlyapply1 != "0.00") {
$subtotaldiscounttotal = $res3['subtotaldiscountamountonlyapply1'];
示例2: covert_currency_to_words
?>
</span></div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<?php
if ($lumpsum != '0.00') {
include 'convert_currency_to_words.php';
$convertedwords = covert_currency_to_words($lumpsum);
//function call
echo $lumpsumhtml1 = '<tr><td colspan="2"><span class="style6">Total Amount : ' . $lumpsum . '/- ( ' . $convertedwords . ' )</span></td></tr>';
//echo $lumpsumhtml2 = '<tr><td colspan="2"><span class="style6">( '.$convertedwords.' )</span></td></tr>';
echo $lumpsumhtml2 = '<tr><td colspan="2"><span class="style6"> </span></td></tr>';
}
$tcheaderhtml = '<tr><td colspan="2"><span class="style6">Terms & Conditions:</span></td></tr>';
for ($j = 1; $j <= 8; $j++) {
$tclinetext = $res3["tcline" . $j];
if ($tclinetext != '') {
$jloopcount = $jloopcount + 1;
echo $tcheaderhtml;
?>
<tr>
<td colspan="2"><span class="style6"><?php
echo $jloopcount . ". " . $tclinetext;
示例3: covert_currency_to_words
echo $columncount;
?>
" valign="top"><div align="right"><span class="style27">Total </span></div></td>
<td valign="top"><div align="right"><span class="style27"> <?php
echo $totalamount;
?>
</span></div></td>
</tr>
</thead>
</table> </td>
</tr>
<tr>
<td colspan="3"><div class="style27">
<?php
include 'convert_currency_to_words.php';
echo $convertedwords = covert_currency_to_words($totalamount);
//function call
?>
</span></div></td>
</tr>
<tr>
<td width="340"><span class="style6"><?php
echo 'Total Items : ' . round($totalquantity, 4);
?>
</span></td>
<td width="320" colspan="2" rowspan="5" valign="top"><table width="98%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td><div align="right"><span class="style27"> </span>
<table width="99%" border="0" align="left">
<tr>
示例4: covert_currency_to_words
</tr>
<tr>
<td>Recevied From </td>
<td><?php
echo $customername;
?>
</td>
<td width="4"> </td>
</tr>
<tr>
<td>Amount Received </td>
<td>
<?php
echo 'Rs.' . $amount;
include 'convert_currency_to_words.php';
$convertedwords = covert_currency_to_words($amount);
//function call
echo ' ( ' . $convertedwords . ' )';
?>
</td>
<td> </td>
</tr>
<tr>
<td>Towards</td>
<td><?php
echo $remarks;
?>
</td>
<td> </td>
</tr>