Add files via upload

This commit is contained in:
gopi17701 2018-08-20 22:20:50 -04:00 committed by GitHub
parent b074ea9edd
commit 8c5152cf9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}