This commit is contained in:
mmrbnjd
2024-07-28 17:31:40 +03:30
parent 5665b91aa1
commit acab592172
5 changed files with 194 additions and 6 deletions

View File

@@ -256,13 +256,39 @@ namespace Back.Controllers
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()
}, false);
if (result > 0)
@@ -285,13 +311,39 @@ namespace Back.Controllers
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()
}, false);
if (result1 > 0)
@@ -326,13 +378,39 @@ namespace Back.Controllers
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()
}, false);
if (result2 > 0)