mirror of
https://github.com/dyiop/astute.git
synced 2025-04-06 21:30:20 -04:00
Add files via upload
This commit is contained in:
parent
e0fb2bf717
commit
62ba387d54
|
@ -90,10 +90,10 @@ public class InvoiceResource {
|
||||||
return new ApiResponse(ApiResponse.UPDATE_ACCESS_SUCESS).toResponse();
|
return new ApiResponse(ApiResponse.UPDATE_ACCESS_SUCESS).toResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Path("/{InvoiceNumber}/submit")
|
@Path("/{InvoiceNumber}/void")
|
||||||
@PUT
|
@PUT
|
||||||
public Response voidInvoice(@PathParam("InvoiceNumber") String InvoiceNumber) throws AstuteException {
|
public Response voidInvoice(@PathParam("InvoiceNumber") String InvoiceNumber) throws AstuteException {
|
||||||
service.submitInvoice(InvoiceNumber);
|
service.voidInvoice(InvoiceNumber);
|
||||||
return new ApiResponse(ApiResponse.UPDATE_ACCESS_SUCESS).toResponse();
|
return new ApiResponse(ApiResponse.UPDATE_ACCESS_SUCESS).toResponse();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user