Add files via upload

This commit is contained in:
gopi17701 2018-07-23 14:45:49 -04:00 committed by GitHub
parent e0fb2bf717
commit 62ba387d54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,10 +90,10 @@ public class InvoiceResource {
return new ApiResponse(ApiResponse.UPDATE_ACCESS_SUCESS).toResponse();
}
@Path("/{InvoiceNumber}/submit")
@Path("/{InvoiceNumber}/void")
@PUT
public Response voidInvoice(@PathParam("InvoiceNumber") String InvoiceNumber) throws AstuteException {
service.submitInvoice(InvoiceNumber);
service.voidInvoice(InvoiceNumber);
return new ApiResponse(ApiResponse.UPDATE_ACCESS_SUCESS).toResponse();
}
}