diff --git a/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java index 3adf74e..ed78d84 100644 --- a/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java +++ b/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java @@ -155,6 +155,13 @@ public class RequestController { public String internSupplierOrdersId() { return "intern/supplierOrders/id"; } + + + @GetMapping("/intern/suppliersOffers") + public String internSuppliersOffers() { + return "intern/offeredArticles/index"; + } + @GetMapping("/intern/accounting/") public String accounting() { diff --git a/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/SupplierOfferController.java b/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/SupplierOfferController.java index ec6dfbf..b69b073 100644 --- a/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/SupplierOfferController.java +++ b/prototype/src/main/java/org/hso/ecommerce/controller/intern/suppliers/SupplierOfferController.java @@ -1,8 +1,36 @@ package org.hso.ecommerce.controller.intern.suppliers; import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; @Controller -//@RequestMapping("...") +//@RequestMapping("/intern/suppliersOffers") public class SupplierOfferController { + + + + + /* + @GetMapping("/") + public String internListedArticles(Model model) { + + + System.out.println("\n hier \n"); + + + + return "intern/offeredArticles/index"; + } + + + + */ + + + + + + } diff --git a/prototype/src/main/resources/templates/intern/articles/index.html b/prototype/src/main/resources/templates/intern/offeredArticles/index.html similarity index 100% rename from prototype/src/main/resources/templates/intern/articles/index.html rename to prototype/src/main/resources/templates/intern/offeredArticles/index.html