feat: 회계 시스템 확장 — 계정과목·전표·세금계산서·카드·바로빌
- 계정과목 확장 및 더존 Smart A 표준 시딩 (전 테넌트) - 전표 연동 시스템 구현 (JournalSyncService, SyncsExpenseAccounts) - 세금계산서 매입/매출 필수값 조건 분리 + null 방어 - 카드거래 대시보드 리다이렉트 + 악성채권 집계 수정 - 바로빌 연동 API 엔드포인트 추가 - 복리후생 날짜 필터 + 바로빌 조인 컬럼 수정 - codebridge DB 커넥션 설정 추가
This commit is contained in:
@@ -498,7 +498,9 @@ public function getDetail(
|
||||
?int $fixedAmountPerMonth = 200000,
|
||||
?float $ratio = 0.05,
|
||||
?int $year = null,
|
||||
?int $quarter = null
|
||||
?int $quarter = null,
|
||||
?string $startDate = null,
|
||||
?string $endDate = null
|
||||
): array {
|
||||
$tenantId = $this->tenantId();
|
||||
$now = Carbon::now();
|
||||
@@ -562,8 +564,10 @@ public function getDetail(
|
||||
// 3. 항목별 분포
|
||||
$categoryDistribution = $this->getCategoryDistribution($tenantId, $annualStartDate, $annualEndDate);
|
||||
|
||||
// 4. 일별 사용 내역
|
||||
$transactions = $this->getTransactions($tenantId, $quarterStartDate, $quarterEndDate);
|
||||
// 4. 일별 사용 내역 (커스텀 날짜 범위가 있으면 해당 범위, 없으면 분기 기준)
|
||||
$txStartDate = $startDate ?? $quarterStartDate;
|
||||
$txEndDate = $endDate ?? $quarterEndDate;
|
||||
$transactions = $this->getTransactions($tenantId, $txStartDate, $txEndDate);
|
||||
|
||||
// 5. 계산 정보
|
||||
$calculation = [
|
||||
|
||||
Reference in New Issue
Block a user