Add payments feature to admin panel
- Integrated payments functionality into the admin panel by adding a new payments router and corresponding handlers. - Updated the admin panel actions to include a view payments option, enhancing admin capabilities. - Implemented new database functions to retrieve successful payment counts and details for export. - Enhanced localization with new strings for payments management in both English and Russian.
This commit is contained in:
@@ -122,6 +122,28 @@
|
||||
"admin_stats_recent_payments_header": "Recent Payments:",
|
||||
"admin_stats_payment_item": "{status_emoji} {amount} {currency} from {user_info} ({p_status}) [{p_date}]",
|
||||
"admin_stats_no_payments_found": "No payments found yet.",
|
||||
|
||||
"admin_view_payments_button": "💰 Payments",
|
||||
"admin_payments_header": "💰 <b>All Payments</b>",
|
||||
"admin_no_payments_found": "No payments found.",
|
||||
"admin_export_payments_csv": "📊 Export CSV",
|
||||
"admin_refresh_payments": "🔄 Refresh",
|
||||
"admin_no_payments_to_export": "No payments to export.",
|
||||
"admin_payments_export_success": "📊 Payments export completed!\nTotal records: {count}",
|
||||
"admin_export_sent": "File sent!",
|
||||
|
||||
"admin_csv_payment_id": "ID",
|
||||
"admin_csv_user_id": "User ID",
|
||||
"admin_csv_username": "Username",
|
||||
"admin_csv_first_name": "First Name",
|
||||
"admin_csv_amount": "Amount",
|
||||
"admin_csv_currency": "Currency",
|
||||
"admin_csv_provider": "Provider",
|
||||
"admin_csv_status": "Status",
|
||||
"admin_csv_description": "Description",
|
||||
"admin_csv_months": "Months",
|
||||
"admin_csv_created_at": "Created At",
|
||||
"admin_csv_provider_payment_id": "Provider Payment ID",
|
||||
"admin_stats_last_sync_header": "Last Panel Sync:",
|
||||
"admin_stats_sync_time": "Time",
|
||||
"admin_stats_sync_status": "Status",
|
||||
|
||||
Reference in New Issue
Block a user