사이트 메뉴 CRUD를 /bag/* 경로로 통합 — 관리자 레이아웃 혼용 해결
- Bag 컨트롤러에 create/store 메서드 추가 (불출/발주/입고/판매/주문) - bag용 create 뷰 5개 생성 (form action을 /bag/*로 변경) - 모든 등록/취소 버튼을 /admin/* → /bag/*로 변경 - 사이트 레이아웃이 CRUD 전체에서 유지됨 - playwright.production.config.js 추가 (도메인 테스트용) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -27,6 +27,19 @@ $routes->get('bag/analytics', 'Bag::analytics');
|
||||
$routes->get('bag/window', 'Bag::window');
|
||||
$routes->get('bag/help', 'Bag::help');
|
||||
|
||||
// 사이트 메뉴 CRUD (사이트 레이아웃)
|
||||
$routes->get('bag/issue/create', 'Bag::issueCreate');
|
||||
$routes->post('bag/issue/store', 'Bag::issueStore');
|
||||
$routes->post('bag/issue/cancel/(:num)', 'Bag::issueCancel/$1');
|
||||
$routes->get('bag/order/create', 'Bag::orderCreate');
|
||||
$routes->post('bag/order/store', 'Bag::orderStore');
|
||||
$routes->get('bag/receiving/create', 'Bag::receivingCreate');
|
||||
$routes->post('bag/receiving/store', 'Bag::receivingStore');
|
||||
$routes->get('bag/sale/create', 'Bag::saleCreate');
|
||||
$routes->post('bag/sale/store', 'Bag::saleStore');
|
||||
$routes->get('bag/shop-order/create', 'Bag::shopOrderCreate');
|
||||
$routes->post('bag/shop-order/store', 'Bag::shopOrderStore');
|
||||
|
||||
// Auth
|
||||
$routes->get('login', 'Auth::showLoginForm');
|
||||
$routes->post('login', 'Auth::login');
|
||||
|
||||
Reference in New Issue
Block a user