added new route for offered articles page
This commit is contained in:
parent
f2fc51384e
commit
d06fd57447
@ -156,6 +156,13 @@ public class RequestController {
|
|||||||
return "intern/supplierOrders/id";
|
return "intern/supplierOrders/id";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@GetMapping("/intern/suppliersOffers")
|
||||||
|
public String internSuppliersOffers() {
|
||||||
|
return "intern/offeredArticles/index";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@GetMapping("/intern/accounting/")
|
@GetMapping("/intern/accounting/")
|
||||||
public String accounting() {
|
public String accounting() {
|
||||||
return "intern/accounting/index";
|
return "intern/accounting/index";
|
||||||
|
@ -1,8 +1,36 @@
|
|||||||
package org.hso.ecommerce.controller.intern.suppliers;
|
package org.hso.ecommerce.controller.intern.suppliers;
|
||||||
|
|
||||||
import org.springframework.stereotype.Controller;
|
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
|
@Controller
|
||||||
//@RequestMapping("...")
|
//@RequestMapping("/intern/suppliersOffers")
|
||||||
public class SupplierOfferController {
|
public class SupplierOfferController {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@GetMapping("/")
|
||||||
|
public String internListedArticles(Model model) {
|
||||||
|
|
||||||
|
|
||||||
|
System.out.println("\n hier \n");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return "intern/offeredArticles/index";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user