0
0
Fork 0

Mejoras en las correcciones de codigo

This commit is contained in:
carlosfonseca 2024-01-04 11:37:46 -05:00
parent fb7a3c208c
commit 6b3bed0085
2 changed files with 11 additions and 14 deletions

View File

@ -14,8 +14,8 @@ const { t } = useI18n();
</script>
<template>
<div class="card_balance">
<h6 class="title_balance">{{ t('Total') }}</h6>
<div class="card_balance q-px-md q-py-sm q-my-sm">
<h6 class="title_balance text-center">{{ t('Total') }}</h6>
<div class="row">
<p class="key_balance">{{ t('Balance due') }}:&ensp;</p>
<b class="value_balance">
@ -28,21 +28,18 @@ const { t } = useI18n();
<style lang="scss">
.card_balance {
border: 1px solid black;
margin: 7px;
padding: 5px 7px;
}
.title_balance {
color: white;
color: var(--vn-text);
margin-top: 0;
margin-bottom: 0;
text-align: center;
}
.key_balance {
color: grey;
color: var(--vn-label);
margin-bottom: 0;
}
.value_balance {
color: white;
color: var(--vn-text);
margin-bottom: 0;
}
</style>

View File

@ -49,9 +49,9 @@ const tableColumnComponents = {
},
isWorker: {
component: QCheckbox,
props: (prop) => ({
props: ({ value }) => ({
disable: true,
'model-value': Boolean(prop.value),
'model-value': Boolean(value),
}),
event: () => {},
},
@ -136,7 +136,7 @@ const columns = computed(() => {
},
{
align: 'left',
field: (row) => toCurrency(row.amount),
field: ({ amount }) => toCurrency(amount),
label: t('Balance D.'),
name: 'balance',
},
@ -154,19 +154,19 @@ const columns = computed(() => {
},
{
align: 'left',
field: (row) => toDate(row.created),
field: ({ created }) => toDate(created),
label: t('L. O. Date'),
name: 'date',
},
{
align: 'left',
field: (row) => toCurrency(row.creditInsurance),
field: ({ creditInsurance }) => toCurrency(creditInsurance),
label: t('Credit I.'),
name: 'credit',
},
{
align: 'left',
field: (row) => toDate(row.defaulterSinced),
field: ({ defaulterSinced }) => toDate(defaulterSinced),
label: t('From'),
name: 'from',
},