对账明细导出:订单摘要增加 receipt_total/refund_total/delta

This commit is contained in:
萝卜
2026-03-13 21:08:52 +00:00
parent dcf1e3d226
commit 5edaf57bf7
2 changed files with 21 additions and 0 deletions

View File

@@ -108,6 +108,11 @@ class AdminPlatformOrderExportLedgerTest extends TestCase
$this->assertStringContainsString("merchant_id,{$merchant->id}", $content2);
$this->assertStringContainsString('payment_status,unpaid', $content2);
$this->assertStringContainsString('site_subscription_id,', $content2);
// 对账/退款汇总字段
$this->assertStringContainsString('receipt_total,10.00', $content2);
$this->assertStringContainsString('refund_total,1.00', $content2);
$this->assertStringContainsString('reconcile_delta,10.00', $content2);
}
public function test_show_page_should_render_export_ledger_link(): void