style: Pint 포맷팅 적용

This commit is contained in:
김보곤
2026-02-25 11:45:01 +09:00
parent 68b1622a4e
commit 9a7c548246
199 changed files with 1420 additions and 1083 deletions

View File

@@ -93,7 +93,7 @@ public static function toggle(int $tenantId, string $scenarioType, int $stepId,
]);
// 새 레코드인 경우 필수 필드 설정
if (!$checklist->exists) {
if (! $checklist->exists) {
$checklist->user_id = $currentUserId;
$checklist->checkpoint_index = 0; // 기본값
}
@@ -121,7 +121,7 @@ public static function toggleByProspect(int $prospectId, string $scenarioType, i
]);
// 새 레코드인 경우 필수 필드 설정
if (!$checklist->exists) {
if (! $checklist->exists) {
$checklist->user_id = $currentUserId;
$checklist->checkpoint_index = 0;
}
@@ -305,8 +305,7 @@ public function scopeChecked($query)
/**
* 간단한 진행률 계산 (전체 체크포인트 수 기준)
*
* @param int $tenantId
* @param string $scenarioType 'sales' 또는 'manager'
* @param string $scenarioType 'sales' 또는 'manager'
* @return array ['completed' => 완료 수, 'total' => 전체 수, 'percentage' => 백분율]
*/
public static function getSimpleProgress(int $tenantId, string $scenarioType): array