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
b074ea9edd
commit
8c5152cf9c
|
@ -57,7 +57,7 @@ public class InvoiceResource {
|
|||
public Response updateInvoiceDetail(@PathParam("InvoiceNum") String InvoiceNum, @PathParam("lineItemNum") int lineItemNum, InvoiceDetailRequest request)
|
||||
throws AstuteException {
|
||||
service.updateInvoiceDetail(InvoiceNum, lineItemNum, request.getPoLineItemNum(), request.getServiceTypeId(),
|
||||
request.getDesc(), request.getQty(), request.getFee());
|
||||
request.getDesc(), request.getQty(), request.getFee(), request.getFeeTypeId());
|
||||
return new ApiResponse(ApiResponse.UPDATE_ACCESS_SUCESS).toResponse();
|
||||
}
|
||||
@POST
|
||||
|
@ -76,7 +76,7 @@ public class InvoiceResource {
|
|||
public Response createInvoiceDetail(InvoiceDetailRequest request)
|
||||
throws AstuteException {
|
||||
service.createInvoiceDetail(request.getInvoiceNum(), request.getLineItemNum(), request.getPoLineItemNum(), request.getServiceTypeId(),
|
||||
request.getDesc(), request.getQty(), request.getFee());
|
||||
request.getDesc(), request.getQty(), request.getFee(), request.getFeeTypeId());
|
||||
return new ApiResponse(ApiResponse.UPDATE_ACCESS_SUCESS).toResponse();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user