Merge pull request '#7186 - tabIndexVATExpenses' (!277) from 7186-tabIndexVATExpenses into dev
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
Reviewed-on: #277 Reviewed-by: Javier Segarra <jsegarra@verdnatura.es>
This commit is contained in:
commit
81d0e397f0
|
@ -32,6 +32,13 @@ const invoiceInFormRef = ref();
|
||||||
const expensesRef = ref();
|
const expensesRef = ref();
|
||||||
const newExpenseRef = ref();
|
const newExpenseRef = ref();
|
||||||
|
|
||||||
|
defineProps({
|
||||||
|
actionIcon: {
|
||||||
|
type: String,
|
||||||
|
default: 'add',
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
const columns = computed(() => [
|
const columns = computed(() => [
|
||||||
{
|
{
|
||||||
name: 'expense',
|
name: 'expense',
|
||||||
|
@ -207,17 +214,16 @@ async function addExpense() {
|
||||||
@click.stop="value = null"
|
@click.stop="value = null"
|
||||||
class="cursor-pointer"
|
class="cursor-pointer"
|
||||||
/>
|
/>
|
||||||
<QBtn
|
<QIcon
|
||||||
padding="xs"
|
@click.stop.prevent="newExpenseRef.show()"
|
||||||
round
|
:name="actionIcon"
|
||||||
flat
|
size="xs"
|
||||||
icon="add_circle"
|
class="default-icon"
|
||||||
@click.stop="newExpenseRef.show()"
|
|
||||||
>
|
>
|
||||||
<QTooltip>
|
<QTooltip>
|
||||||
{{ t('Create expense') }}
|
{{ t('Create expense') }}
|
||||||
</QTooltip>
|
</QTooltip>
|
||||||
</QBtn>
|
</QIcon>
|
||||||
</template>
|
</template>
|
||||||
</VnSelectFilter>
|
</VnSelectFilter>
|
||||||
</QTd>
|
</QTd>
|
||||||
|
@ -470,6 +476,11 @@ async function addExpense() {
|
||||||
.q-item {
|
.q-item {
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
.default-icon {
|
||||||
|
cursor: pointer;
|
||||||
|
border-radius: 50px;
|
||||||
|
background-color: $primary;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<i18n>
|
<i18n>
|
||||||
es:
|
es:
|
||||||
|
|
Loading…
Reference in New Issue