This commit is contained in:
2022-10-28 23:19:32 +00:00
parent 8b52cd43e2
commit fdea5e3e4b
2 changed files with 8 additions and 2 deletions

View File

@@ -17,11 +17,12 @@
<v-list-item
v-for="item in reportList"
:key="item.id"
class="my-n3"
@click="renderReport(item.id, item.name)"
>
<v-list-item-title>{{ item.name }}</v-list-item-title>
<v-list-item-action class="d-none d-sm-flex">
<v-btn icon @click.stop="editReport(item.id)">
<v-btn x-small icon @click.stop="editReport(item.id)">
<v-icon color="primary">$ayiEdit</v-icon>
</v-btn>
</v-list-item-action>

View File

@@ -4,7 +4,7 @@
<div v-if="formState.ready">
<gz-error :error-box-message="formState.errorBoxMessage"></gz-error>
<v-form ref="form">
<v-row>
<v-row dense>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
ref="name"
@@ -28,6 +28,7 @@
<v-text-field
ref="accountNumber"
v-model="obj.accountNumber"
dense
:readonly="formState.readOnly"
:label="$ay.t('RateAccountNumber')"
data-cy="accountNumber"
@@ -78,6 +79,7 @@
<v-combobox
ref="unit"
v-model="obj.unit"
dense
:readonly="formState.readOnly"
:label="$ay.t('RateUnitChargeDescriptionID')"
data-cy="unit"
@@ -98,6 +100,7 @@
<v-checkbox
ref="contractOnly"
v-model="obj.contractOnly"
dense
:readonly="formState.readOnly"
:label="$ay.t('RateContractRate')"
data-cy="contractOnly"
@@ -110,6 +113,7 @@
<v-checkbox
ref="active"
v-model="obj.active"
dense
:readonly="formState.readOnly"
:label="$ay.t('Active')"
data-cy="active"
@@ -122,6 +126,7 @@
<v-textarea
ref="notes"
v-model="obj.notes"
dense
:readonly="formState.readOnly"
:label="$ay.t('ServiceRateNotes')"
:error-messages="form().serverErrors(this, 'notes')"