fix: show total purchase count instead of paid on admin landings

This commit is contained in:
Fringg
2026-03-06 22:16:41 +03:00
parent d228d997d8
commit b9f1f59e3c
2 changed files with 5 additions and 2 deletions

View File

@@ -136,9 +136,12 @@ export interface LandingListItem {
method_count: number;
purchase_stats: {
total: number;
paid: number;
pending: number;
paid: number;
delivered: number;
pending_activation: number;
failed: number;
expired: number;
};
created_at: string | null;
updated_at: string | null;

View File

@@ -160,7 +160,7 @@ function SortableLandingCard({
</div>
<div className="flex flex-wrap gap-x-4 gap-y-1 text-sm text-dark-400">
<span>
{landing.purchase_stats.paid} {t('admin.landings.purchases')}
{landing.purchase_stats.total} {t('admin.landings.purchases')}
</span>
</div>
</div>