feat: 수주 목록/상세 필드 개선

- OrderService: client relation에 manager_name 추가
- Order 모델: shipping_cost_label accessor 추가 (common_codes 조회)
- $appends에 shipping_cost_label 추가

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-28 22:24:21 +09:00
parent 42deb60861
commit e9894fef61
2 changed files with 12 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ public function index(array $params)
$query = Order::query()
->where('tenant_id', $tenantId)
->with(['client:id,name', 'items', 'quote:id,quote_number']);
->with(['client:id,name,manager_name', 'items', 'quote:id,quote_number']);
// 작업지시 생성 가능한 수주만 필터링
if ($forWorkOrder) {