forked from mirrors/homebox
fix: consistency changes to item pages (#82)
Changes to the item index.vue and edit.vue pages to resolve spelling differences between the two
This commit is contained in:
parent
5adb8fbad7
commit
50bd2ab86e
2 changed files with 6 additions and 6 deletions
|
@ -118,12 +118,12 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "text",
|
type: "text",
|
||||||
label: "Purchased Price",
|
label: "Purchase Price",
|
||||||
ref: "purchasePrice",
|
ref: "purchasePrice",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "date",
|
type: "date",
|
||||||
label: "Purchased At",
|
label: "Purchase Date",
|
||||||
ref: "purchaseTime",
|
ref: "purchaseTime",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
@ -183,7 +183,7 @@
|
||||||
const purchaseDetails = computed<Array<Detail | DateDetail>>(() => {
|
const purchaseDetails = computed<Array<Detail | DateDetail>>(() => {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
name: "Purchase From",
|
name: "Purchased From",
|
||||||
text: item.value?.purchaseFrom || "",
|
text: item.value?.purchaseFrom || "",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -325,17 +325,17 @@
|
||||||
</BaseCard>
|
</BaseCard>
|
||||||
|
|
||||||
<BaseCard v-if="showPurchase">
|
<BaseCard v-if="showPurchase">
|
||||||
<template #title> Purchase </template>
|
<template #title> Purchase Details </template>
|
||||||
<DetailsSection :details="purchaseDetails" />
|
<DetailsSection :details="purchaseDetails" />
|
||||||
</BaseCard>
|
</BaseCard>
|
||||||
|
|
||||||
<BaseCard v-if="showWarranty">
|
<BaseCard v-if="showWarranty">
|
||||||
<template #title> Warranty </template>
|
<template #title> Warranty Details </template>
|
||||||
<DetailsSection :details="warrantyDetails" />
|
<DetailsSection :details="warrantyDetails" />
|
||||||
</BaseCard>
|
</BaseCard>
|
||||||
|
|
||||||
<BaseCard v-if="showSold">
|
<BaseCard v-if="showSold">
|
||||||
<template #title> Sold </template>
|
<template #title> Sold Details </template>
|
||||||
<DetailsSection :details="soldDetails" />
|
<DetailsSection :details="soldDetails" />
|
||||||
</BaseCard>
|
</BaseCard>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue