Add files via upload

This commit is contained in:
gopi17701 2018-07-24 22:08:57 -04:00 committed by GitHub
parent 1ce5562eb4
commit c7a927a78c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,8 +40,8 @@ public class InvoiceResource {
@PUT
public Response updateInvoiceMaster(@PathParam("InvoiceNum") String InvoiceNum, InvoiceMasterRequest request)
throws AstuteException {
service.updateInvoiceMaster(InvoiceNum, request.getInvoiceDate(), request.getPoNum(), request.getChangeOrderNum(),
request.getPmtStatus(), request.getBillAmt(), request.getSpecialNotes(), request.getCertification());
service.updateInvoiceMaster(InvoiceNum, request.getInvoiceDate(), request.getPoNum(),
request.getPmtStatus(), request.getBillAmt(), request.getSpecialNotes(), request.getCertification(), request.getInvoiceStatus());
return new ApiResponse(ApiResponse.UPDATE_ACCESS_SUCESS).toResponse();
}
@ -56,8 +56,8 @@ public class InvoiceResource {
@POST
public Response createInvoiceMaster(InvoiceMasterRequest request)
throws AstuteException {
service.createInvoiceMaster(request.getInvoiceNumber(), request.getInvoiceDate(), request.getPoNum(), request.getChangeOrderNum(),
request.getPmtStatus(), request.getBillAmt(), request.getSpecialNotes(), request.getCertification());
service.createInvoiceMaster(request.getInvoiceNumber(), request.getInvoiceDate(), request.getPoNum(),
request.getPmtStatus(), request.getBillAmt(), request.getSpecialNotes(), request.getCertification(), request.getInvoiceStatus());
return new ApiResponse(ApiResponse.UPDATE_ACCESS_SUCESS).toResponse();
}
@Path("/detail")