mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
fix: show total purchase count instead of paid on admin landings
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user