chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore - 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using WebLib;
|
||||
|
||||
namespace Education
|
||||
{
|
||||
public class 憑證類別
|
||||
{
|
||||
public const string 憑證類別_領據 = "領據";
|
||||
public const string 憑證類別_發票 = "發票";
|
||||
public const string 憑證類別_收據 = "收據";
|
||||
|
||||
///<summary>
|
||||
/// 付款設定.扣繳類別 輸入用下拉清單資料
|
||||
///</summary>
|
||||
public static NameValueList InputSelectList = new NameValueList()
|
||||
{
|
||||
{ "(請選擇)", "" },
|
||||
{ "領據", 憑證類別_領據 },
|
||||
{ "發票", 憑證類別_發票 },
|
||||
{ "收據", 憑證類別_收據 },
|
||||
};
|
||||
|
||||
///<summary>
|
||||
/// 付款設定.扣繳類別 查詢用下拉清單資料
|
||||
///</summary>
|
||||
public static NameValueList SearchSelectList = new NameValueList()
|
||||
{
|
||||
{ "(全部)", "" },
|
||||
{ "領據", 憑證類別_領據 },
|
||||
{ "發票", 憑證類別_發票 },
|
||||
{ "收據", 憑證類別_收據 },
|
||||
};
|
||||
|
||||
///<summary>
|
||||
/// 付款設定.扣繳類別 由值取得名稱
|
||||
///</summary>
|
||||
public static string GetName(object value)
|
||||
{
|
||||
return InputSelectList.GetName(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user