Ignore:
Timestamp:
01/05/23 12:40:07 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
f484b14
Parents:
676144b
Message:

Added views and functionalities for deliveryman, warehouseman and admin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/autopartz/controller/PartController.java

    r676144b r1bd8d1e  
    7777        }
    7878        Order order = (Order) session.getAttribute("order");
    79         orderContainsPartRepository.save(new OrderContainsPart(id,order.getID_order(),quantity));
     79        orderContainsPartRepository.save(new OrderContainsPart(id,order.getOrderid(),quantity));
    8080        try {
    8181            response.sendRedirect("/products");
Note: See TracChangeset for help on using the changeset viewer.