fix: 협력업체 목록 안 뜨는 버그 수정 — c.name → c.company_name

partner_companies 테이블 컬럼명은 company_name인데 JS에서 c.name으로
접근하여 undefined가 반환되던 문제. accounts/schedule/workreport 3개 파일 6곳 수정.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-03-13 07:44:56 +09:00
parent 5945176ad4
commit 9ac92f5775
3 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ async function loadCompaniesForFilter() {
list.forEach(c => {
const opt = document.createElement('option');
opt.value = c.id;
opt.textContent = c.name;
opt.textContent = c.company_name;
sel.appendChild(opt);
});
} catch(e) { console.warn('Load companies error:', e); }