Merge branch 'dev' into 8620-createTestE2ERouteAutonomous
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
commit
b3680fb5df
|
@ -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
|
||||||
|
|
|
@ -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