You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
674 B

using ButcherFactory.BO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ButcherFactory.SegmentStockUp_
{
internal static class SegmentStockUpPrint
{
const string PRINTFILE = @"PrintTemplate\SegmentStockUpPrint.html";
public static void Print(StockUpDetail entity, string customer)
{
var dic = new Dictionary<string, string>();
dic.Add("$Customer_Name", customer);
dic.Add("$DriverLine_Name", entity.DeliverGoodsLine_Name);
dic.Add("$Date", entity.Date.ToString("yyyy/MM/dd"));
BwpClientPrint.BwpClientWebPrint.Print(PRINTFILE, dic);
}
}
}