Files
sam-api/app/Services/Pricing/PricingService.php
kent 8a5c7b5298 feat(API): Service 로직 개선
- EstimateService, ItemService 기능 추가
- OrderService 공정 연동 개선
- SalaryService, ReceivablesService 수정
- HandoverReportService, SiteBriefingService 추가
- Pricing 서비스 추가

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-13 19:49:06 +09:00

32 lines
814 B
PHP

<?php
namespace App\Services\Pricing;
use App\Services\Service;
class PricingService extends Service
{
/**
* 아이템 가격 조회
*
* @param string $itemType 'PRODUCT' or 'MATERIAL'
* @param int $itemId 상품/자재 ID
* @param int|null $clientId 거래처 ID (거래처별 특가 적용)
* @param string|null $date 기준일 (가격 이력 조회용)
* @return array{price: float, warning: string|null}
*/
public function getItemPrice(
string $itemType,
int $itemId,
?int $clientId = null,
?string $date = null
): array {
// TODO: 실제 가격 조회 로직 구현
// 현재는 임시로 0원 반환
return [
'price' => 0,
'warning' => null,
];
}
}