- ApiClient 인터페이스: representative → manager_name, contact_person 변경 - transformApiToFrontend: client.representative → client.manager_name 수정 - ApiOrderItem에 floor_code, symbol_code 필드 추가 (제품-부품 매핑) - ApiOrder에 options 타입 정의 추가 - ApiQuote에 calculation_inputs 타입 정의 추가 - 수주 상세 페이지 제품-부품 트리 구조 UI 개선
31 lines
777 B
PHP
31 lines
777 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\Pricing;
|
|
|
|
use App\Http\Requests\Traits\HasPagination;
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class PriceIndexRequest extends FormRequest
|
|
{
|
|
use HasPagination;
|
|
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'size' => 'nullable|integer|min:1',
|
|
'page' => 'nullable|integer|min:1',
|
|
'q' => 'nullable|string|max:100',
|
|
'item_type_code' => 'nullable|string|in:PRODUCT,MATERIAL',
|
|
'item_id' => 'nullable|integer',
|
|
'client_group_id' => 'nullable',
|
|
'status' => 'nullable|string|in:draft,active,inactive,finalized',
|
|
'valid_at' => 'nullable|date',
|
|
];
|
|
}
|
|
}
|