This commit is contained in:
suseendhiran17 2022-05-23 10:11:13 +05:30
commit 815854b6f9
3 changed files with 2 additions and 2 deletions

View File

@ -127,8 +127,8 @@ exports.PullSalesPdPhotographsData = async (req, res) =>
.then((successData)=>{logMsg.info("Photograph insert success ,PdId= "+PdId);})
.catch((err)=>{ logMsg.info("Photograph insert failed ,PdId= "+PdId+" ERROR : "+err);});
// responce to FE
setTimeout(() => {
res.send({'status':200,'message':"success",'data':"INSERT INTO sales_photograph (pd_id,ref_no,img_name,img) VALUES ("+PdId+","+req.body.pdid+","+req.body.img_name+")"}); //,"+base64_data+"
setTimeout(() => {
res.send({'status':200,'message':"success",'data':"No data"});
}, 300);

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 KiB