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


PHP display_money函数代码示例

本文整理汇总了PHP中display_money函数的典型用法代码示例。如果您正苦于以下问题:PHP display_money函数的具体用法?PHP display_money怎么用?PHP display_money使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了display_money函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: while

		<th>Amount</th>
		<th></th>
		<th></th>
	</tr>
<? while($row = mysql_fetch_array($incomplete)) { ?>
	<tr align="center">
		<td valign="bottom" align="left"><?php 
echo $row['description'];
?>
</td>
		<td valign="bottom"><?php 
echo date('m/d/y', $row['submit_time']);
?>
</td>
		<td valign="bottom"><?php 
echo display_money($row['amount']);
?>
</td>
		<td valign="bottom"><button value="<?php 
echo $row['id'];
?>
" name="edit" class="app_edit">Edit</button></td>
		<td valign="bottom"><button value="<?php 
echo $row['id'];
?>
" name="delete" class="delete negative">Delete</button></td>
	</tr>
<? } ?>
</table>
</form>
</div>
开发者ID:uakfdotb,项目名称:oneapp,代码行数:31,代码来源:purchase.php

示例2: display_money

    echo $this->lang->line('application_second_tax');
    ?>
 (<?php 
    echo $second_tax_value;
    ?>
%)</span><br/><span class="under"><?php 
    echo display_money($second_tax, $estimate->currency);
    ?>
</span></td><?php 
}
?>
          <td class="total-heading"><span class="over"><?php 
echo $this->lang->line('application_total');
?>
</span><br/><span class="under"><?php 
echo display_money($sum, $estimate->currency);
?>
</span></td>
        </tr> 

        </table>



    <div class="custom-terms"><?php 
echo $estimate->terms;
?>
</div>
    <div class="footer"><b><?php 
echo $core_settings->company;
?>
开发者ID:imranweb7,项目名称:msitc-erp,代码行数:31,代码来源:default.php

示例3: display_money

        ?>
%)</td>
          <td align="right" style="padding-right:20px"><?php 
        echo display_money($tax);
        ?>
</td>
        </tr>
        <?php 
    }
    ?>
        </table>
    <?php 
}
?>
    <div class="total-amount total-heading"><p><?php 
echo display_money($sum, $invoice->currency);
?>
</p></div>
  </div>
  <div class="custom-terms">
  <?php 
echo $invoice->terms;
?>
  </div>
</div>



</body>
</html>
开发者ID:timclifford,项目名称:freelance-manager,代码行数:30,代码来源:preview.php

示例4: human_to_unix

    if ($value->due_date <= date('Y-m-d') && $value->status != "Paid") {
        echo 'label-important tt" title="' . $this->lang->line('application_overdue');
    }
    ?>
"><?php 
    $unix = human_to_unix($value->due_date . ' 00:00');
    echo '<span class="hidden">' . $unix . '</span> ';
    echo date($core_settings->date_format, $unix);
    ?>
</span> <span class="hidden"><?php 
    echo $unix;
    ?>
</span></td>
			<td class="hidden-xs"><?php 
    if (isset($value->sum)) {
        echo display_money($value->sum, $value->currency);
    }
    ?>
 </td>
      <td class="<?php 
    echo $value->status;
    ?>
"><span class="label <?php 
    $unix = human_to_unix($value->sent_date . ' 00:00');
    if ($value->status == "Paid") {
        echo 'label-success';
    } elseif ($value->status == "Sent") {
        echo 'label-warning tt" title="' . date($core_settings->date_format, $unix);
    }
    ?>
"><?php 
开发者ID:imranweb7,项目名称:msitc-erp,代码行数:31,代码来源:all.php

示例5: display_money

%)</td>
			<td><?php 
    echo display_money($second_tax);
    ?>
</td>
		</tr>
		<?php 
}
?>
		<tr class="active">
			<td colspan="4" align="right"><?php 
echo $this->lang->line('application_total');
?>
</td>
			<td> <?php 
echo display_money($sum, $subscription->currency);
?>
</td>
		</tr>
		</table>
		</div>
		</div>

			<?php 
