|
|
@ -33,6 +33,7 @@ using Newtonsoft.Json.Serialization;
|
|
|
|
using NPOI.HSSF.Record.Formula.Functions;
|
|
|
|
using NPOI.HSSF.Record.Formula.Functions;
|
|
|
|
using static NPOI.HSSF.Util.HSSFColor;
|
|
|
|
using static NPOI.HSSF.Util.HSSFColor;
|
|
|
|
using System.Linq.Expressions;
|
|
|
|
using System.Linq.Expressions;
|
|
|
|
|
|
|
|
using LinqToDB;
|
|
|
|
using Match = System.Text.RegularExpressions.Match;
|
|
|
|
using Match = System.Text.RegularExpressions.Match;
|
|
|
|
using TradeManageNew.APIClients.FedexApi.Tests;
|
|
|
|
using TradeManageNew.APIClients.FedexApi.Tests;
|
|
|
|
using TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes;
|
|
|
|
using TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes;
|
|
|
@ -28725,6 +28726,21 @@ namespace TradeManageNew
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[WebMethod(EnableSession = true)]
|
|
|
|
|
|
|
|
public int OrderUsedSalePlatformPrint(int Id)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
// PagesNew.Login(base.Session);
|
|
|
|
|
|
|
|
using (var db = new TradeUsedSale.Repositories.ErpDbContext())
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
var orderUsedSalePlatform = db.DT_OrderUsedSalePlatform
|
|
|
|
|
|
|
|
.Where(x => x.Id == Id)
|
|
|
|
|
|
|
|
.Set(x => x.IsPrinted, true)
|
|
|
|
|
|
|
|
.Update();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return orderUsedSalePlatform;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|