feat: add store closing balance detail #1041

Merged
qiuxiang merged 1 commits from feature/qiuxiang-balance-detail-store-close into main 2026-11-10 14:17:35 +08:00
Collaborator

Changes

  • Add the store-name tab to closing-balance details.
  • Aggregate each platform store opening balance, income, and expense, then calculate closing balance as opening + income - expense.
  • Show a dash when a store opening balance is unavailable instead of treating it as zero.
  • Lazy-load store details without slowing the existing platform detail view.

Verification

  • Frontend production build passed.
  • PHP syntax checks passed.
  • Store balance calculation smoke check passed.

No permission, schema, or configuration changes.

## Changes - Add the store-name tab to closing-balance details. - Aggregate each platform store opening balance, income, and expense, then calculate closing balance as opening + income - expense. - Show a dash when a store opening balance is unavailable instead of treating it as zero. - Lazy-load store details without slowing the existing platform detail view. ## Verification - Frontend production build passed. - PHP syntax checks passed. - Store balance calculation smoke check passed. No permission, schema, or configuration changes.
qiuxiang added 1 commit 2026-11-10 14:17:25 +08:00
按店铺汇总期初、收入、支出并计算期末余额;缺少期初来源的店铺显示为空,避免按零处理。新增懒加载接口与店铺名称页签,并补充服务、接口和页面测试。
qiuxiang merged commit 906b9ea197 into main 2026-11-10 14:17:35 +08:00
qiuxiang deleted branch feature/qiuxiang-balance-detail-store-close 2026-11-10 14:17:35 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WuYongJie/CaiWuXiTong#1041
No description provided.