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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user