mirror of
https://github.com/dyiop/astute.git
synced 2025-04-05 21:10:16 -04:00
Add files via upload
This commit is contained in:
parent
c6cdd80bee
commit
3c16162ecd
|
@ -49,6 +49,15 @@ public class InvoiceResource {
|
|||
return new ApiResponse(ApiResponse.UPDATE_ACCESS_SUCESS).toResponse();
|
||||
}
|
||||
|
||||
@Path("/{InvoiceNum}/delete")
|
||||
@PUT
|
||||
public Response deleteInvoice(@PathParam("InvoiceNum") String InvoiceNum)
|
||||
throws AstuteException {
|
||||
|
||||
service.deleteInvoice(InvoiceNum);
|
||||
return new ApiResponse(ApiResponse.UPDATE_ACCESS_SUCESS).toResponse();
|
||||
}
|
||||
|
||||
@Path("/detail/{InvoiceNum}/{lineItemNum}")
|
||||
@PUT
|
||||
public Response updateInvoiceDetail(@PathParam("InvoiceNum") String InvoiceNum, @PathParam("lineItemNum") int lineItemNum, InvoiceDetailRequest request)
|
||||
|
|
Loading…
Reference in New Issue
Block a user