ix bug copy

This commit is contained in:
mmrbnjd
2024-07-24 22:56:46 +03:30
parent 1dcadf1a35
commit 1e3290ea0d
4 changed files with 77 additions and 31 deletions

View File

@@ -389,17 +389,43 @@ namespace Back.Controllers
InvoicIssueDate = Invoice.InvoicIssueDate.Replace("/", ""),
InvoiceDate = Invoice.InvoicIssueDate.Replace("/", ""),
LastChangeUserID = Convert.ToInt32(UserID),
BillReference = Invoice.ID,
IsDeleted = false,
PatternID = Invoice.PatternID,
setm = Invoice.setm,
cui = Invoice.cui,
crn = Invoice.crn,
CottageDateOfCustomsDeclaration = Invoice.CottageDateOfCustomsDeclaration,
ft = Invoice.ft,
cdcn = Invoice.cdcn,
insp = Invoice.insp,
billid = Invoice.billid,
pspd = Invoice.pspd,
scc = Invoice.scc,
scln = Invoice.scln,
seventeentax = Invoice.seventeentax,
tinc = Invoice.tinc,
invoiceDetails = Invoice.invoiceDetails.Select(s => new InvoiceItem
{
CODID = s.CODID,
am = s.am,
fee = s.fee,
dis = s.dis,
bros = s.bros,
bsrn = s.bsrn,
consfee = s.consfee,
cut = s.cut,
exr = s.exr,
nw = s.nw,
odam = s.odam,
odr = s.odr,
odt = s.odt,
olam = s.olam,
olr = s.olr,
olt = s.olt,
spro=s.spro,
sscv = s.sscv,
ssrv = s.ssrv
}).ToList()
}, true);
if (result > 0)