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);
|
|
}
|
|
}
|
|
}
|