added fields to payouts

This commit is contained in:
FIRST_NAME LAST_NAME 2025-08-22 20:11:10 +03:00
parent c334714180
commit e412092a4d
2 changed files with 17 additions and 1 deletions

View File

@ -22,7 +22,7 @@ function defaultDataResponseProcessor(data) {
export const API_PATH_MAIN = "https://hostapay.trade/api/v1/";
export const API_PATH_TEST = "https://test.0x000f.ru/api/v1/";
export const API_PATH_VALUE = API_PATH_TEST;
export const API_PATH_VALUE = API_PATH_MAIN;
async function makePost(
url,

View File

@ -595,6 +595,8 @@
<th>Карта</th>
<!-- <th>Курс</th> -->
<th>Время создания</th>
<th>Время принятия</th>
<th>Мерчант</th>
<th>Опции</th>
<!-- <th></th> -->
</tr>
@ -613,6 +615,8 @@
<!-- <td>{payout["rate"]} {payout["code"]}</td> -->
<!-- <td>{payout["amount"]}</td> -->
<td>{payout["creation_time"]}</td>
<td>{payout["accept_time"]}</td>
<td>{payout["merchant_name"]}</td>
<td
on:click={() => {
selectedPayout = payout;
@ -672,6 +676,18 @@
{selectedPayout.code}
</p>
</div>
<div class="rounded-box flex flex-col bg-base-100 p-4 gap-1 mt-4">
<p class="text-lg font-bold opacity-50">Время принятия</p>
<p>
{selectedPayout.accept_time}
</p>
</div>
<div class="rounded-box flex flex-col bg-base-100 p-4 gap-1 mt-4">
<p class="text-lg font-bold opacity-50">Мерчант</p>
<p>
{selectedPayout.merchant_name}
</p>
</div>
<div class="rounded-box flex flex-col bg-base-100 p-4 gap-1 mt-4">
<p class="text-lg font-bold opacity-50">Заказчик</p>
<p>