當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。