<% string id = LB.Tools.RequestTool.RequestSafeString("id"); int loop = LB.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"); %> 形式发票-<%=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.

形式发票

PROFORMA INVOICE

TO:<%=model.T_Address %> <%=Shop.Bussiness.EX_Area.GetAreaName(model.T_Area_id)%> Shioment
Period:
WITHIN 60 DAYS
No.:<%=model.Code %> Date:<%=model.Time_Add %>
<%int totalqty = 0;decimal totalmoney = 0; foreach (DB.LebiShop.Lebi_Order_Product pro in pros) { %> <%totalqty += pro.Count;totalmoney += pro.Money;; } %>
Picture
图片
Description
商品名称
Model No.
商品型号及规格
Unit
单位
QTY
数量
Nos.ofPackage
件数
Unit price(USDEXW) Total USD EXW
合计(不含税)
<%=Shop.Bussiness.Language.Content(pro.Product_Name, CurrentLanguage)%> <%=pro.Product_Number%> <%=Lang(Shop.Bussiness.EX_Product.ProductUnit(pro.Units_id))%> <%=pro.Count%> <%=pro.Count%> <%=FormatMoney(pro.Price) %> <%=FormatMoney(pro.Money)%>
TOTAL: <%=totalqty%> CTNS <%=FormatMoney(totalmoney)%>