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: fineract-accounting/src/main/java/org/apache/fineract/accounting/closure/api/GLClosuresApiResource.java
+26-15Lines changed: 26 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -57,10 +57,17 @@
57
57
58
58
@Path("/v1/glclosures")
59
59
@Component
60
-
@Tag(name = "Accounting Closure", description = "An accounting closure indicates that no more journal entries may be logged (or reversed) in the system, either manually or via the portfolio with an entry date prior to the defined closure date\n"
61
-
+ "\n" + "Field Descriptions\n" + "closingDate\n" + "The date for which the accounting closure is defined\n" + "officeId\n"
62
-
+ "The identifer of the branch for which accounting has been closed\n" + "comments\n"
63
-
+ "Description associated with an Accounting closure")
An accounting closure indicates that no more journal entries may be logged (or reversed) in the system, either manually or via the portfolio with an entry date prior to the defined closure date
62
+
63
+
Field Descriptions
64
+
closingDate
65
+
The date for which the accounting closure is defined
66
+
officeId
67
+
The identifer of the branch for which accounting has been closed
68
+
comments
69
+
Description associated with an Accounting closure
70
+
""")
64
71
@RequiredArgsConstructor
65
72
publicclassGLClosuresApiResource {
66
73
@@ -76,9 +83,11 @@ public class GLClosuresApiResource {
@@ -127,8 +140,7 @@ public CommandProcessingResult createGLClosure(@Parameter(hidden = true) GLClosu
127
140
@Produces({ MediaType.APPLICATION_JSON })
128
141
@Operation(summary = "Update an Accounting closure", description = "Once an accounting closure is created, only the comments associated with it may be edited")
@@ -141,8 +153,7 @@ public CommandProcessingResult updateGLClosure(@PathParam("glClosureId") @Parame
141
153
@Consumes({ MediaType.APPLICATION_JSON })
142
154
@Produces({ MediaType.APPLICATION_JSON })
143
155
@Operation(summary = "Delete an accounting closure", description = "Note: Only the latest accounting closure associated with a branch may be deleted.")
0 commit comments