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 8b5da0a..1b467db 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,7 +1,5 @@ package org.hso.ecommerce.controller.intern.suppliers; -import javax.servlet.http.HttpSession; - import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; @@ -11,11 +9,16 @@ import org.springframework.web.bind.annotation.RequestMapping; @RequestMapping("/intern/") public class SupplierOfferController { - @GetMapping("suppliersOffers") - public String internListedArticles(Model model, HttpSession session) { - - System.out.println("\nhier\n"); + @GetMapping("supplierOffers") + public String internListedArticles(Model model) { + + + + + + + return "intern/offeredArticles/index"; } diff --git a/prototype/src/main/resources/templates/fragments/intern.html b/prototype/src/main/resources/templates/fragments/intern.html index 6676abf..22de534 100644 --- a/prototype/src/main/resources/templates/fragments/intern.html +++ b/prototype/src/main/resources/templates/fragments/intern.html @@ -34,7 +34,7 @@
  • Lieferanten
  • diff --git a/prototype/src/main/resources/templates/intern/listedArticles/index.html b/prototype/src/main/resources/templates/intern/listedArticles/index.html index e641c77..94be11c 100644 --- a/prototype/src/main/resources/templates/intern/listedArticles/index.html +++ b/prototype/src/main/resources/templates/intern/listedArticles/index.html @@ -26,7 +26,7 @@

    Weitere Artikel können über Artikelübersicht der Lieferanten hinzugefügt werden. - Jetzt Hinzufügen + Jetzt Hinzufügen

    diff --git a/prototype/src/main/resources/templates/intern/offeredArticles/index.html b/prototype/src/main/resources/templates/intern/offeredArticles/index.html index 2fe9c5b..9ba3279 100644 --- a/prototype/src/main/resources/templates/intern/offeredArticles/index.html +++ b/prototype/src/main/resources/templates/intern/offeredArticles/index.html @@ -15,7 +15,7 @@