Fix translations.

This commit is contained in:
HenriT
2021-04-23 16:45:22 +03:00
parent 2b0b41072f
commit 8b2fe89afa
2 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,9 @@
{ {
"draft": "draft", "statuses": {
"booked": "booked", "draft": "draft",
"sent": "sent", "booked": "booked",
"paid": "paid", "sent": "sent",
"cancelled": "cancelled" "paid": "paid",
"cancelled": "cancelled"
}
} }

View File

@ -10,7 +10,7 @@
<AppSelect :value="getStatusObj" <AppSelect :value="getStatusObj"
class="mb-0 mr-2 text-capitalize multiselect--capitalize" class="mb-0 mr-2 text-capitalize multiselect--capitalize"
:options="invoiceStatuses" :options="invoiceStatuses"
label-field="value" label-field="name"
@input="updateProp({status: $event.value})"/> @input="updateProp({status: $event.value})"/>
<button class="btn btn-outline-dark" <button class="btn btn-outline-dark"
v-if="invoice.status === 'draft'" v-if="invoice.status === 'draft'"