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


PHP invoice::get_invoice_statii_payment方法代码示例

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


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

示例1: show_filter

function show_filter()
{
    global $TPL;
    global $defaults;
    $_FORM = invoice::load_form_data($defaults);
    $arr = invoice::load_invoice_filter($_FORM);
    is_array($arr) and $TPL = array_merge($TPL, $arr);
    $payment_statii = invoice::get_invoice_statii_payment();
    foreach ($payment_statii as $payment_status => $label) {
        $summary .= "\n" . $nbsp . invoice::get_invoice_statii_payment_image($payment_status) . " " . $label;
        $nbsp = "  ";
    }
    $TPL["status_legend"] = $summary;
    include_template("templates/invoiceListFilterS.tpl");
}
开发者ID:cjbayliss,项目名称:alloc,代码行数:15,代码来源:invoiceList.php

示例2: load_invoice_filter

 function load_invoice_filter($_FORM)
 {
     global $TPL;
     // Load up the forms action url
     $rtn["url_form_action"] = $_FORM["url_form_action"];
     $statii = invoice::get_invoice_statii();
     unset($statii["create"]);
     $rtn["statusOptions"] = page::select_options($statii, $_FORM["invoiceStatus"]);
     $statii_payment = invoice::get_invoice_statii_payment();
     $rtn["statusPaymentOptions"] = page::select_options($statii_payment, $_FORM["invoiceStatusPayment"]);
     $rtn["status"] = $_FORM["status"];
     $rtn["dateOne"] = $_FORM["dateOne"];
     $rtn["dateTwo"] = $_FORM["dateTwo"];
     $rtn["invoiceID"] = $_FORM["invoiceID"];
     $rtn["invoiceName"] = $_FORM["invoiceName"];
     $rtn["invoiceNum"] = $_FORM["invoiceNum"];
     $rtn["invoiceItemID"] = $_FORM["invoiceItemID"];
     $options["clientStatus"] = "Current";
     $options["return"] = "dropdown_options";
     $ops = client::get_list($options);
     $ops = array_kv($ops, "clientID", "clientName");
     $rtn["clientOptions"] = page::select_options($ops, $_FORM["clientID"]);
     // Get
     $rtn["FORM"] = "FORM=" . urlencode(serialize($_FORM));
     return $rtn;
 }
开发者ID:cjbayliss,项目名称:alloc,代码行数:26,代码来源:invoice.inc.php


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