<% string id = Shop.Tools.RequestTool.RequestSafeString("id"); int loop = Shop.Tools.RequestTool.RequestInt("loop",0); string where = ""; int Count = 1; if (!id.Contains(",")){ where = "id = lbsql{"+id+"}"; }else{ string[] ids = id.Split(','); Count = ids.Count(); if (ids[loop] != "") { where = "id = lbsql{"+ ids[loop] +"}"; } } Lebi_Order model = B_Lebi_Order.GetModel(where); if (model == null) { model = new Lebi_Order(); } List pros = B_Lebi_Order_Product.GetList("Order_id=" + model.id + "", ""); List comms = B_Lebi_Comment.GetList("TableName='Order' and Keyid=" + model.id + " and User_id = "+ model.User_id +" and Admin_id = 0", "id desc"); Lebi_Bill bill = B_Lebi_Bill.GetModel("Order_id = "+ model.id); if (bill == null) { bill = new Lebi_Bill(); } %> 发票-<%=Tag("单据打印")%>-<%=site.title%> <%if ((loop+1) < Count){ %> <%} %>

中领国际实业有限公司

SINOLINK International Industrial Co.,Limited

ADD: Room H,15/F,Siu King Building.6 On Wah Street,Ngau Tau Kok.Kowloon,HongKong.

发票

INVOICE

Order Number:<%=model.Code%> INVOICE No.:<%=bill.BillNo%>
Shipping way:<%=Shop.Bussiness.Language.Content(model.Pay,CurrentLanguage)%> Payment Term:T/T
Loading port:SHEKOU,CHINA Date:<%=model.Time_Add %>

Buyer information

Buyer name:<%=model.T_Name %> Mobile.:<%=model.T_MobilePhone%>
Buyer address:<%=model.T_Address%> <%=Shop.Bussiness.EX_Area.GetAreaName(model.T_Area_id)%> Discharge port:<%=Shop.Bussiness.EX_Area.GetAreaName(model.T_Area_id,0)%>
City:<%=Shop.Bussiness.EX_Area.GetAreaName(model.T_Area_id,0)%> Country:<%=Shop.Bussiness.EX_Area.GetAreaName(Shop.Bussiness.EX_Area.Parentids_Get(model.T_Area_id,0),0)%>
Zip / postal code:<%=model.T_Postalcode %> E-mail Address:<%=model.T_Email %>
Telephone number:<%=model.T_Phone %>
<%int totalqty = 0;decimal totalmoney = 0; foreach (Shop.Model.Lebi_Order_Product pro in pros) { %> <%totalqty += pro.Count;totalmoney += pro.Money;; } %>
Item No. Pic & Goods Description Unit QTY Unit Price Amount
<%=pro.Product_Number %> <%=Shop.Bussiness.Language.Content(pro.Product_Name, CurrentLanguage)%> <%=Lang(Shop.Bussiness.EX_Product.ProductUnit(pro.Units_id))%> <%=pro.Count%> <%=FormatMoney(pro.Price) %> <%=FormatMoney(pro.Money)%>
        TOTAL: <%=FormatMoney(totalmoney)%>
BANK INFO:
Beneficiary: SINOLINK International Industrial Co., Limited
Address: Room H, 15/F, Siu King Building, 6 On Wah Street, Ngau Tau Kok, Kowloon, Hongkong.
Account number: 817-276256-838
Bank name: HSBC Hong Kong
Bank Addr.: 1 Queen's Road Central, Hong Kong
SWIFT code: HSBCHKHHHKH