Skip to content

Commit

Permalink
Fix: Support to Next Action Date and Expiration Type (adempiere#824)
Browse files Browse the repository at this point in the history
  • Loading branch information
elsiosanchez committed Feb 2, 2023
1 parent c5d96e5 commit 5a90531
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/lang/ADempiere/en/form/issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ const issues = {
addNewCommentary: 'Add New Comment',
change: 'Change',
to: 'to',
emailTemplate: 'Email Template'
emailTemplate: 'Email Template',
nextActionDate: 'Next Action Date',
expirationType: 'Expiration Type'
}

export default issues
4 changes: 3 additions & 1 deletion src/lang/ADempiere/es/form/issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ const issues = {
addNewCommentary: 'Agregar Nuevo Comentario',
change: ' Cambio ',
to: ' a ',
emailTemplate: 'Plantilla de Correo'
emailTemplate: 'Plantilla de Correo',
nextActionDate: 'Fecha de Siguiente Acción',
expirationType: 'Tipo de Vencimiento'
}

export default issues
2 changes: 2 additions & 0 deletions src/store/modules/ADempiere/issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import {

// Utils and Helper Methods
import { isEmptyValue } from '@/utils/ADempiere/valueUtils'
import { formatDate } from '@/utils/ADempiere/formatValue/dateFormat'
// import { showMessage } from '@/utils/ADempiere/notification'

const initStateChatEntries = {
Expand Down Expand Up @@ -85,6 +86,7 @@ export default {
const list = records.map(issues => {
return {
...issues,
dateNextAction: formatDate({ value: issues.date_next_action }),
isEdit: false
}
})
Expand Down

0 comments on commit 5a90531

Please sign in to comment.