...
This commit is contained in:
@@ -41,7 +41,9 @@ namespace Back.Services
|
||||
.Include(inc => inc.sentTax)
|
||||
//.Include(inc => inc.payments)
|
||||
.Include(inc => inc.pattern)
|
||||
.ThenInclude(inc => inc.BillType).FirstOrDefaultAsync();
|
||||
.ThenInclude(inc => inc.BillType)
|
||||
|
||||
.FirstOrDefaultAsync();
|
||||
return new InvoiceDTO()
|
||||
{
|
||||
|
||||
@@ -143,6 +145,7 @@ namespace Back.Services
|
||||
.ThenInclude(inc => inc.CODUnit)
|
||||
//.Include(inc => inc.payments)
|
||||
.Include(inc => inc.pattern)
|
||||
.OrderByDescending(o=>o.ID)
|
||||
.Select(s => new InvoiceGridDTO()
|
||||
{
|
||||
|
||||
@@ -229,6 +232,7 @@ namespace Back.Services
|
||||
.Include(inc => inc.Customer)
|
||||
.Include(inc => inc.sentTax)
|
||||
.Include(inc => inc.pattern)
|
||||
.Include(inc => inc.invoice)
|
||||
.FirstOrDefaultAsync();
|
||||
}
|
||||
public async Task<bool> DeleteInvoice(Invoice item)
|
||||
|
Reference in New Issue
Block a user