// en/admin_purchases
export const admin_purchases = {
  title: 'Purchases',
  col_deal: 'Deal',
  col_vendor: 'Vendor',
  col_customer: 'Customer',
  col_customer_guest: 'Guest',
  col_amount: 'Amount paid',
  col_amount_symbol: '₪',
  col_commission: 'Commission',
  col_payment_status: 'Payment status',
  col_redemption_status: 'Redemption status',
  col_date: 'Purchase date',
  filter_payment_status: 'Payment status',
  filter_redemption_status: 'Redemption status',
  filter_all: 'All',
  payment_pending: 'Awaiting payment',
  payment_completed: 'Completed',
  payment_refunded: 'Refunded to customer',
  payment_partial_refund: 'Partial refund',
  payment_refund_requested: 'Refund requested',
  payment_failed: 'Failed',
  redemption_unredeemed: 'Not yet redeemed',
  redemption_redeemed: 'Redeemed',
  redemption_expired: 'Expired',
  redemption_cancelled: 'Cancelled',
  date_from: 'Purchase date from',
  date_to: 'Purchase date to',
  no_results: 'No purchases found',
  no_results_unfiltered: 'No purchases yet — new purchases will appear here',
  no_results_filtered: 'No purchases match the current filters',
  total_label: 'Total',
  view_deal: 'View deal',
  tab_overview: 'Overview',
  tab_orders: 'Orders',
  tab_returns: 'Returns',
  overview_heading: 'Purchases Overview',
  overview_gmv_today: 'Sales Revenue Today',
  overview_gmv_this_week: 'Sales Revenue — Last 7 Days',
  overview_pending_returns: 'Open Returns',
  overview_failed_payments_today: 'Failed Payments Today',
  overview_urgent_badge: 'Needs attention',
  overview_data_unavailable: 'Data is unavailable right now. Try refreshing the page.',
  overview_gmv_today_tooltip:
    'Total amount actually paid on completed purchases since midnight (UTC). Excludes pending or failed purchases.',
  overview_gmv_this_week_tooltip:
    'Total paid on completed purchases in the last 7 days (rolling window, not a calendar week).',
  overview_pending_returns_tooltip:
    'Return requests not yet finalized: any status other than refunded, denied, cancelled, or expired. Click to open the returns list.',
  overview_failed_payments_today_tooltip:
    'Payment attempts that failed since midnight (UTC). Click to view the failed purchases in the Orders tab.',
  tooltip_col_amount: 'The amount the customer actually paid, before the vendor/commission split',
  tooltip_payment_completed: 'Payment captured in full',
  tooltip_payment_pending: 'Payment has not yet completed with the payment processor',
  tooltip_payment_refund_requested: 'The customer filed a refund request that awaits handling',
  tooltip_payment_refunded: 'The full amount was refunded to the customer',
  tooltip_payment_partial_refund: 'Part of the amount was refunded to the customer',
  tooltip_redemption_redeemed: 'The customer redeemed the voucher at the vendor',
  tooltip_redemption_unredeemed: 'The voucher was purchased and has not been redeemed yet',
  tooltip_redemption_expired: 'The voucher was not redeemed before its expiry date',
  tooltip_redemption_cancelled:
    'The purchase was cancelled — check the payment column for the refund state',
} as const;
