You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Infrastructure/PortaleFatture.BE.Infrastructure/Common/pagoPA/EntiPrivati/Queries/Persistence/Builder/ReportPrivatiECSQLBuilder.cs
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,9 @@ [internalistitutionid] as InternalInstitutionId
15
15
,p.[year_quarter] as YearQuarter
16
16
,p.recipient_id as RecipientId
17
17
,c.name as name
18
+
,p.parentID
19
+
,p.parentDescription
20
+
,IIF(p.parentID IS NULL, 'NO', 'SI') as mandatario
18
21
FROM [ppa].[report_privati] p
19
22
left outer join [ppa].[FinancialReports] r
20
23
ON p.recipient_id = r.recipient_id
@@ -31,11 +34,11 @@ public static string SelectEC()
31
34
}
32
35
publicstaticstringGroupByEC()
33
36
{
34
-
return" group by p.internalistitutionid, CodiceArticolo, p.year_quarter, taxcode, description, p.recipient_id, c.name";
37
+
return" group by p.internalistitutionid, CodiceArticolo, p.year_quarter, taxcode, description, p.recipient_id, c.name, p.parentID, p.parentDescription";
35
38
}
36
39
37
40
publicstaticstringOrderByEC()
38
41
{
39
-
return" ORDER BY p.description, CodiceArticolo";
42
+
return" ORDER BY p.parentID desc, p.description, CodiceArticolo";
Copy file name to clipboardExpand all lines: src/Presentation/PortaleFatture.BE.Api/Modules/pagoPA/FinancialReports/Extensions/FinancialReportsExtensions.cs
+83-33Lines changed: 83 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,44 @@ public static string FileExistsAsync(this string uri)
0 commit comments