fineract-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nazeer1100126 <...@git.apache.org>
Subject [GitHub] fineract pull request #403: Extend-mifos-data-import-tool chartOfAccounts po...
Date Thu, 17 Aug 2017 06:14:41 GMT
Github user nazeer1100126 commented on a diff in the pull request:

    https://github.com/apache/fineract/pull/403#discussion_r133630362
  
    --- Diff: fineract-provider/src/main/java/org/apache/fineract/accounting/glaccount/api/GLAccountsApiResource.java
---
    @@ -219,4 +231,21 @@ private GLAccountData handleTemplate(final GLAccountData glAccountData)
{
             }
             return returnList;
         }
    +
    +    @GET
    +    @Path("bulkimporttemplate")
    +    @Produces("application/vnd.ms-excel")
    +    // @Produces(MediaType.APPLICATION_OCTET_STREAM)
    +    public Response getGlAccountsTemplate(@QueryParam("glAccountId") final Long glAccountId)
{
    +        return bulkImportWorkbookPopulatorService.getTemplate("glaccount",null,null,
    +                null,null,null,null,null,null,null,glAccountId);
    --- End diff --
    
    create one more method to get template by passing only glaccount and glAccountId


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message