fix: label admin transaction history
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-11 09:21:54 -04:00
parent bb8499e10c
commit 4217009384
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ onMounted(load);
<h2 id="acquisitions-title">Acquisition history</h2> <h2 id="acquisitions-title">Acquisition history</h2>
<p v-if="!acquisitions.length" class="state state--empty">No acquisitions recorded yet.</p> <p v-if="!acquisitions.length" class="state state--empty">No acquisitions recorded yet.</p>
<ul v-else> <ul v-else>
<li v-for="acquisition in acquisitions" :key="acquisition.id"> <li v-for="acquisition in acquisitions" :key="acquisition.id" :aria-label="`Acquisition for inventory item ${acquisition.inventoryItemId}: ${acquisition.date ?? 'undated'}, ${acquisition.method}, cost $${(acquisition.costMinor / 100).toFixed(2)}, basis $${((acquisition.costBasisMinor ?? 0) / 100).toFixed(2)}`">
<strong>{{ acquisition.inventoryItemId }}</strong> <strong>{{ acquisition.inventoryItemId }}</strong>
· {{ acquisition.date ?? "Undated" }} · {{ acquisition.method }} · · {{ acquisition.date ?? "Undated" }} · {{ acquisition.method }} ·
Cost ${{ (acquisition.costMinor / 100).toFixed(2) }} · Basis ${{ ((acquisition.costBasisMinor ?? 0) / 100).toFixed(2) }} Cost ${{ (acquisition.costMinor / 100).toFixed(2) }} · Basis ${{ ((acquisition.costBasisMinor ?? 0) / 100).toFixed(2) }}
+1 -1
View File
@@ -97,7 +97,7 @@ onMounted(load);
<h2 id="sales-title">Sale history</h2> <h2 id="sales-title">Sale history</h2>
<p v-if="!sales.length" class="state state--empty">No sales recorded yet.</p> <p v-if="!sales.length" class="state state--empty">No sales recorded yet.</p>
<ul v-else> <ul v-else>
<li v-for="sale in sales" :key="sale.id"> <li v-for="sale in sales" :key="sale.id" :aria-label="`Sale for ${sale.productName ?? sale.saleItem.inventoryItemId}: ${sale.saleDate}, ${sale.status}, sold $${(sale.soldPriceMinor / 100).toFixed(2)}, profit $${(sale.profitMinor / 100).toFixed(2)}`">
<strong>{{ sale.productName ?? sale.saleItem.inventoryItemId }}</strong> <strong>{{ sale.productName ?? sale.saleItem.inventoryItemId }}</strong>
· {{ sale.saleDate }} · {{ sale.status }} · Sold ${{ (sale.soldPriceMinor / 100).toFixed(2) }} · {{ sale.saleDate }} · {{ sale.status }} · Sold ${{ (sale.soldPriceMinor / 100).toFixed(2) }}
· Profit ${{ (sale.profitMinor / 100).toFixed(2) }} · Profit ${{ (sale.profitMinor / 100).toFixed(2) }}
+1
View File
@@ -271,6 +271,7 @@ Remaining roadmap areas are approved external provider credentials/adapters, bro
- Admin inventory bulk archive, pricing refresh, tag, and retry actions now announce successful outcomes through a polite live region. - Admin inventory bulk archive, pricing refresh, tag, and retry actions now announce successful outcomes through a polite live region.
- Admin inventory action announcements now have Storybook interaction coverage verifying the live-region contract. - Admin inventory action announcements now have Storybook interaction coverage verifying the live-region contract.
- Admin inventory valuation and pricing-job results now expose explicit screen-reader labels with item or job identity and state. - Admin inventory valuation and pricing-job results now expose explicit screen-reader labels with item or job identity and state.
- Admin sales and acquisition history rows now expose explicit screen-reader labels with record identity, status/date, and financial context.
## Local Commands ## Local Commands