From ebd419ae905e33b6ca7a0e5a9f0bf3ef27b333c7 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Wed, 29 Jul 2020 14:58:37 +0200 Subject: [PATCH 1/4] FIx imgBasePath (vuoto) --- AppData/reportPrinter.cs | 2 +- NKC_WF/Controllers/PrintQueueController.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AppData/reportPrinter.cs b/AppData/reportPrinter.cs index e393fef..d842498 100644 --- a/AppData/reportPrinter.cs +++ b/AppData/reportPrinter.cs @@ -145,7 +145,7 @@ namespace AppData DataTable tab = new DataTable(); // FIXME TODO... string qrCodeBaseUrl = ""; - string imagePath = "http://seriate.steamware.net:8083/NKC/PartsImg/"; + string imagePath = ""; switch (tipoReport) { case reportRichiesto.binPost: diff --git a/NKC_WF/Controllers/PrintQueueController.cs b/NKC_WF/Controllers/PrintQueueController.cs index f920b82..f779583 100644 --- a/NKC_WF/Controllers/PrintQueueController.cs +++ b/NKC_WF/Controllers/PrintQueueController.cs @@ -47,7 +47,7 @@ namespace NKC_WF.Controllers DataTable tab = new DataTable(); // FIXME TODO... string qrCodeBaseUrl = ""; - string imagePath = memLayer.ML.cdv("ReportImgBasePath"); //"http://seriate.steamware.net:8083/NKC/PartsImg/"; + string imagePath = ""; //"http://seriate.steamware.net:8083/NKC/PartsImg/"; switch (tipoReport) { case reportRichiesto.binPost: From 5daf4a0996cba695ab4dee1dc822c686f588fbe3 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Wed, 29 Jul 2020 15:03:07 +0200 Subject: [PATCH 2/4] Fix report mancante Bin da prj --- NKC_WF/NKC_WF.csproj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj index 41e66f4..74ce879 100644 --- a/NKC_WF/NKC_WF.csproj +++ b/NKC_WF/NKC_WF.csproj @@ -535,7 +535,9 @@ Always - + + Always + From dda3a2fb13667c97211f1c1b2795b2d17e6b7c11 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Wed, 29 Jul 2020 15:20:04 +0200 Subject: [PATCH 3/4] Report refresh --- NKC_WF/Reports/Bin.rdlc | 29 +++++++++++++++++++---------- NKC_WF/Reports/BunkGroup.rdlc | 21 ++++++++++++++------- NKC_WF/Reports/BunkList.rdlc | 19 +++++++++++++------ NKC_WF/Reports/Cart.rdlc | 17 ++++++++++++----- NKC_WF/Reports/Part.rdlc | 19 +++++++++++++------ 5 files changed, 71 insertions(+), 34 deletions(-) diff --git a/NKC_WF/Reports/Bin.rdlc b/NKC_WF/Reports/Bin.rdlc index a60bc3a..5cca71a 100644 --- a/NKC_WF/Reports/Bin.rdlc +++ b/NKC_WF/Reports/Bin.rdlc @@ -19,9 +19,9 @@ External - =Fields!PathImageFull.Value + =Fields!PathImageFull.Value & First(Fields!ItemExtCode.Value, "stp_prt_Bin") & ".png" FitProportional - 3.38528in + 3.59532in 0.36334in 3.35417in 6.71875in @@ -218,15 +218,13 @@ External - =Replace(Parameters!QRCodeBaseURL.Value.ToString(),"QRCODEVALUE",Fields!BinDtmxRich.Value.ToString()) + =Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!BinDtmxRich.Value.ToString()) -' la stringa nel parametro di default è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} +' la stringa nel Campo è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} ' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in ' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} -'=Parameters!QRCodeBaseURL.Value.ToString() & ":['" & Fields!StackID.Value.ToString() & "']}" - 'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} FitProportional 0.41131cm @@ -330,7 +328,7 @@ 0.5in