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


PHP invoice::getPaidStatus方法代码示例

本文整理汇总了PHP中invoice::getPaidStatus方法的典型用法代码示例。如果您正苦于以下问题:PHP invoice::getPaidStatus方法的具体用法?PHP invoice::getPaidStatus怎么用?PHP invoice::getPaidStatus使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在invoice的用法示例。


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

示例1: delpayment

function delpayment() {
    //test si val is not null & numeric
    if ($('#payment').val()!=null) {
        self.location.href= "A2B_invoice_manage_payment.php?id=<?php 
echo $id;
?>
&delpayment="+$('#payment').val();
    }
}

function changeStatus() {
    self.location.href= "A2B_invoice_manage_payment.php?id=<?php 
echo $id;
?>
&status=<?php 
echo ($invoice->getPaidStatus() + 1) % 2;
?>
";
}
// -->

</script>
<table class="invoice_table" >
    <tr class="form_invoice_head">
        <td width="75%"><font color="#FFFFFF"><?php 
echo gettext("INVOICE: ");
?>
</font><font color="#FFFFFF"><b><?php 
echo $invoice->getTitle();
?>
</b></font></td>
开发者ID:saydulk,项目名称:a2billing,代码行数:31,代码来源:A2B_invoice_manage_payment.php

示例2: gettext

        <td colspan="2">
        <?php 
if ($invoice->getPaidStatusDisplay() == 0) {
    $color = "color:#EE6564;";
} else {
    $color = "color:#5FA631;";
}
?>
         <font style="font-weight:bold;" ><?php 
echo gettext("PAID STATUS : ");
?>
</font> <font style="<?php 
echo $color;
?>
" > <?php 
echo $invoice->getPaidStatusDisplay($invoice->getPaidStatus());
?>
 </font>

        </td>
    </tr>
    <tr>
        <td colspan="2">
        <br/>
        <font style="font-weight:bold; " ><?php 
echo gettext("DESCRIPTION : ");
?>
</font>  <br/> <?php 
echo $invoice->getDescription();
?>
</td>
开发者ID:pearlvoip,项目名称:a2billing,代码行数:31,代码来源:A2B_invoice_edit.php

示例3: gettext

		<td>
		<font style="font-weight:bold; " ><?php echo gettext("DATE : "); ?></font>  <?php echo $invoice->getDate();  ?>
		</td>
	</tr>
	<tr>
		<td>
		 <?php if($invoice->getStatusDisplay()==0) $color="color:#5FA631;";
		 	   else $color="color:#EE6564;"    ?>
		 <font style="font-weight:bold;" ><?php echo gettext("STATUS : "); ?></font> <font style="<?php echo $color; ?>" >  <?php echo $invoice->getStatusDisplay($invoice->getStatus());  ?> </font>
		 </td>
	</tr>
	<tr>
		<td colspan="2">
		<?php if($invoice->getPaidStatusDisplay()==0) $color="color:#EE6564;";
		 	   else $color="color:#5FA631;"    ?>
		 <font style="font-weight:bold;" ><?php echo gettext("PAID STATUS : "); ?></font> <font style="<?php echo $color; ?>" > <?php echo $invoice->getPaidStatusDisplay($invoice->getPaidStatus());  ?> </font>

		</td>
	</tr>
	<tr>
		<td colspan="2">
		<br/>
		<font style="font-weight:bold; " ><?php echo gettext("DESCRIPTION : "); ?></font>  <br/> <?php echo $invoice->getDescription();  ?></td>
	</tr>
	
	<tr >
    <td colspan="2">
    	<table width="100%" cellspacing="10">
			<tr>
			  <th  width="10%">
			      &nbsp;
开发者ID:nixonch,项目名称:a2billing,代码行数:31,代码来源:A2B_invoice_edit.php

示例4: addpayment

<SCRIPT LANGUAGE="javascript">
<!-- Begin
var win= null;
function addpayment(selvalue){
	//test si win est encore ouvert et close ou refresh
    win=MM_openBrWindow('A2B_entity_payment_invoice.php?popup_select=1&invoice=<?php echo $id ?>&card=<?php echo $invoice->getCard() ?>','','scrollbars=yes,resizable=yes,width=700,height=500');
}
function delpayment(){
	//test si val is not null & numeric
	if($('#payment').val()!=null){
		self.location.href= "A2B_invoice_manage_payment.php?id=<?php echo $id; ?>&delpayment="+$('#payment').val();
	}
}

function changeStatus(){
	self.location.href= "A2B_invoice_manage_payment.php?id=<?php echo $id; ?>&status=<?php echo ($invoice->getPaidStatus()+1)%2; ?>";
}
// End -->

</script>
<table class="invoice_table" >
	<tr class="form_invoice_head">
	    <td width="75%"><font color="#FFFFFF"><?php echo gettext("INVOICE: "); ?></font><font color="#FFFFFF"><b><?php echo $invoice->getTitle();  ?></b></font></td>
	    <td width="25%"><font color="#FFFFFF"><?php echo gettext("REF: "); ?> </font><font color="#EE6564"> <?php echo $invoice->getReference(); ?></font></td>
	</tr>
	<tr>
		<td colspan="2" align="right">
			<a href="javascript:;" onClick="MM_openBrWindow('A2B_invoice_view.php?popup_select=1&id=<?php echo $id ?>','','scrollbars=yes,resizable=yes,width=700,height=500')" > <img src="../Public/templates/default/images/page_white_text.png" title="Print" alt="Print" border="0"></a>
		</td>
	</tr>
	<tr>
开发者ID:nixonch,项目名称:a2billing,代码行数:31,代码来源:A2B_invoice_manage_payment.php


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