本文整理汇总了PHP中main_front_class::taxType方法的典型用法代码示例。如果您正苦于以下问题:PHP main_front_class::taxType方法的具体用法?PHP main_front_class::taxType怎么用?PHP main_front_class::taxType使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类main_front_class
的用法示例。
在下文中一共展示了main_front_class::taxType方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
</td>
<td><?php
echo $fp['csign_short_name'];
?>
</td>
<td><?php
echo $pd['quantity'];
?>
</td>
<td><?php
echo $fp['rate'];
?>
</td>
<td><?php
echo $taxtype = $obj->taxType($fp['taxtype']);
?>
/<?php
if ($fp['taxper'] == '') {
echo '0.00';
} else {
echo $fp['taxper'];
}
?>
</td>
<td><?php
echo $otherchargtype = $obj->oct($fp['oct']);
?>
/<?php
if ($fp['othercharg'] == '') {
echo '0.00';
示例2: foreach
}
?>
</table>
<?php
if ($result_product[0] != '') {
?>
<table style="width:100%;margin-left:0px; table-layout:fixed; position:absolute; left:0px;">
<tr>
<th style="width:200px; border:1px solid #333;">Item Category</th>
<th style="width:90px; border:1px solid #333;">Item Inspection</th><th style="width:100px; border:1px solid #333;">Item Discription</th><th style="width:100px; border:1px solid #333;">Consignee</th><th style="width:70px; border:1px solid #333;">Quantity</th> <th style="width:70px; border:1px solid #333;">Unit</th><th style="width:70px; border:1px solid #333;">Rate</th><th style="width:90px; border:1px solid #333;">Tax Type</th><th style="width:100px; border:1px solid #333;">Including All</th><th style="width:80px; border:1px solid #333;">Total Value</th><th style="width:80px; border:1px solid #333;">Payment</th><th style="width:80px; border:1px solid #333;">Paying Autority</th> <th style="width:80px; border:1px solid #333;">Inspection Place</th><th style="width:80px; border:1px solid #333;">Delivery Date</th><th style="width:70px; border:1px solid #333;">Quantity</th>
</tr>
<?php
foreach ($result_product as $mj) {
$my_unit = $obj->unit($mj['unit']);
$my_taxtype = $obj->taxType($mj['taxtype']);
$my_inspection = $obj->inspection($mj['inspection']);
$my_payment = $obj->paymentInPoOpt($mj['payment']);
?>
<tr id="update_row<?php
echo $mj['id'];
?>
">
<td style="border:1px solid #333;"><?php
echo $mj['item_name'] . ":-" . $mj['item_discription'];
?>
</td>
<td style="border:1px solid #333;"><?php
echo $my_inspection;
?>
</td>
示例3:
<?php
//}
?>
</select></td>
</tr>
<?php
// }
?>
-->
<tr><th style="width:200px;">Item Category</th><th>Item Inspection</th><th style="width:200px;">Item Discription</th><th>Consignee</th><th>Quantity</th><th>Unit</th><th style="width:80px">Rate</th><th style="width:80px">Tax Type</th><th style="width:80px">Including All</th><th style="width:100px">Total Value</th><th style="width:180px;">Payment</th><th style="width:100px;">Paying Autority</th><th style="width:100px;">Inspection Place</th><th style="width:80px;">Delivery Date</th><th style="width:80px;">Quantity</th><!--<th>Edit</th>--><th>Delete</th>
</tr>
<?php
foreach ($result as $v) {
$my_unit = $obj->unit($v['unit']);
$my_inspection = $obj->inspection($v['inspection']);
$my_tax_type = $obj->taxType($v['taxtype']);
$my_payment = $obj->paymentInPoOpt($v['taxtype']);
if ($v['id'] == $_GET['tb_row']) {
?>
<tr>
<td><input type="text" name="category_update_X[]" style="width:200px; background:#FFF;" class="kareena" value="<?php
echo $v['item_name'] . ":-" . $v['item_discription'] . ':(' . $v['item_id'] . ')';
?>
" id="category_update_0_X" />
</td>
<td>
<?php
$ins_opt = '_' . $v['inspection'];
${$ins_opt} = "selected='selected'";
?>
示例4:
?>
</td>
<td>
<?php
echo $qq = $obj->inspection($record_update['inspection']);
?>
</td>
<td>
<?php
print_r($record_update['rate']);
?>
</td></tr>
<tr><th>Tax Type</th><th>Tax %</th><th>Other Charge Type</th></tr>
<tr><td>
<?php
echo $tt = $obj->taxType($record_update['taxtype']);
?>
</td>
<td>
<?php
print_r($record_update['taxper']);
?>
</td>
<td>
<?php
echo $tp = $obj->oct($record_update['oct']);
?>
</td></tr>
<tr><th>Other Charge Rate</th><th>Discount %</th><th>Final Rate</th></tr>
<tr><td>