Update payment page using card.display_name and category.name_with_parent fields

This commit is contained in:
qowevisa 2024-11-27 22:00:38 +02:00
parent 02c1444203
commit 3ad03226ae

View File

@ -207,7 +207,7 @@
class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md focus:ring focus:ring-indigo-200 focus:border-indigo-500"
>
{#each cards as card}
<option value={card.id}>{card.name}</option>
<option value={card.id}>{card.display_name}</option>
{/each}
</select>
</label>
@ -221,7 +221,7 @@
class="mt-1 block w-full px-4 py-2 border border-gray-300 rounded-md focus:ring focus:ring-indigo-200 focus:border-indigo-500"
>
{#each categories as category}
<option value={category.id}>{category.name}</option>
<option value={category.id}>{category.name_with_parent}</option>
{/each}
</select>
</label>