refactor(admin-reports, i18n): remove rebate commission report and enhance localization
Removed the `getAdminReportRebateCommission` function and its references from the admin reports API and localization files. Updated CSS for improved money display handling in admin components. Enhanced localization support by adding new finance and support workspace entries in English, Nepali, and Chinese, improving user experience across the application.
This commit is contained in:
@@ -34,6 +34,7 @@ import {
|
||||
TableRow,
|
||||
} from "@/components/ui/table";
|
||||
import { useAdminDateTimeFormatter } from "@/hooks/use-admin-datetime-formatter";
|
||||
import { AdminTableMoney, adminMoneyCellClassName } from "@/components/admin/admin-table-money";
|
||||
import { formatDashboardMoneyMinor } from "@/modules/dashboard/use-dashboard-analytics";
|
||||
import { LotteryApiBizError } from "@/types/api/errors";
|
||||
import { settlementAdjustmentTypeLabel } from "@/modules/settlement/settlement-status-label";
|
||||
@@ -368,8 +369,10 @@ export function SettlementOperationsPanel({
|
||||
<TableCell className="tabular-nums">
|
||||
{row.billId > 0 ? `#${row.billId}` : "—"}
|
||||
</TableCell>
|
||||
<TableCell className="text-right tabular-nums font-medium">
|
||||
{formatDashboardMoneyMinor(row.amount, currencyCode)}
|
||||
<TableCell className={adminMoneyCellClassName("text-right font-medium")}>
|
||||
<AdminTableMoney>
|
||||
{formatDashboardMoneyMinor(row.amount, currencyCode)}
|
||||
</AdminTableMoney>
|
||||
</TableCell>
|
||||
<TableCell className="max-w-[160px] truncate text-sm">{row.summary}</TableCell>
|
||||
<TableCell className="max-w-[240px] truncate text-sm text-muted-foreground">
|
||||
|
||||
Reference in New Issue
Block a user