- 품질관리 수주선택 필터링 + 검사 상태 자동 재계산 - 제품검사 요청서 Document(EAV) 자동생성 및 동기화 - 현황판 결재 카드 approvalOnly 스코프 + sub_label 추가 - 캘린더 어음 만기일 일정 연동 - QuoteStatService codebridge DB 커넥션 연결 - 테넌트 부트스트랩 기본 결재 양식 자동 시딩
41 lines
1.1 KiB
PHP
41 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace App\Services\TenantBootstrap;
|
|
|
|
use App\Services\TenantBootstrap\Steps\ApprovalFormsStep;
|
|
use App\Services\TenantBootstrap\Steps\CapabilityProfilesStep;
|
|
use App\Services\TenantBootstrap\Steps\CategoriesStep;
|
|
use App\Services\TenantBootstrap\Steps\MenusStep;
|
|
use App\Services\TenantBootstrap\Steps\SettingsStep;
|
|
|
|
class RecipeRegistry
|
|
{
|
|
/**
|
|
* 레시피마다 실행 순서 정의
|
|
*/
|
|
public function steps(string $recipe = 'STANDARD'): array
|
|
{
|
|
return match ($recipe) {
|
|
'LITE' => [
|
|
new CapabilityProfilesStep,
|
|
new CategoriesStep,
|
|
],
|
|
default => [ // STANDARD
|
|
new CapabilityProfilesStep,
|
|
new CategoriesStep,
|
|
// new MenusStep, // Disabled: Use MenuBootstrapService in RegisterService instead
|
|
new SettingsStep,
|
|
new ApprovalFormsStep,
|
|
],
|
|
};
|
|
}
|
|
|
|
public function version(string $recipe = 'STANDARD'): int
|
|
{
|
|
return match ($recipe) {
|
|
'LITE' => 1,
|
|
default => 1,
|
|
};
|
|
}
|
|
}
|