...
This commit is contained in:
@@ -236,7 +236,7 @@ namespace Back.Controllers
|
||||
//شماره کدتاژ اظهارنامه گمرکی
|
||||
Cdcn = level == 10 ? result.cdcn : null,
|
||||
//تاریخ کوتاژ اظهارنامه گمرکی
|
||||
// Cdcd = level == 10 ? result.cdcd : null,
|
||||
Cdcd = level == 10 ? result.cdcd : null,
|
||||
//شناسه یکتای ثبت قزارداد فروشنده
|
||||
Crn = (level == 3 || level == 4 || level == 5 || level == 6) && !string.IsNullOrEmpty(result.crn) ? result.crn : null,
|
||||
//شماره اشتراک/شناسه قبض بهره بردار
|
||||
@@ -358,26 +358,30 @@ namespace Back.Controllers
|
||||
|
||||
//Pay
|
||||
List<PaymentDto> InvoicePay = new List<PaymentDto>();
|
||||
if(level!=10)
|
||||
foreach (var pitem in result.payments)
|
||||
if (result.setm==1 || result.setm == 3)
|
||||
{
|
||||
PaymentDto payment = new PaymentDto();
|
||||
payment = new PaymentDto
|
||||
if (level != 10)
|
||||
foreach (var pitem in result.payments)
|
||||
{
|
||||
Iinn=pitem.iinn,
|
||||
Acn=pitem.acn,
|
||||
Trmn=pitem.trmn,
|
||||
Pmt=pitem.pmt,
|
||||
Trn=pitem.trn,
|
||||
Pcn=pitem.pcn,
|
||||
Pid=pitem.pid,
|
||||
Pdt=pitem.pdt,
|
||||
Pv=pitem.pv,
|
||||
|
||||
};
|
||||
PaymentDto payment = new PaymentDto();
|
||||
payment = new PaymentDto
|
||||
{
|
||||
Iinn = pitem.iinn,
|
||||
Acn = pitem.acn,
|
||||
Trmn = pitem.trmn,
|
||||
Pmt = pitem.pmt,
|
||||
Trn = pitem.trn,
|
||||
Pcn = pitem.pcn,
|
||||
Pid = pitem.pid,
|
||||
Pdt = pitem.pdt,
|
||||
Pv = pitem.pv,
|
||||
|
||||
InvoicePay.Add(payment);
|
||||
};
|
||||
|
||||
InvoicePay.Add(payment);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user