diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index f8850d396..fbab06966 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -849,6 +849,7 @@ worker: calendar: Calendar timeControl: Time control locker: Locker + balance: Balance formation: Formation list: name: Name @@ -930,6 +931,13 @@ worker: remark: Bonficado hasDiploma: Diploma imageNotFound: Image not found + balance: + tableVisibleColumns: + paymentDate: Date + incomeType: Type + debit: Debt + credit: Have + concept: Concept wagon: pageTitles: wagons: Wagons diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index e5924f93b..fec78d5e6 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -845,6 +845,7 @@ worker: calendar: Calendario timeControl: Control de horario locker: Taquilla + balance: Balance formation: FormaciĆ³n list: name: Nombre @@ -917,6 +918,13 @@ worker: remark: Bonficado hasDiploma: Diploma imageNotFound: No se ha encontrado la imagen + balance: + tableVisibleColumns: + paymentDate: Fecha + incomeType: Tipo + debit: Debe + credit: Haber + concept: Concepto wagon: pageTitles: wagons: Vagones diff --git a/src/pages/Worker/Card/WorkerBalance.vue b/src/pages/Worker/Card/WorkerBalance.vue new file mode 100644 index 000000000..ad18d61e0 --- /dev/null +++ b/src/pages/Worker/Card/WorkerBalance.vue @@ -0,0 +1,91 @@ + + + + + + es: + Create workerBalance: Crear balance + diff --git a/src/pages/Worker/Card/WorkerFormation.vue b/src/pages/Worker/Card/WorkerFormation.vue index 52b22a295..0ac97d9ef 100644 --- a/src/pages/Worker/Card/WorkerFormation.vue +++ b/src/pages/Worker/Card/WorkerFormation.vue @@ -35,6 +35,7 @@ const columns = computed(() => [ url: 'TrainingCourseTypes', fields: ['id', 'name'], }, + cardVisible: true, }, { align: 'left', @@ -52,6 +53,7 @@ const columns = computed(() => [ component: 'date', field: 'ended', create: true, + cardVisible: true, }, { align: 'left', @@ -63,6 +65,7 @@ const columns = computed(() => [ url: 'TrainingCenters', fields: ['id', 'name'], }, + cardVisible: true, }, { align: 'left', @@ -78,6 +81,7 @@ const columns = computed(() => [ component: 'input', field: 'amount', create: true, + cardVisible: true, }, { align: 'left', diff --git a/src/router/modules/customer.js b/src/router/modules/customer.js index 3aece0dfe..9e3b39479 100644 --- a/src/router/modules/customer.js +++ b/src/router/modules/customer.js @@ -274,7 +274,7 @@ export default { name: 'CustomerBalance', meta: { title: 'balance', - icon: 'vn:invoice', + icon: 'balance', }, component: () => import('src/pages/Customer/Card/CustomerBalance.vue'), diff --git a/src/router/modules/worker.js b/src/router/modules/worker.js index 8417e9027..3fc71c2a3 100644 --- a/src/router/modules/worker.js +++ b/src/router/modules/worker.js @@ -23,6 +23,7 @@ export default { 'WorkerDms', 'WorkerTimeControl', 'WorkerLocker', + 'WorkerBalance', 'WorkerFormation', ], }, @@ -177,6 +178,15 @@ export default { }, component: () => import('src/pages/Worker/Card/WorkerLocker.vue'), }, + { + name: 'WorkerBalance', + path: 'balance', + meta: { + title: 'balance', + icon: 'balance', + }, + component: () => import('src/pages/Worker/Card/WorkerBalance.vue'), + }, { name: 'WorkerFormation', path: 'formation',