if ($core_settings->paypal == "1" && $sum != "0.00" && $subscription->subscribed == "0") {
    ?>
<br/>	
			<form action="https://www.paypal.com/cgi-bin/webscr" id="paypal_subscribe" target="_blank" method="post">
			  <input type="hidden" name="cmd" value="_xclick-subscriptions">
			  <input type="hidden" name="business" value="<?php 
    echo $core_settings->paypal_account;
开发者ID:imranweb7,项目名称:msitc-erp,代码行数:31,代码来源:view.php

示例6: send_email_order

 function send_email_order($oid, $list, $dealer, $address)
 {
     $content = '<h2>ยืนยันการสั่งซื้อ</h2><br/>';
     $content .= '<p>' . 'สวัสดีค่ะ คุณ ' . $dealer['dealer_fullname'] . ' ขอบคุณที่ไว้วางใจ เลือกซื้อสินค้ากับเรา ขณะนี้ทางเราได้รับรายการสั่งซื้อเรียบร้อยแล้ว' . '</p>';
     $content .= '<h2>ใบสั่งซื้อเลขที่ #' . $oid . '</h2><br/>';
     $content .= 'ที่อยู่ จัดส่ง' . '<br/>';
     $content .= '<p width="700">' . $address . '</p>';
     $content .= 'รายการสินค้า' . '<br/>';
     $content .= '<table style="width:700px;border:1px solid #e0e0e0;">';
     $content .= '<tr style="font-weight:bold;background-color:#e0e0e0;height:25px;"><td width="100">รหัสสินค้า</td><td>สินค้า</td><td width="50">จำนวน</td><td width="120">ราคา</td></tr>';
     foreach ($list as $p) {
         $content .= "<tr>";
         $content .= '<td style="text-align: left;">' . $p['order_product_code'] . '</td>';
         $content .= '<td style="text-align: left;">' . $p['order_product_name'] . '</td>';
         $content .= '<td style="text-align:right;">' . $p['order_product_quantity'] . '</td>';
         $content .= '<td style="text-align:right;">' . display_money($p['order_product_quantity'] * $p['order_product_price']) . '</td>';
         $content .= "</tr>";
     }
     $content .= '</table>' . '<br/>';
     $order = $this->Order->get_order_by_id($oid);
     $content .= 'ราคารวม : ' . $order['order_price'] . 'บาท' . '<br/>';
     $content .= '<p>' . '<a href="' . base_url() . 'shop/order/' . $oid . '/payment_report' . '"><button>แจ้งชำระเงิน</button></a>' . '</p>';
     $this->load->library('email');
     $this->email->set_newline("\r\n");
     $this->email->from($this->config->item('stmp_user'), 'Dealer System');
     $this->email->to($dealer['dealer_email']);
     $this->email->subject('Dealer System | รายการสั่งซื้อ #' . $oid);
     $this->email->message($content);
     return $this->email->send();
 }
开发者ID:M4A1Predator,项目名称:dealer_system,代码行数:30,代码来源:Order_ctrl.php

示例7: display_datetime

    echo $order->order_id;
    ?>
"><?php 
    echo $order->order_id;
    ?>
</a></td>
                                        <td class="td-width"><?php 
    echo display_datetime($order->order_datetime);
    ?>
</td>
                                        <td><?php 
    echo display_money($order->order_price);
    ?>
 บาท</td>
                                        <td><?php 
    echo display_money($order->order_oprice - $order->order_price);
    ?>
 บาท</td>
                                        <?php 
    if ($order->order_status_id == 1) {
        ?>
                                        <td>
                                             <a class="btn-u btn-u2 btn-u-red btn-block btn-u-xs">
                                               <i class="fa fa-credit-card margin-right-5"></i> ยังไม่ได้แจ้งชำระเงิน
                                             </a>
                                        </td>
                                        <td class="max-120">
                                            <a href="<?php 
        echo base_url();
        ?>
shop/order/<?php 
开发者ID:M4A1Predator,项目名称:dealer_system,代码行数:31,代码来源:history.php

示例8: display_amount

            <td class="right"><?php 
    echo display_amount($p->order_product_quantity);
    ?>
</td>
            <td class="right"><strong><?php 
    echo display_money($p->order_product_price * $p->order_product_quantity);
    ?>
</strong></td>
        </tr>
        <?php 
}
?>
    </tbody>
    </table>
    <div class="right"><h2>รวมทั้งหมด <?php 
echo display_money($order['order_price']);
?>
 บาท</h2></div>
    <div class="page-break">&nbsp;</div>  
    <h2>ใบปะหน้า ใบสั่งซื้อเลขที่ #<?php 
echo $order['order_id'];
?>
</h2>
        <!--เอาสองอัน-->
            <div class="address" style="font-size:30px;">
            <a>กรุณาส่ง...</a>
                <p style="padding-left:20px;">
                    <div class="call"><?php 
echo $dealer['dealer_tel'];
?>
</div>
开发者ID:M4A1Predator,项目名称:dealer_system,代码行数:31,代码来源:print.php

示例9: display_money

    ?>
</th>
                                                            <td><?php 
    echo $od->order_id;
    ?>
</td>
                                                            <td><?php 
    echo $od->order_datetime;
    ?>
</td>
                                                            <td><?php 
    echo $od->dealer_fullname;
    ?>
</td>
                                                            <td><?php 
    echo display_money($od->order_price);
    ?>
 บาท</td>
                                                            <td>
                                                              <button type="button" class="btn btn-default btn-xs" onclick="location.href='<?php 
    echo base_url() . "admin/order/" . $od->order_id;
    ?>
';">
                                                                <i class="fa fa-pencil"></i> จัดการ
                                                              </button>
                                                              <?php 
    if ($od->order_order_status_id == 1) {
        ?>
                                                              <button type="button" class="btn btn-danger btn-xs">
                                                                <i class="fa fa-credit-card"></i> <?php 
        echo $od->order_status_name;
开发者ID:M4A1Predator,项目名称:dealer_system,代码行数:31,代码来源:allOrder.php

示例10: display_money

						<li><span><?php 
echo $this->lang->line('item_application_sku');
?>
:</span> <?php 
if (isset($item->sku)) {
    echo $item->sku;
} else {
    echo "-";
}
?>
</li>
						<li><span><?php 
echo $this->lang->line('application_value');
?>
:</span> <?php 
echo $core_settings->currency . display_money($item->value);
?>
</li>
					</ul>
				</div>

				<div class="details col-md-6 col-xs-12">
					<div class="table-head"><?php 
echo $this->lang->line('item_application_file');
?>
</div>
					<?php 
if (!empty($item->photo)) {
    ?>
					<img class="img-responsive" src="<?php 
    echo base_url() . 'files/media/' . $item->photo;
开发者ID:imranweb7,项目名称:msitc-erp,代码行数:31,代码来源:item_view.php

示例11: display_money

                        <div class="left hidden-sm"></div>
                        <div class="right">
                            <span class="count_top"><i class="fa fa-credit-card"></i> ยอดขายเดือนนี้</span>
                            <div class="count"><?php 
echo display_money($sale_this_month);
?>
 ฿</div>
                            <span class="count_bottom"></span>
                        </div>
                    </div>
                    <div class="animated flipInY col-md-3 col-sm-6 col-xs-12 tile_stats_count">
                        <div class="left"></div>
                        <div class="right">
                            <span class="count_top"><i class="fa fa-credit-card"></i> ยอดขายวันนี้</span>
                            <div class="count"><?php 
echo display_money($sale_this_day);
?>
 ฿</div>
                            <span class="count_bottom"></span>
                        </div>
                    </div>
                </div>
                <!-- /top tiles -->
                <div class="row">
                    <div class="col-md-6">
                        <h3>
                          รายการสั่งซื้อล่าสุด
                        </h3>
                    </div>
                </div>
                <div class="row">
开发者ID:M4A1Predator,项目名称:dealer_system,代码行数:31,代码来源:index.php

示例12: display_money

    ?>

		<tr id="<?php 
    echo $value->id;
    ?>
" >
			<td><?php 
    echo $value->name;
    ?>
</td>
			<td><?php 
    echo $value->type;
    ?>
</td>
			<td><?php 
    echo display_money($value->value);
    ?>
</td>
			<td class="option" width="8%">
				        <button type="button" class="btn-option delete po" data-toggle="popover" data-placement="left" data-content="<a class='btn btn-danger po-delete ajax-silent' href='<?php 
    echo base_url();
    ?>
items/delete_items/<?php 
    echo $value->id;
    ?>
'><?php 
    echo $this->lang->line('application_yes_im_sure');
    ?>
</a> <button class='btn po-close'><?php 
    echo $this->lang->line('application_no');
    ?>
开发者ID:timclifford,项目名称:freelance-manager,代码行数:31,代码来源:items.php

示例13: while

$counter =0;
while($row = mysql_fetch_array($clubsResult)) {
	$band_class = ($counter + 1) % 2 + 1;
?>
	<div class="nav-club <? if($band_class % 2 == 0) echo "alternate";?>" >
	<table width=100% cellspacing=0>
	<form method="post" action="man_clubs.php">
	<input type="hidden" name="id" value="<?php 
echo $row['id'];
?>
">
	<tr><td width=20%><p class="bold">Club Name:</p></td><td><p class="left"><?php 
echo $row['name'];
?>
</p></td></tr>
	<tr><td><p class="bold">Club Balance:</p></td><td><p class="left"><?php 
echo display_money($row['money']);
?>
</p></td></tr>
	<tr><td colspan="2"><p class="bold left">Description:</p><p><textarea name="description" style="width:95%;height:100;resize:none" class="center" ><?php 
echo $row['description'];
?>
</textarea></p></td></tr>
	<tr><td><input type="submit" name="action" value="update" class="update left"></td><td><input type="submit" name="action" value="delete" class="delete negative right"><br></td></tr>
	</form>
	</table></div><br />
<?
	$counter=$counter+1;
}
?>
开发者ID:uakfdotb,项目名称:oneapp,代码行数:30,代码来源:man_clubs.php

示例14: display_money

    } else {
        echo display_money($payments[0]->summary, $core_settings->currency, 0);
    }
    ?>
</div> <div class="text"><?php 
    echo $this->lang->line('application_' . $month);
    ?>
 <?php 
    echo $this->lang->line('application_payments');
    ?>
</div>
                    <div class="number"><?php 
    if (empty($paymentsoutstanding[0]->summary)) {
        echo display_money(0, $core_settings->currency, 0);
    } else {
        echo display_money($paymentsoutstanding[0]->summary, $core_settings->currency, 0);
    }
    ?>
</div> <div class="text"><?php 
    echo $this->lang->line('application_outstanding_payments');
    ?>
</div>
                    
                    </div>
                       </div>
                        </div>
            
            
</div>
<?php 
}
开发者ID:imranweb7,项目名称:msitc-erp,代码行数:31,代码来源:dashboard.php

示例15: display_money

              </div>
              <div class="col-xs-1 col-md-1" style="line-height: 35px; text-align: center; font-size: 19px; width: 30px;">
                <span> / </span>
              </div>
              <div class="col-xs-4 col-md-2">
                <input type="text" size="4" class="form-control card-expiry-year">
              </div>
        </div>
        </div>

        <div class="form-group">
        <span class="help-block"><b><?php 
echo $this->lang->line('application_your_credit_card_will_be_charged_for');
?>
 <?php 
echo display_money(sprintf("%01.2f", round($invoices->sum - $invoices->paid, 2)));
?>
 <?php 
echo $invoices->currency;
?>
</b></span>
        </div>
        
        <div class="modal-footer">
        <button type="submit" class="btn btn-primary" id="submitBtn"><?php 
echo $this->lang->line('application_send');
?>
</button>
        <a class="btn" data-dismiss="modal"><?php 
echo $this->lang->line('application_close');
?>
开发者ID:imranweb7,项目名称:msitc-erp,代码行数:31,代码来源:_stripe.php


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