fix:수당지급현황통계 필터 UI 개선 - 기간설정 체크박스, 파트너/매니저 드롭박스 제거, 높이 수정

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-20 14:18:07 +09:00
parent 8a397b1bc6
commit 44f443966a
2 changed files with 106 additions and 70 deletions

View File

@@ -398,10 +398,24 @@ public function paymentStats(Request $request): View|Response
// 필터 파라미터
$now = now();
$startYear = (int) $request->input('start_year', $now->year);
$startMonth = (int) $request->input('start_month', 1);
$endYear = (int) $request->input('end_year', $now->year);
$endMonth = (int) $request->input('end_month', $now->month);
$dateRange = $request->boolean('date_range');
if ($dateRange) {
// 기간 범위 모드
$startYear = (int) $request->input('start_year', $now->year);
$startMonth = (int) $request->input('start_month', 1);
$endYear = (int) $request->input('end_year', $now->year);
$endMonth = (int) $request->input('end_month', $now->month);
} else {
// 단일 월 모드 (기본)
$singleYear = (int) $request->input('year', $now->year);
$singleMonth = (int) $request->input('month', $now->month);
$startYear = $singleYear;
$startMonth = $singleMonth;
$endYear = $singleYear;
$endMonth = $singleMonth;
}
$status = $request->input('status');
$paymentType = $request->input('payment_type');
$partnerId = $request->input('partner_id');