浏览代码

Got kit update working

pull/8/head
Daniel Covington 6 个月前
父节点
当前提交
851be15d6e
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      App/Controllers/Kit/KitController.asp
  2. +1
    -1
      ImportService/TrackingDataImport.vbs

+ 1
- 1
App/Controllers/Kit/KitController.asp 查看文件

@@ -38,7 +38,7 @@ Class KitController
MVC.RequirePost
HTMLSecurity.OnInvalidAntiCsrfTokenRedirectToActionExt "KitEditForm", Request.Form("nonce"), "Edit", Array("Id", Request.Form("Id"))
dim ID : ID = Request.Form("Id")
dim model : set model = KitRepository.SwitchBoardPurpleEnvelopeEditFindById(ID)
dim model : set model = KitRepository.FindByID(ID)
set model = Automapper.AutoMap(Request.Form, model)
if Request.Form("InBoundTracking") = "on" Then
model.InboundSTID = SettingsRepository.FindByName("Inbound STID")


+ 1
- 1
ImportService/TrackingDataImport.vbs 查看文件

@@ -228,7 +228,7 @@ Function CreateExportForSnailWorks(KitID)
.Write("""H"",") 'Record Type Required value must be = "H" (Header)
.Write(Truncate("5.1",5)) 'Version Required value must be ="5.1" for current release
.Write(Truncate("KCI",50)) 'UserId Required
.Write(Truncate(KitRs("Jcode").Value,50)) 'Client Name Required (will create new subaccount if not already defined) - We decideded to make this the juriscode
.Write(Truncate(KitRs("Jcode").Value,50)) 'Client Name Required (will create new subaccount if not already defined) - We decideded to make this the juriscode
.Write(Truncate("",50)) 'Parent Client Name Optional (use if 3-tier account structure)
.Write(Truncate("Purple envelope - " & KitRs("JobNumber").Value,50)) 'Job Name Required
.Write(Truncate("",50)) 'Job Description Optional


正在加载...
取消
保存

Powered by TurnKey Linux.