Merge branch 'dev' into 7949-TicketModifications
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
This commit is contained in:
commit
e01e77cc58
|
@ -113,7 +113,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
sh 'find ./junit -type f -name "e2e-*" -delete || true'
|
sh 'rm junit/e2e-*.xml || true'
|
||||||
env.COMPOSE_TAG = PROTECTED_BRANCH.contains(env.CHANGE_TARGET) ? env.CHANGE_TARGET : 'dev'
|
env.COMPOSE_TAG = PROTECTED_BRANCH.contains(env.CHANGE_TARGET) ? env.CHANGE_TARGET : 'dev'
|
||||||
def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs')
|
def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs')
|
||||||
sh "docker-compose ${env.COMPOSE_PARAMS} up -d"
|
sh "docker-compose ${env.COMPOSE_PARAMS} up -d"
|
||||||
|
|
|
@ -694,8 +694,10 @@ worker:
|
||||||
machine: Machine
|
machine: Machine
|
||||||
business:
|
business:
|
||||||
tableVisibleColumns:
|
tableVisibleColumns:
|
||||||
|
id: ID
|
||||||
started: Start Date
|
started: Start Date
|
||||||
ended: End Date
|
ended: End Date
|
||||||
|
hourlyLabor: Time sheet
|
||||||
company: Company
|
company: Company
|
||||||
reasonEnd: Reason for Termination
|
reasonEnd: Reason for Termination
|
||||||
department: Department
|
department: Department
|
||||||
|
@ -703,6 +705,7 @@ worker:
|
||||||
calendarType: Work Calendar
|
calendarType: Work Calendar
|
||||||
workCenter: Work Center
|
workCenter: Work Center
|
||||||
payrollCategories: Contract Category
|
payrollCategories: Contract Category
|
||||||
|
workerBusinessAgreementName: Agreement
|
||||||
occupationCode: Contribution Code
|
occupationCode: Contribution Code
|
||||||
rate: Rate
|
rate: Rate
|
||||||
businessType: Contract Type
|
businessType: Contract Type
|
||||||
|
|
|
@ -770,8 +770,10 @@ worker:
|
||||||
concept: Concepto
|
concept: Concepto
|
||||||
business:
|
business:
|
||||||
tableVisibleColumns:
|
tableVisibleColumns:
|
||||||
|
id: Id
|
||||||
started: Fecha inicio
|
started: Fecha inicio
|
||||||
ended: Fecha fin
|
ended: Fecha fin
|
||||||
|
hourlyLabor: Ficha
|
||||||
company: Empresa
|
company: Empresa
|
||||||
reasonEnd: Motivo finalización
|
reasonEnd: Motivo finalización
|
||||||
department: Departamento
|
department: Departamento
|
||||||
|
@ -782,6 +784,7 @@ worker:
|
||||||
occupationCode: Cotización
|
occupationCode: Cotización
|
||||||
rate: Tarifa
|
rate: Tarifa
|
||||||
businessType: Contrato
|
businessType: Contrato
|
||||||
|
workerBusinessAgreementName: Convenio
|
||||||
amount: Salario
|
amount: Salario
|
||||||
basicSalary: Salario transportistas
|
basicSalary: Salario transportistas
|
||||||
notes: Notas
|
notes: Notas
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed, ref } from 'vue';
|
import { computed, ref, markRaw } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
|
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
|
||||||
import { toHour } from 'src/filters';
|
import { toHour } from 'src/filters';
|
||||||
|
@ -8,6 +8,7 @@ import RouteFilter from 'pages/Route/Card/RouteFilter.vue';
|
||||||
import VnTable from 'components/VnTable/VnTable.vue';
|
import VnTable from 'components/VnTable/VnTable.vue';
|
||||||
import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue';
|
import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue';
|
||||||
import VnSection from 'src/components/common/VnSection.vue';
|
import VnSection from 'src/components/common/VnSection.vue';
|
||||||
|
import VnSelectWorker from 'src/components/common/VnSelectWorker.vue';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const { viewSummary } = useSummaryDialog();
|
const { viewSummary } = useSummaryDialog();
|
||||||
|
@ -38,17 +39,7 @@ const columns = computed(() => [
|
||||||
align: 'left',
|
align: 'left',
|
||||||
name: 'workerFk',
|
name: 'workerFk',
|
||||||
label: t('route.Worker'),
|
label: t('route.Worker'),
|
||||||
component: 'select',
|
component: markRaw(VnSelectWorker),
|
||||||
attrs: {
|
|
||||||
url: 'Workers/activeWithInheritedRole',
|
|
||||||
fields: ['id', 'name'],
|
|
||||||
useLike: false,
|
|
||||||
optionFilter: 'firstName',
|
|
||||||
find: {
|
|
||||||
value: 'workerFk',
|
|
||||||
label: 'workerUserName',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
create: true,
|
create: true,
|
||||||
cardVisible: true,
|
cardVisible: true,
|
||||||
format: (row, dashIfEmpty) => dashIfEmpty(row.travelRef),
|
format: (row, dashIfEmpty) => dashIfEmpty(row.travelRef),
|
||||||
|
@ -59,6 +50,10 @@ const columns = computed(() => [
|
||||||
name: 'agencyName',
|
name: 'agencyName',
|
||||||
label: t('route.Agency'),
|
label: t('route.Agency'),
|
||||||
cardVisible: true,
|
cardVisible: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: t('route.Agency'),
|
||||||
|
name: 'agencyModeFk',
|
||||||
component: 'select',
|
component: 'select',
|
||||||
attrs: {
|
attrs: {
|
||||||
url: 'agencyModes',
|
url: 'agencyModes',
|
||||||
|
@ -69,14 +64,19 @@ const columns = computed(() => [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
create: true,
|
create: true,
|
||||||
columnClass: 'expand',
|
|
||||||
columnFilter: false,
|
columnFilter: false,
|
||||||
|
visible: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
name: 'vehiclePlateNumber',
|
name: 'vehiclePlateNumber',
|
||||||
label: t('route.Vehicle'),
|
label: t('route.Vehicle'),
|
||||||
cardVisible: true,
|
cardVisible: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'vehicleFk',
|
||||||
|
label: t('route.Vehicle'),
|
||||||
|
cardVisible: true,
|
||||||
component: 'select',
|
component: 'select',
|
||||||
attrs: {
|
attrs: {
|
||||||
url: 'vehicles',
|
url: 'vehicles',
|
||||||
|
@ -90,6 +90,7 @@ const columns = computed(() => [
|
||||||
},
|
},
|
||||||
create: true,
|
create: true,
|
||||||
columnFilter: false,
|
columnFilter: false,
|
||||||
|
visible: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
@ -156,6 +157,7 @@ const columns = computed(() => [
|
||||||
<VnTable
|
<VnTable
|
||||||
:data-key
|
:data-key
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
|
ref="tableRef"
|
||||||
:right-search="false"
|
:right-search="false"
|
||||||
redirect="route"
|
redirect="route"
|
||||||
:create="{
|
:create="{
|
||||||
|
|
|
@ -35,6 +35,22 @@ async function reactivateWorker() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const columns = computed(() => [
|
const columns = computed(() => [
|
||||||
|
{
|
||||||
|
name: 'id',
|
||||||
|
label: t('Id'),
|
||||||
|
align: 'left',
|
||||||
|
isId: true,
|
||||||
|
cardVisible: true,
|
||||||
|
width: '40px',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'isHourlyLabor',
|
||||||
|
label: t('worker.business.tableVisibleColumns.hourlyLabor'),
|
||||||
|
align: 'left',
|
||||||
|
component: 'checkbox',
|
||||||
|
cardVisible: true,
|
||||||
|
width: '60px',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'started',
|
name: 'started',
|
||||||
label: t('worker.business.tableVisibleColumns.started'),
|
label: t('worker.business.tableVisibleColumns.started'),
|
||||||
|
@ -194,6 +210,20 @@ const columns = computed(() => [
|
||||||
format: ({ workerBusinessTypeName }, dashIfEmpty) =>
|
format: ({ workerBusinessTypeName }, dashIfEmpty) =>
|
||||||
dashIfEmpty(workerBusinessTypeName),
|
dashIfEmpty(workerBusinessTypeName),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
align: 'left',
|
||||||
|
name: 'workerBusinessAgreementFk',
|
||||||
|
label: t('worker.business.tableVisibleColumns.workerBusinessAgreementName'),
|
||||||
|
component: 'select',
|
||||||
|
attrs: {
|
||||||
|
url: 'WorkerBusinessAgreements',
|
||||||
|
fields: ['id', 'name'],
|
||||||
|
},
|
||||||
|
cardVisible: true,
|
||||||
|
create: true,
|
||||||
|
format: ({ workerBusinessAgreementName }, dashIfEmpty) =>
|
||||||
|
dashIfEmpty(workerBusinessAgreementName),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: t('worker.business.tableVisibleColumns.amount'),
|
label: t('worker.business.tableVisibleColumns.amount'),
|
||||||
|
@ -230,7 +260,7 @@ const columns = computed(() => [
|
||||||
save-url="/Businesses/crud"
|
save-url="/Businesses/crud"
|
||||||
:create="{
|
:create="{
|
||||||
urlCreate: `Workers/${entityId}/Business`,
|
urlCreate: `Workers/${entityId}/Business`,
|
||||||
title: 'Create business',
|
title: t('Create business'),
|
||||||
onDataSaved: () => tableRef.reload(),
|
onDataSaved: () => tableRef.reload(),
|
||||||
formInitialData: {},
|
formInitialData: {},
|
||||||
}"
|
}"
|
||||||
|
@ -248,4 +278,5 @@ const columns = computed(() => [
|
||||||
<i18n>
|
<i18n>
|
||||||
es:
|
es:
|
||||||
Do you want to reactivate the user?: desea reactivar el usuario?
|
Do you want to reactivate the user?: desea reactivar el usuario?
|
||||||
|
Create business: Crear contrato
|
||||||
</i18n>
|
</i18n>
|
||||||
|
|
Loading…
Reference in New Issue