mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Fix actual price minor
This commit is contained in:
@@ -81,7 +81,7 @@ function exportCsv(rows: DiscrepancyRow[]) {
|
||||
new Date(r.departureAt).toLocaleString('en-GB', { dateStyle: 'medium', timeStyle: 'short' }),
|
||||
r.seatType,
|
||||
r.coachNumber ?? '—',
|
||||
`${r.actualCurrency} ${r.actualMinor.toFixed(2)}`,
|
||||
`${r.actualCurrency} ${(r.actualMinor / 100).toFixed(2)}`,
|
||||
`${r.paidCurrency} ${r.paidMinor.toFixed(2)}`,
|
||||
`${r.balanceCurrency} ${r.balanceMinor.toFixed(2)}`,
|
||||
].map(v => `"${String(v).replace(/"/g, '""')}"`).join(','));
|
||||
@@ -359,7 +359,7 @@ export default function PaymentDiscrepancyPage() {
|
||||
)}
|
||||
</td>
|
||||
<td className="px-4 py-3 text-gray-700 dark:text-gray-300 whitespace-nowrap font-medium">
|
||||
{fmtMoney(row.actualMinor, row.actualCurrency)}
|
||||
{fmtMoney(row.actualMinor / 100, row.actualCurrency)}
|
||||
</td>
|
||||
<td className="px-4 py-3 text-gray-700 dark:text-gray-300 whitespace-nowrap">
|
||||
{fmtMoney(row.paidMinor, row.paidCurrency)}
|
||||
|
||||
Reference in New Issue
Block a user