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
1ce5562eb4
commit
c7a927a78c
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user