当前位置: 首页>>代码示例>>PHP>>正文


PHP covert_currency_to_words函数代码示例

本文整理汇总了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'];
开发者ID:xkanpur,项目名称:billing,代码行数:31,代码来源:print_bill_dmp4inch1view1.php

示例2: covert_currency_to_words

?>
&nbsp;</span></div></td>
	  </tr>
    </table>	
	
	
	
	</td>
  </tr>
  <tr>
    <td colspan="2">&nbsp;</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">&nbsp;</span></td></tr>';
}
$tcheaderhtml = '<tr><td colspan="2"><span class="style6">Terms &amp; 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;
开发者ID:xkanpur,项目名称:billing,代码行数:31,代码来源:print_quotation1.php

示例3: covert_currency_to_words

echo $columncount;
?>
" valign="top"><div align="right"><span class="style27">Total  &nbsp;</span></div></td>
        <td valign="top"><div align="right"><span class="style27">&nbsp;<?php 
echo $totalamount;
?>
&nbsp;</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>
开发者ID:xkanpur,项目名称:billing,代码行数:31,代码来源:print_bill1_purchasereturn1.php

示例4: covert_currency_to_words

  </tr>
  <tr>
    <td>Recevied From </td>
    <td><?php 
echo $customername;
?>
&nbsp;</td>
    <td width="4">&nbsp;</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>&nbsp;</td>
  </tr>
  
  <tr>
    <td>Towards</td>
    <td><?php 
echo $remarks;
?>
</td>
    <td>&nbsp;</td>
  </tr>
开发者ID:xkanpur,项目名称:billing,代码行数:31,代码来源:print_collection_receipt1.php


注:本文中的covert_currency_to_words函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。