diff --git a/front/salix/components/user-configuration-popover/locale/es.yml b/front/salix/components/user-configuration-popover/locale/es.yml index 3961f69ad..19584a1a5 100644 --- a/front/salix/components/user-configuration-popover/locale/es.yml +++ b/front/salix/components/user-configuration-popover/locale/es.yml @@ -1,5 +1,5 @@ Local warehouse: Almacén local Local bank: Banco local -Local company: Compañia local +Local company: Empresa local User warehouse: Almacén del usuario -User company: Compañia del usuario \ No newline at end of file +User company: Empresa del usuario \ No newline at end of file diff --git a/modules/ticket/front/dms/create/index.js b/modules/ticket/front/dms/create/index.js index 4e22a8ba5..630c1149f 100644 --- a/modules/ticket/front/dms/create/index.js +++ b/modules/ticket/front/dms/create/index.js @@ -32,10 +32,12 @@ class Controller { }}; this.$http.get('/api/DmsTypes/findOne', {params}).then(res => { const dmsTypeId = res.data && res.data.id; + const companyId = window.localStorage.defaultCompanyFk; + const warehouseId = window.localStorage.defaultWarehouseFk; const defaultParams = { reference: this.ticket.id, - warehouseId: this.ticket.warehouseFk, - companyId: this.ticket.companyFk, + warehouseId: warehouseId, + companyId: companyId, dmsTypeId: dmsTypeId, description: this.$translate.instant('FileDescription', { ticketId: this.ticket.id,