|
|
|
|
@ -731,9 +731,9 @@ $smarty->assign([
|
|
|
|
|
'admin_can_manage' => true, 'admin_csrf_token' => str_repeat('c', 64),
|
|
|
|
|
'rate_saved' => false, 'table_error' => false, 'asset' => 'CNY', 'review' => true, 'orders' => null,
|
|
|
|
|
'rates' => ['USD/CNY' => [
|
|
|
|
|
'current' => ['source' => 'manual', 'rate' => '7.20'], 'feed' => 'wise',
|
|
|
|
|
'current' => ['source' => 'manual', 'rate' => '7.20'], 'feed' => 'ecb',
|
|
|
|
|
'source_at_display' => '—', 'fetched_at_display' => '—', 'valid_until_display' => '1970-01-02 08:00:00',
|
|
|
|
|
'error' => 'missing_credentials', 'attempted_at' => null,
|
|
|
|
|
'error' => 'unreachable', 'attempted_at' => null,
|
|
|
|
|
]],
|
|
|
|
|
'totals' => ['CNY' => ['received' => '720.00', 'credited' => '100.00', 'review' => 1]],
|
|
|
|
|
'quote_rows' => [[
|
|
|
|
|
@ -743,6 +743,7 @@ $smarty->assign([
|
|
|
|
|
]);
|
|
|
|
|
$reconciliationHtml = $smarty->fetch('admin/payment-reconciliation/index.tpl');
|
|
|
|
|
if (!str_contains($reconciliationHtml, 'CNY')
|
|
|
|
|
|| !str_contains($reconciliationHtml, 'ECB')
|
|
|
|
|
|| !str_contains($reconciliationHtml, '720.00')
|
|
|
|
|
|| !str_contains($reconciliationHtml, 'legacy_quote')
|
|
|
|
|
|| !str_contains($reconciliationHtml, 'name="_admin_csrf"')
|
|
|
|
|
|