This commit is contained in:
@@ -89,7 +89,7 @@ onMounted(load);
|
||||
<h2 id="acquisitions-title">Acquisition history</h2>
|
||||
<p v-if="!acquisitions.length" class="state state--empty">No acquisitions recorded yet.</p>
|
||||
<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>
|
||||
· {{ acquisition.date ?? "Undated" }} · {{ acquisition.method }} ·
|
||||
Cost ${{ (acquisition.costMinor / 100).toFixed(2) }} · Basis ${{ ((acquisition.costBasisMinor ?? 0) / 100).toFixed(2) }}
|
||||
|
||||
@@ -97,7 +97,7 @@ onMounted(load);
|
||||
<h2 id="sales-title">Sale history</h2>
|
||||
<p v-if="!sales.length" class="state state--empty">No sales recorded yet.</p>
|
||||
<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>
|
||||
· {{ sale.saleDate }} · {{ sale.status }} · Sold ${{ (sale.soldPriceMinor / 100).toFixed(2) }}
|
||||
· Profit ${{ (sale.profitMinor / 100).toFixed(2) }}
|
||||
|
||||
@@ -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 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 sales and acquisition history rows now expose explicit screen-reader labels with record identity, status/date, and financial context.
|
||||
|
||||
## Local Commands
|
||||
|
||||
|
||||
Reference in New Issue
Block a user