feat: [order] 재고생산 생산지시 자동 처리

- STOCK 타입 store() 시 site_name='재고생산' 자동 설정
- createProductionOrder() STOCK 분기 추가:
  - project_name='재고생산' 고정
  - 절곡 공정 자동 선택 (BOM 매칭 스킵)
  - scheduled_date=now() 자동 설정
- 절곡 공정 미존재 시 에러 메시지 추가
This commit is contained in:
김보곤
2026-03-16 22:24:15 +09:00
parent 407afe38e4
commit ae73275cf9
3 changed files with 134 additions and 106 deletions

View File

@@ -122,6 +122,7 @@
'not_found' => 'Work order not found.',
'cannot_delete_in_progress' => 'Cannot delete in progress or completed work order.',
'not_bending_process' => 'This is not a bending process.',
'bending_process_not_found' => 'Bending process not found. Please check process settings.',
'invalid_transition' => "Cannot transition status from ':from' to ':to'. Allowed statuses: :allowed",
],