0
0
Fork 0

refactor: refs #7132 global translations files changed

This commit is contained in:
Jon Elias 2024-10-21 12:56:09 +02:00
parent 89cb9aacec
commit e5cd9d4b8f
63 changed files with 322 additions and 825 deletions

View File

@ -50,25 +50,25 @@ const loading = ref(false);
const tableColumns = computed(() => [ const tableColumns = computed(() => [
{ {
label: t('entry.buys.id'), label: t('globals.id'),
name: 'id', name: 'id',
field: 'id', field: 'id',
align: 'left', align: 'left',
}, },
{ {
label: t('entry.buys.name'), label: t('globals.name'),
name: 'name', name: 'name',
field: 'name', field: 'name',
align: 'left', align: 'left',
}, },
{ {
label: t('entry.buys.size'), label: t('globals.size'),
name: 'size', name: 'size',
field: 'size', field: 'size',
align: 'left', align: 'left',
}, },
{ {
label: t('entry.buys.producer'), label: t('globals.producer'),
name: 'producerName', name: 'producerName',
field: 'producer', field: 'producer',
align: 'left', align: 'left',
@ -152,10 +152,10 @@ const selectItem = ({ id }) => {
</span> </span>
<h1 class="title">{{ t('Filter item') }}</h1> <h1 class="title">{{ t('Filter item') }}</h1>
<VnRow> <VnRow>
<VnInput :label="t('entry.buys.name')" v-model="itemFilterParams.name" /> <VnInput :label="t('globals.name')" v-model="itemFilterParams.name" />
<VnInput :label="t('entry.buys.size')" v-model="itemFilterParams.size" /> <VnInput :label="t('entry.buys.size')" v-model="itemFilterParams.size" />
<VnSelect <VnSelect
:label="t('entry.buys.producer')" :label="t('globals.producer')"
:options="producersOptions" :options="producersOptions"
hide-selected hide-selected
option-label="name" option-label="name"
@ -163,7 +163,7 @@ const selectItem = ({ id }) => {
v-model="itemFilterParams.producerFk" v-model="itemFilterParams.producerFk"
/> />
<VnSelect <VnSelect
:label="t('entry.buys.type')" :label="t('globals.type')"
:options="ItemTypesOptions" :options="ItemTypesOptions"
hide-selected hide-selected
option-label="name" option-label="name"

View File

@ -48,13 +48,13 @@ const loading = ref(false);
const tableColumns = computed(() => [ const tableColumns = computed(() => [
{ {
label: t('entry.basicData.id'), label: t('globals.id'),
name: 'id', name: 'id',
field: 'id', field: 'id',
align: 'left', align: 'left',
}, },
{ {
label: t('entry.basicData.warehouseOut'), label: t('globals.warehouseOut'),
name: 'warehouseOutFk', name: 'warehouseOutFk',
field: 'warehouseOutFk', field: 'warehouseOutFk',
align: 'left', align: 'left',
@ -62,7 +62,7 @@ const tableColumns = computed(() => [
warehousesOptions.value.find((warehouse) => warehouse.id === val).name, warehousesOptions.value.find((warehouse) => warehouse.id === val).name,
}, },
{ {
label: t('entry.basicData.warehouseIn'), label: t('globals.warehouseIn'),
name: 'warehouseInFk', name: 'warehouseInFk',
field: 'warehouseInFk', field: 'warehouseInFk',
align: 'left', align: 'left',
@ -77,7 +77,7 @@ const tableColumns = computed(() => [
format: (val) => toDate(val), format: (val) => toDate(val),
}, },
{ {
label: t('entry.basicData.landed'), label: t('globals.landed'),
name: 'landed', name: 'landed',
field: 'landed', field: 'landed',
align: 'left', align: 'left',
@ -146,7 +146,7 @@ const selectTravel = ({ id }) => {
<h1 class="title">{{ t('Filter travels') }}</h1> <h1 class="title">{{ t('Filter travels') }}</h1>
<VnRow> <VnRow>
<VnSelect <VnSelect
:label="t('entry.basicData.agency')" :label="t('globals.agency')"
:options="agenciesOptions" :options="agenciesOptions"
hide-selected hide-selected
option-label="name" option-label="name"
@ -154,7 +154,7 @@ const selectTravel = ({ id }) => {
v-model="travelFilterParams.agencyModeFk" v-model="travelFilterParams.agencyModeFk"
/> />
<VnSelect <VnSelect
:label="t('entry.basicData.warehouseOut')" :label="t('globals.warehouseOut')"
:options="warehousesOptions" :options="warehousesOptions"
hide-selected hide-selected
option-label="name" option-label="name"
@ -162,7 +162,7 @@ const selectTravel = ({ id }) => {
v-model="travelFilterParams.warehouseOutFk" v-model="travelFilterParams.warehouseOutFk"
/> />
<VnSelect <VnSelect
:label="t('entry.basicData.warehouseIn')" :label="t('globals.warehouseIn')"
:options="warehousesOptions" :options="warehousesOptions"
hide-selected hide-selected
option-label="name" option-label="name"
@ -174,7 +174,7 @@ const selectTravel = ({ id }) => {
v-model="travelFilterParams.shipped" v-model="travelFilterParams.shipped"
/> />
<VnInputDate <VnInputDate
:label="t('entry.basicData.landed')" :label="t('globals.landed')"
v-model="travelFilterParams.landed" v-model="travelFilterParams.landed"
/> />
</VnRow> </VnRow>

View File

@ -248,7 +248,7 @@ const removeTag = (index, params, search) => {
> >
<QItemSection class="col"> <QItemSection class="col">
<VnSelect <VnSelect
:label="t('components.itemsFilterPanel.tag')" :label="t('globals.tag')"
v-model="value.selectedTag" v-model="value.selectedTag"
:options="tagOptions" :options="tagOptions"
option-label="name" option-label="name"

View File

@ -59,7 +59,7 @@ globals:
downloadCSVSuccess: CSV downloaded successfully downloadCSVSuccess: CSV downloaded successfully
reference: Reference reference: Reference
agency: Agency agency: Agency
wareHouseOut: Warehouse Out warehouseOut: Warehouse Out
wareHouseIn: Warehouse In wareHouseIn: Warehouse In
landed: Landed landed: Landed
shipped: Shipped shipped: Shipped
@ -106,6 +106,26 @@ globals:
weight: Weight weight: Weight
error: Ups! Something went wrong error: Ups! Something went wrong
recalc: Recalculate recalc: Recalculate
alias: Alias
vat: VAT
intrastat: Intrastat
tags: Tags
size: Size
producer: Producer
origin: Origin
state: State
subtotal: Subtotal
visible: Visible
price: Price
client: Client
country: Country
phone: Phone
mobile: Mobile
postcode: Postcode
street: Street
tag: Tag
ticketId: Ticket ID
confirmed: Confirmed
pageTitles: pageTitles:
logIn: Login logIn: Login
addressEdit: Update address addressEdit: Update address
@ -295,7 +315,6 @@ globals:
maxTemperature: Max maxTemperature: Max
minTemperature: Min minTemperature: Min
params: params:
id: ID
clientFk: Client id clientFk: Client id
salesPersonFk: Sales person salesPersonFk: Sales person
warehouseFk: Warehouse warehouseFk: Warehouse
@ -346,14 +365,7 @@ resetPassword:
entry: entry:
list: list:
newEntry: New entry newEntry: New entry
landed: Landed
invoiceNumber: Invoice number
supplier: Supplier
booked: Booked
confirmed: Confirmed
ordered: Ordered
tableVisibleColumns: tableVisibleColumns:
id: Id
created: Creation created: Creation
supplierFk: Supplier supplierFk: Supplier
isBooked: Booked isBooked: Booked
@ -362,25 +374,20 @@ entry:
companyFk: Company companyFk: Company
travelFk: Travel travelFk: Travel
isExcludedFromAvailable: Inventory isExcludedFromAvailable: Inventory
isRaid: Raid
invoiceAmount: Import invoiceAmount: Import
summary: summary:
commission: Commission commission: Commission
currency: Currency currency: Currency
company: Company
invoiceNumber: Invoice number invoiceNumber: Invoice number
ordered: Ordered ordered: Ordered
confirmed: Confirmed
booked: Booked booked: Booked
raid: Raid raid: Raid
excludedFromAvailable: Inventory excludedFromAvailable: Inventory
travelReference: Reference travelReference: Reference
travelAgency: Agency travelAgency: Agency
travelShipped: Shipped travelShipped: Shipped
travelWarehouseOut: Warehouse Out
travelDelivered: Delivered travelDelivered: Delivered
travelLanded: Landed travelLanded: Landed
travelWarehouseIn: Warehouse In
travelReceived: Received travelReceived: Received
buys: Buys buys: Buys
stickers: Stickers stickers: Stickers
@ -390,63 +397,29 @@ entry:
buyingValue: Buying value buyingValue: Buying value
import: Import import: Import
pvp: PVP pvp: PVP
item: Item
basicData: basicData:
supplier: Supplier
travel: Travel travel: Travel
invoiceNumber: Invoice number
company: Company
currency: Currency currency: Currency
commission: Commission commission: Commission
observation: Observation observation: Observation
ordered: Ordered
confirmed: Confirmed
booked: Booked booked: Booked
raid: Raid raid: Raid
excludedFromAvailable: Inventory excludedFromAvailable: Inventory
agency: Agency
warehouseOut: Warehouse Out
warehouseIn: Warehouse In
landed: Landed
id: ID
buys: buys:
groupingPrice: Grouping price
packingPrice: Packing price
observations: Observations observations: Observations
item: Item
size: Size
packing: Packing
grouping: Grouping
buyingValue: Buying value
packagingFk: Box packagingFk: Box
name: Name
producer: Producer
type: Type
color: Color color: Color
id: ID
printedStickers: Printed stickers printedStickers: Printed stickers
notes: notes:
observationType: Observation type observationType: Observation type
descriptor:
agency: Agency
landed: Landed
warehouseOut: Warehouse Out
latestBuys: latestBuys:
tableVisibleColumns: tableVisibleColumns:
image: Picture image: Picture
itemFk: Item ID itemFk: Item ID
packing: Packing
grouping: Grouping
size: Size
tags: Tags
type: Type
intrastat: Intrastat
origin: Origin
weightByPiece: Weight/Piece weightByPiece: Weight/Piece
isActive: Active isActive: Active
family: Family family: Family
entryFk: Entry entryFk: Entry
buyingValue: Buying value
freightValue: Freight value freightValue: Freight value
comissionValue: Commission value comissionValue: Commission value
packageValue: Package value packageValue: Package value
@ -455,7 +428,6 @@ entry:
price3: Packing price3: Packing
minPrice: Min minPrice: Min
ektFk: Ekt ektFk: Ekt
packagingFk: Package
packingOut: Package out packingOut: Package out
landing: Landing landing: Landing
isExcludedFromAvailable: Es inventory isExcludedFromAvailable: Es inventory
@ -471,60 +443,38 @@ ticket:
futureTickets: Future tickets futureTickets: Future tickets
purchaseRequest: Purchase request purchaseRequest: Purchase request
weeklyTickets: Weekly tickets weeklyTickets: Weekly tickets
list:
nickname: Nickname
state: State
landed: Landed
total: Total
card: card:
ticketId: Ticket ID
state: State
customerId: Customer ID customerId: Customer ID
agency: Agency
warehouse: Warehouse
customerCard: Customer card customerCard: Customer card
alias: Alias
ticketList: Ticket List ticketList: Ticket List
newOrder: New Order newOrder: New Order
boxing: boxing:
expedition: Expedition expedition: Expedition
item: Item
created: Created created: Created
worker: Worker
selectTime: 'Select time:' selectTime: 'Select time:'
selectVideo: 'Select video:' selectVideo: 'Select video:'
notFound: No videos available notFound: No videos available
summary: summary:
state: State
agency: Agency
zone: Zone zone: Zone
warehouse: Warehouse
collection: Collection collection: Collection
route: Route route: Route
invoice: Invoice invoice: Invoice
shipped: Shipped shipped: Shipped
landed: Landed
consigneePhone: Consignee phone consigneePhone: Consignee phone
consigneeMobile: Consignee mobile consigneeMobile: Consignee mobile
consigneeAddress: Consignee address consigneeAddress: Consignee address
clientPhone: Client phone clientPhone: Client phone
clientMobile: Client mobile clientMobile: Client mobile
consignee: Consignee consignee: Consignee
subtotal: Subtotal
vat: VAT
total: Total total: Total
saleLines: Line items saleLines: Line items
item: Item
visible: Visible
available: Available available: Available
price: Price
discount: Discount discount: Discount
packing: Packing packing: Packing
hasComponentLack: Component lack hasComponentLack: Component lack
itemShortage: Not visible itemShortage: Not visible
claim: Claim claim: Claim
reserved: Reserved reserved: Reserved
created: Created
package: Package package: Package
taxClass: Tax class taxClass: Tax class
services: Services services: Services
@ -539,41 +489,20 @@ ticket:
attender: Attender attender: Attender
ok: Ok ok: Ok
create: create:
client: Client
address: Address address: Address
landed: Landed
warehouse: Warehouse
agency: Agency
invoiceOut: invoiceOut:
list:
ref: Reference
issued: Issued
shortIssued: Issued
client: Client
created: Created
shortCreated: Created
company: Company
dued: Due date
shortDued: Due date
card: card:
issued: Issued issued: Issued
client: Client
company: Company
customerCard: Customer card customerCard: Customer card
summary: summary:
issued: Issued issued: Issued
created: Created
dued: Due dued: Due
booked: Booked booked: Booked
company: Company
taxBreakdown: Tax breakdown taxBreakdown: Tax breakdown
type: Type
taxableBase: Taxable base taxableBase: Taxable base
rate: Rate rate: Rate
fee: Fee fee: Fee
tickets: Tickets tickets: Tickets
ticketId: Ticket id
nickname: Alias
totalWithVat: Amount totalWithVat: Amount
globalInvoices: globalInvoices:
errors: errors:
@ -587,19 +516,14 @@ invoiceOut:
noTicketsToInvoice: There are not tickets to invoice noTicketsToInvoice: There are not tickets to invoice
criticalInvoiceError: 'Critical invoicing error, process stopped' criticalInvoiceError: 'Critical invoicing error, process stopped'
table: table:
client: Client
addressId: Address id addressId: Address id
streetAddress: Street streetAddress: Street
statusCard: statusCard:
percentageText: '{getPercentage}% {getAddressNumber} of {getNAddresses}' percentageText: '{getPercentage}% {getAddressNumber} of {getNAddresses}'
pdfsNumberText: '{nPdfs} of {totalPdfs} PDFs' pdfsNumberText: '{nPdfs} of {totalPdfs} PDFs'
negativeBases: negativeBases:
company: Company
country: Country
clientId: Client Id clientId: Client Id
client: Client
base: Base base: Base
ticketId: Ticket Id
active: Active active: Active
hasToInvoice: Has to Invoice hasToInvoice: Has to Invoice
verifiedData: Verified Data verifiedData: Verified Data
@ -612,13 +536,6 @@ shelving:
priority: Priority priority: Priority
newShelving: New Shelving newShelving: New Shelving
summary: summary:
parking: Parking
priority: Priority
worker: Worker
recyclable: Recyclable
basicData:
parking: Parking
priority: Priority
recyclable: Recyclable recyclable: Recyclable
parking: parking:
pickingOrder: Picking order pickingOrder: Picking order
@ -633,49 +550,28 @@ parking:
order: order:
field: field:
salesPersonFk: Sales Person salesPersonFk: Sales Person
clientFk: Client
isConfirmed: Confirmed
created: Created
landed: Landed
hour: Hour
agency: Agency
total: Total
form: form:
clientFk: Client clientFk: Client
addressFk: Address addressFk: Address
landed: Landed
agencyModeFk: Agency agencyModeFk: Agency
list: list:
newOrder: New Order newOrder: New Order
summary: summary:
basket: Basket basket: Basket
nickname: Nickname
company: Company
confirmed: Confirmed
notConfirmed: Not confirmed notConfirmed: Not confirmed
created: Created created: Created
landed: Landed
phone: Phone
createdFrom: Created From createdFrom: Created From
address: Address address: Address
subtotal: Subtotal
total: Total total: Total
vat: VAT
state: State
alias: Alias
items: Items items: Items
orderTicketList: Order Ticket List orderTicketList: Order Ticket List
item: Item
price: Price
amount: Amount amount: Amount
department: department:
pageTitles: pageTitles:
department: Department department: Department
summary: Summary summary: Summary
name: Name
chat: Chat chat: Chat
bossDepartment: Boss Department bossDepartment: Boss Department
email: Email
selfConsumptionCustomer: Self-consumption customer selfConsumptionCustomer: Self-consumption customer
telework: Telework telework: Telework
notifyOnErrors: Notify on errors notifyOnErrors: Notify on errors
@ -699,23 +595,9 @@ worker:
locker: Locker locker: Locker
medical: Medical medical: Medical
list: list:
name: Name
email: Email
phone: Phone
mobile: Mobile
active: Active
department: Department department: Department
schedule: Schedule schedule: Schedule
newWorker: New worker newWorker: New worker
card:
workerId: Worker ID
name: Name
email: Email
phone: Phone
mobile: Mobile
active: Active
warehouse: Warehouse
agency: Agency
summary: summary:
boss: Boss boss: Boss
phoneExtension: Phone extension phoneExtension: Phone extension
@ -748,19 +630,12 @@ worker:
serialNumber: Serial number serialNumber: Serial number
removePDA: Deallocate PDA removePDA: Deallocate PDA
create: create:
name: Name
lastName: Last name lastName: Last name
birth: Birth birth: Birth
fi: Fi fi: Fi
code: Worker code code: Worker code
phone: Phone
postcode: Postcode
province: Province
city: City
street: Street
webUser: Web user webUser: Web user
personalEmail: Personal email personalEmail: Personal email
company: Company
boss: Boss boss: Boss
payMethods: Pay method payMethods: Pay method
iban: IBAN iban: IBAN
@ -801,7 +676,6 @@ wagon:
wagonCounter: Trolley counter wagonCounter: Trolley counter
wagonTray: Tray List wagonTray: Tray List
type: type:
name: Name
submit: Submit submit: Submit
reset: Reset reset: Reset
trayColor: Tray color trayColor: Tray color
@ -809,12 +683,10 @@ wagon:
list: list:
plate: Plate plate: Plate
volume: Volume volume: Volume
type: Type
remove: Remove remove: Remove
removeItem: Wagon removed successfully removeItem: Wagon removed successfully
create: create:
plate: Plate plate: Plate
type: Type
label: Label label: Label
warnings: warnings:
noData: No data available noData: No data available
@ -831,25 +703,17 @@ wagon:
supplier: supplier:
list: list:
payMethod: Pay method payMethod: Pay method
payDeadline: Pay deadline
payDay: Pay day
account: Account account: Account
newSupplier: New supplier newSupplier: New supplier
tableVisibleColumns: tableVisibleColumns:
id: Id
name: Name
nif: NIF/CIF nif: NIF/CIF
nickname: Alias
account: Account account: Account
payMethod: Pay Method
payDay: Pay Day payDay: Pay Day
country: Country
summary: summary:
responsible: Responsible responsible: Responsible
verified: Verified verified: Verified
isActive: Is active isActive: Is active
billingData: Billing data billingData: Billing data
payMethod: Pay method
payDeadline: Pay deadline payDeadline: Pay deadline
payDay: Pay day payDay: Pay day
account: Account account: Account
@ -862,15 +726,10 @@ supplier:
fiscalAddress: Fiscal address fiscalAddress: Fiscal address
socialName: Social name socialName: Social name
taxNumber: Tax number taxNumber: Tax number
street: Street
city: City city: City
postCode: Postcode
province: Province
country: Country
create: create:
supplierName: Supplier name supplierName: Supplier name
basicData: basicData:
alias: Alias
workerFk: Responsible workerFk: Responsible
isSerious: Verified isSerious: Verified
isActive: Active isActive: Active
@ -884,36 +743,18 @@ supplier:
sageWithholdingFk: Sage withholding sageWithholdingFk: Sage withholding
sageTransactionTypeFk: Sage transaction type sageTransactionTypeFk: Sage transaction type
supplierActivityFk: Supplier activity supplierActivityFk: Supplier activity
healthRegister: Health register
street: Street
postcode: Postcode
city: City *
provinceFk: Province
country: Country
isTrucker: Trucker isTrucker: Trucker
isVies: Vies isVies: Vies
billingData: billingData:
payMethodFk: Billing data payMethodFk: Billing data
payDemFk: Payment deadline payDemFk: Payment deadline
payDay: Pay day
accounts: accounts:
iban: Iban iban: Iban
bankEntity: Bank entity bankEntity: Bank entity
beneficiary: Beneficiary beneficiary: Beneficiary
contacts: contacts:
name: Name
phone: Phone
mobile: Mobile
email: Email email: Email
observation: Notes observation: Notes
addresses:
street: Street
postcode: Postcode
phone: Phone
name: Name
city: City
province: Province
mobile: Mobile
agencyTerms: agencyTerms:
agencyFk: Agency agencyFk: Agency
minimumM3: Minimum M3 minimumM3: Minimum M3
@ -928,19 +769,13 @@ supplier:
travel: travel:
travelList: travelList:
tableVisibleColumns: tableVisibleColumns:
id: Id
ref: Reference ref: Reference
agency: Agency
landed: Landed
shipHour: Shipment Hour shipHour: Shipment Hour
landHour: Landing Hour landHour: Landing Hour
warehouseIn: Warehouse in
warehouseOut: Warehouse out
totalEntries: Total entries totalEntries: Total entries
totalEntriesTooltip: Total entries totalEntriesTooltip: Total entries
daysOnward: Landed days onwards daysOnward: Landed days onwards
summary: summary:
confirmed: Confirmed
entryId: Entry Id entryId: Entry Id
freight: Freight freight: Freight
package: Package package: Package
@ -953,59 +788,28 @@ travel:
AddEntry: Add entry AddEntry: Add entry
thermographs: Thermographs thermographs: Thermographs
hb: HB hb: HB
variables:
search: Id/Reference
agencyModeFk: Agency
warehouseInFk: ' Warehouse In'
warehouseOutFk: Warehouse Out
landedFrom: Landed from
landedTo: Landed to
continent: Continent out
basicData:
agency: Agency
landed: Landed
warehouseOut: Warehouse Out
warehouseIn: Warehouse In
delivered: Delivered
received: Received
thermographs: thermographs:
temperature: Temperature temperature: Temperature
state: State
destination: Destination destination: Destination
created: Created
thermograph: Thermograph thermograph: Thermograph
type: Type
company: Company
warehouse: Warehouse
travelFileDescription: 'Travel id { travelId }' travelFileDescription: 'Travel id { travelId }'
item: item:
descriptor: descriptor:
item: Item
buyer: Buyer buyer: Buyer
color: Color color: Color
category: Category category: Category
stems: Stems
visible: Visible
available: Available available: Available
warehouseText: 'Calculated on the warehouse of { warehouseName }' warehouseText: 'Calculated on the warehouse of { warehouseName }'
itemDiary: Item diary itemDiary: Item diary
producer: Producer
list: list:
id: Identifier id: Identifier
grouping: Grouping
packing: Packing
stems: Stems stems: Stems
category: Category category: Category
typeName: Type typeName: Type
intrastat: Intrastat
isActive: Active isActive: Active
size: Size
origin: Origin
userName: Buyer userName: Buyer
weightByPiece: Weight/Piece weightByPiece: Weight/Piece
stemMultiplier: Multiplier stemMultiplier: Multiplier
producer: Producer
landed: Landed
fixedPrice: fixedPrice:
itemFk: Item ID itemFk: Item ID
groupingPrice: Grouping price groupingPrice: Grouping price
@ -1014,71 +818,52 @@ item:
minPrice: Min price minPrice: Min price
started: Started started: Started
ended: Ended ended: Ended
warehouse: Warehouse
create: create:
name: Name
tag: Tag
priority: Priority priority: Priority
type: Type
intrastat: Intrastat
origin: Origin
buyRequest: buyRequest:
ticketId: 'Ticket ID' requester: Requester
requester: 'Requester' requested: Requested
requested: 'Requested' attender: Atender
price: 'Price' achieved: Achieved
attender: 'Atender' concept: Concept
item: 'Item'
achieved: 'Achieved'
concept: 'Concept'
state: 'State'
summary: summary:
otherData: 'Other data' otherData: Other data
tax: 'Tax' tax: Tax
tags: 'Tags' botanical: Botanical
botanical: 'Botanical' barcode: Barcode
barcode: 'Barcode' completeName: Complete name
name: 'Nombre' family: Familiy
completeName: 'Nombre completo' stems: Stems
family: 'Familia' multiplier: Multiplier
size: 'Medida' buyer: Buyer
origin: 'Origen' doPhoto: Do photo
stems: 'Tallos' intrastatCode: Intrastat code
multiplier: 'Multiplicador' ref: Reference
buyer: 'Comprador' relevance: Relevance
doPhoto: 'Do photo' weight: Weight (gram)/stem
intrastatCode: 'Código intrastat' units: Units/box
intrastat: 'Intrastat' expense: Expense
ref: 'Referencia' generic: Generic
relevance: 'Relevancia' recycledPlastic: Recycled plastic
weight: 'Peso (gramos)/tallo' nonRecycledPlastic: Non recycled plastic
units: 'Unidades/caja' minSalesQuantity: Min sales quantity
expense: 'Gasto' genus: Genus
generic: 'Genérico' specie: Specie
recycledPlastic: 'Plástico reciclado'
nonRecycledPlastic: 'Plástico no reciclado'
minSalesQuantity: 'Cantidad mínima de venta'
genus: 'Genus'
specie: 'Specie'
components: components:
topbar: {} topbar: {}
itemsFilterPanel: itemsFilterPanel:
typeFk: Type typeFk: Type
tag: Tag
value: Value value: Value
# ItemFixedPriceFilter # ItemFixedPriceFilter
buyerFk: Buyer buyerFk: Buyer
warehouseFk: Warehouse
started: From started: From
ended: To ended: To
mine: For me mine: For me
hasMinPrice: Minimum price hasMinPrice: Minimum price
# LatestBuysFilter # LatestBuysFilter
salesPersonFk: Buyer salesPersonFk: Buyer
supplierFk: Supplier
from: From from: From
active: Is active active: Is active
visible: Is visible
floramondo: Is floramondo floramondo: Is floramondo
showBadDates: Show future items showBadDates: Show future items
userPanel: userPanel:

View File

@ -58,8 +58,8 @@ globals:
downloadCSVSuccess: Descarga de CSV exitosa downloadCSVSuccess: Descarga de CSV exitosa
reference: Referencia reference: Referencia
agency: Agencia agency: Agencia
wareHouseOut: Alm. salida warehouseOut: Alm. salida
wareHouseIn: Alm. entrada warehouseIn: Alm. entrada
landed: F. entrega landed: F. entrega
shipped: F. envío shipped: F. envío
totalEntries: Ent. totales totalEntries: Ent. totales
@ -108,6 +108,26 @@ globals:
weight: Peso weight: Peso
error: ¡Ups! Algo salió mal error: ¡Ups! Algo salió mal
recalc: Recalcular recalc: Recalcular
alias: Alias
vat: IVA
intrastat: Intrastat
tags: Etiquetas
size: Medida
producer: Productor
origin: Origen
state: Estado
subtotal: Subtotal
visible: Visible
price: Precio
client: Cliente
country: País
phone: Teléfono
mobile: Móvil
postcode: Código postal
street: Dirección
tag: Etiqueta
ticketId: ID ticket
confirmed: Confirmado
pageTitles: pageTitles:
logIn: Inicio de sesión logIn: Inicio de sesión
addressEdit: Modificar consignatario addressEdit: Modificar consignatario
@ -299,7 +319,6 @@ globals:
maxTemperature: Máx maxTemperature: Máx
minTemperature: Mín minTemperature: Mín
params: params:
id: Id
clientFk: Id cliente clientFk: Id cliente
salesPersonFk: Comercial salesPersonFk: Comercial
warehouseFk: Almacén warehouseFk: Almacén
@ -348,14 +367,7 @@ resetPassword:
entry: entry:
list: list:
newEntry: Nueva entrada newEntry: Nueva entrada
landed: F. entrega
invoiceNumber: Núm. factura
supplier: Proveedor
booked: Asentado
confirmed: Confirmado
ordered: Pedida
tableVisibleColumns: tableVisibleColumns:
id: Id
created: Creación created: Creación
supplierFk: Proveedor supplierFk: Proveedor
isBooked: Asentado isBooked: Asentado
@ -364,15 +376,12 @@ entry:
companyFk: Empresa companyFk: Empresa
travelFk: Envio travelFk: Envio
isExcludedFromAvailable: Inventario isExcludedFromAvailable: Inventario
isRaid: Redada
invoiceAmount: Importe invoiceAmount: Importe
summary: summary:
commission: Comisión commission: Comisión
currency: Moneda currency: Moneda
company: Empresa
invoiceNumber: Núm. factura invoiceNumber: Núm. factura
ordered: Pedida ordered: Pedida
confirmed: Confirmada
booked: Contabilizada booked: Contabilizada
raid: Redada raid: Redada
excludedFromAvailable: Inventario excludedFromAvailable: Inventario
@ -382,7 +391,6 @@ entry:
travelWarehouseOut: Alm. salida travelWarehouseOut: Alm. salida
travelDelivered: Enviada travelDelivered: Enviada
travelLanded: F. entrega travelLanded: F. entrega
travelWarehouseIn: Alm. entrada
travelReceived: Recibida travelReceived: Recibida
buys: Compras buys: Compras
stickers: Etiquetas stickers: Etiquetas
@ -392,63 +400,29 @@ entry:
buyingValue: Coste buyingValue: Coste
import: Importe import: Importe
pvp: PVP pvp: PVP
item: Artículo
basicData: basicData:
supplier: Proveedor
travel: Envío travel: Envío
invoiceNumber: Núm. factura
company: Empresa
currency: Moneda currency: Moneda
observation: Observación observation: Observación
commission: Comisión commission: Comisión
ordered: Pedida
confirmed: Confirmado
booked: Asentado booked: Asentado
raid: Redada raid: Redada
excludedFromAvailable: Inventario excludedFromAvailable: Inventario
agency: Agencia
warehouseOut: Alm. salida
warehouseIn: Alm. entrada
landed: F. entrega
id: ID
buys: buys:
groupingPrice: Precio grouping
packingPrice: Precio packing
observations: Observaciónes observations: Observaciónes
item: Artículo
size: Medida
packing: Packing
grouping: Grouping
buyingValue: Coste
packagingFk: Embalaje packagingFk: Embalaje
name: Nombre
producer: Productor
type: Tipo
color: Color color: Color
id: ID
printedStickers: Etiquetas impresas printedStickers: Etiquetas impresas
notes: notes:
observationType: Tipo de observación observationType: Tipo de observación
descriptor:
agency: Agencia
landed: F. entrega
warehouseOut: Alm. salida
latestBuys: latestBuys:
tableVisibleColumns: tableVisibleColumns:
image: Foto image: Foto
itemFk: Id Artículo itemFk: Id Artículo
packing: packing
grouping: Grouping
size: Medida
tags: Etiquetas
type: Tipo
intrastat: Intrastat
origin: Origen
weightByPiece: Peso (gramos)/tallo weightByPiece: Peso (gramos)/tallo
isActive: Activo isActive: Activo
family: Familia family: Familia
entryFk: Entrada entryFk: Entrada
buyingValue: Coste
freightValue: Porte freightValue: Porte
comissionValue: Comisión comissionValue: Comisión
packageValue: Embalaje packageValue: Embalaje
@ -457,7 +431,6 @@ entry:
price3: Packing price3: Packing
minPrice: Min minPrice: Min
ektFk: Ekt ektFk: Ekt
packagingFk: Embalaje
packingOut: Embalaje envíos packingOut: Embalaje envíos
landing: Llegada landing: Llegada
isExcludedFromAvailable: Es inventario isExcludedFromAvailable: Es inventario
@ -478,60 +451,38 @@ ticket:
tracking: Estados tracking: Estados
components: Componentes components: Componentes
pictures: Fotos pictures: Fotos
list:
nickname: Alias
state: Estado
landed: Entregado
total: Total
card: card:
ticketId: ID ticket
state: Estado
customerId: ID cliente customerId: ID cliente
agency: Agencia
warehouse: Almacén
customerCard: Ficha del cliente customerCard: Ficha del cliente
alias: Alias
ticketList: Listado de tickets ticketList: Listado de tickets
newOrder: Nuevo pedido newOrder: Nuevo pedido
boxing: boxing:
expedition: Expedición expedition: Expedición
item: Artículo
created: Creado created: Creado
worker: Trabajador
selectTime: 'Seleccionar hora:' selectTime: 'Seleccionar hora:'
selectVideo: 'Seleccionar vídeo:' selectVideo: 'Seleccionar vídeo:'
notFound: No hay vídeos disponibles notFound: No hay vídeos disponibles
summary: summary:
state: Estado
agency: Agencia
zone: Zona zone: Zona
warehouse: Almacén
collection: Colección collection: Colección
route: Ruta route: Ruta
invoice: Factura invoice: Factura
shipped: Enviado shipped: Enviado
landed: Entregado
consigneePhone: Tel. consignatario consigneePhone: Tel. consignatario
consigneeMobile: Móv. consignatario consigneeMobile: Móv. consignatario
consigneeAddress: Dir. consignatario consigneeAddress: Dir. consignatario
clientPhone: Tel. cliente clientPhone: Tel. cliente
clientMobile: Móv. cliente clientMobile: Móv. cliente
consignee: Consignatario consignee: Consignatario
subtotal: Subtotal
vat: IVA
total: Total total: Total
saleLines: Líneas del pedido saleLines: Líneas del pedido
item: Artículo
visible: Visible
available: Disponible available: Disponible
price: Precio
discount: Descuento discount: Descuento
packing: Encajado packing: Encajado
hasComponentLack: Faltan componentes hasComponentLack: Faltan componentes
itemShortage: No visible itemShortage: No visible
claim: Reclamación claim: Reclamación
reserved: Reservado reserved: Reservado
created: Fecha creación
package: Embalaje package: Embalaje
taxClass: Tipo IVA taxClass: Tipo IVA
services: Servicios services: Servicios
@ -545,42 +496,21 @@ ticket:
service: Servicio service: Servicio
attender: Consignatario attender: Consignatario
create: create:
client: Cliente
address: Dirección address: Dirección
landed: F. entrega
warehouse: Almacén
agency: Agencia
invoiceOut: invoiceOut:
list:
ref: Referencia
issued: Fecha emisión
shortIssued: F. emisión
client: Cliente
created: Fecha creación
shortCreated: F. creación
company: Empresa
dued: Fecha vencimineto
shortDued: F. vencimiento
card: card:
issued: Fecha emisión issued: Fecha emisión
client: Cliente
company: Empresa
customerCard: Ficha del cliente customerCard: Ficha del cliente
ticketList: Listado de tickets ticketList: Listado de tickets
summary: summary:
issued: Fecha issued: Fecha
created: Fecha creación
dued: Vencimiento dued: Vencimiento
booked: Contabilizada booked: Contabilizada
company: Empresa
taxBreakdown: Desglose impositivo taxBreakdown: Desglose impositivo
type: Tipo
taxableBase: Base imp. taxableBase: Base imp.
rate: Tarifa rate: Tarifa
fee: Cuota fee: Cuota
tickets: Tickets tickets: Tickets
ticketId: Id ticket
nickname: Alias
totalWithVat: Importe totalWithVat: Importe
globalInvoices: globalInvoices:
errors: errors:
@ -594,19 +524,14 @@ invoiceOut:
noTicketsToInvoice: No existen tickets para facturar noTicketsToInvoice: No existen tickets para facturar
criticalInvoiceError: Error crítico en la facturación proceso detenido criticalInvoiceError: Error crítico en la facturación proceso detenido
table: table:
client: Cliente
addressId: Id dirección addressId: Id dirección
streetAddress: Dirección fiscal streetAddress: Dirección fiscal
statusCard: statusCard:
percentageText: '{getPercentage}% {getAddressNumber} de {getNAddresses}' percentageText: '{getPercentage}% {getAddressNumber} de {getNAddresses}'
pdfsNumberText: '{nPdfs} de {totalPdfs} PDFs' pdfsNumberText: '{nPdfs} de {totalPdfs} PDFs'
negativeBases: negativeBases:
company: Empresa
country: País
clientId: Id cliente clientId: Id cliente
client: Cliente
base: Base base: Base
ticketId: Id ticket
active: Activo active: Activo
hasToInvoice: Facturar hasToInvoice: Facturar
verifiedData: Datos comprobados verifiedData: Datos comprobados
@ -616,40 +541,21 @@ invoiceOut:
order: order:
field: field:
salesPersonFk: Comercial salesPersonFk: Comercial
clientFk: Cliente
isConfirmed: Confirmada
created: Creado
landed: F. entrega
hour: Hora
agency: Agencia
total: Total
form: form:
clientFk: Cliente clientFk: Cliente
addressFk: Dirección addressFk: Dirección
landed: F. entrega
agencyModeFk: Agencia agencyModeFk: Agencia
list: list:
newOrder: Nuevo Pedido newOrder: Nuevo Pedido
summary: summary:
basket: Cesta basket: Cesta
nickname: Alias
company: Empresa
confirmed: Confirmada
notConfirmed: No confirmada notConfirmed: No confirmada
created: Creado created: Creado
landed: F. entrega
phone: Teléfono
createdFrom: Creado desde createdFrom: Creado desde
address: Dirección address: Dirección
subtotal: Subtotal
total: Total total: Total
vat: IVA
state: Estado
alias: Alias
items: Items items: Items
orderTicketList: Tickets del pedido orderTicketList: Tickets del pedido
item: Item
price: Precio
amount: Monto amount: Monto
shelving: shelving:
list: list:
@ -657,13 +563,6 @@ shelving:
priority: Prioridad priority: Prioridad
newShelving: Nuevo Carro newShelving: Nuevo Carro
summary: summary:
parking: Parking
priority: Prioridad
worker: Trabajador
recyclable: Reciclable
basicData:
parking: Parking
priority: Prioridad
recyclable: Reciclable recyclable: Reciclable
parking: parking:
pickingOrder: Orden de recogida pickingOrder: Orden de recogida
@ -678,10 +577,8 @@ department:
pageTitles: pageTitles:
department: Departamentos department: Departamentos
summary: Resumen summary: Resumen
name: Nombre
chat: Chat chat: Chat
bossDepartment: Jefe de departamento bossDepartment: Jefe de departamento
email: Email
selfConsumptionCustomer: Cliente autoconsumo selfConsumptionCustomer: Cliente autoconsumo
telework: Teletrabaja telework: Teletrabaja
notifyOnErrors: Notificar errores notifyOnErrors: Notificar errores
@ -706,23 +603,9 @@ worker:
formation: Formación formation: Formación
medical: Mutua medical: Mutua
list: list:
name: Nombre
email: Email
phone: Teléfono
mobile: Móvil
active: Activo
department: Departamento department: Departamento
schedule: Horario schedule: Horario
newWorker: Nuevo trabajador newWorker: Nuevo trabajador
card:
workerId: ID Trabajador
name: Nombre
email: Correo personal
phone: Teléfono
mobile: Móvil
active: Activo
warehouse: Almacén
agency: Empresa
summary: summary:
boss: Jefe boss: Jefe
phoneExtension: Extensión de teléfono phoneExtension: Extensión de teléfono
@ -746,19 +629,12 @@ worker:
serialNumber: Número de serie serialNumber: Número de serie
removePDA: Desasignar PDA removePDA: Desasignar PDA
create: create:
name: Nombre
lastName: Apellido lastName: Apellido
birth: Fecha de nacimiento birth: Fecha de nacimiento
fi: DNI/NIF/NIE fi: DNI/NIF/NIE
code: Código de trabajador code: Código de trabajador
phone: Teléfono
postcode: Código postal
province: Provincia
city: Población
street: Dirección
webUser: Usuario Web webUser: Usuario Web
personalEmail: Correo personal personalEmail: Correo personal
company: Empresa
boss: Jefe boss: Jefe
payMethods: Método de pago payMethods: Método de pago
iban: IBAN iban: IBAN
@ -799,7 +675,6 @@ wagon:
wagonCounter: Contador de carros wagonCounter: Contador de carros
wagonTray: Listado bandejas wagonTray: Listado bandejas
type: type:
name: Nombre
submit: Guardar submit: Guardar
reset: Deshacer cambios reset: Deshacer cambios
trayColor: Color de la bandeja trayColor: Color de la bandeja
@ -807,12 +682,9 @@ wagon:
list: list:
plate: Matrícula plate: Matrícula
volume: Volumen volume: Volumen
type: Tipo
remove: Borrar remove: Borrar
removeItem: Vagón borrado correctamente removeItem: Vagón borrado correctamente
create: create:
plate: Matrícula
type: Tipo
label: Etiqueta label: Etiqueta
warnings: warnings:
noData: Sin datos disponibles noData: Sin datos disponibles
@ -828,25 +700,16 @@ wagon:
supplier: supplier:
list: list:
payMethod: Método de pago payMethod: Método de pago
payDeadline: Plazo de pago
payDay: Día de pago
account: Cuenta account: Cuenta
newSupplier: Nuevo proveedor newSupplier: Nuevo proveedor
tableVisibleColumns: tableVisibleColumns:
id: Id
name: Nombre
nif: NIF/CIF nif: NIF/CIF
nickname: Alias
account: Cuenta account: Cuenta
payMethod: Método de pago
payDay: Dia de pago
country: País
summary: summary:
responsible: Responsable responsible: Responsable
verified: Verificado verified: Verificado
isActive: Está activo isActive: Está activo
billingData: Forma de pago billingData: Forma de pago
payMethod: Método de pago
payDeadline: Plazo de pago payDeadline: Plazo de pago
payDay: Día de pago payDay: Día de pago
account: Cuenta account: Cuenta
@ -859,15 +722,11 @@ supplier:
fiscalAddress: Dirección fiscal fiscalAddress: Dirección fiscal
socialName: Razón social socialName: Razón social
taxNumber: NIF/CIF taxNumber: NIF/CIF
street: Dirección
city: Población city: Población
postCode: Código postal
province: Provincia province: Provincia
country: País
create: create:
supplierName: Nombre del proveedor supplierName: Nombre del proveedor
basicData: basicData:
alias: Alias
workerFk: Responsable workerFk: Responsable
isSerious: Verificado isSerious: Verificado
isActive: Activo isActive: Activo
@ -881,36 +740,17 @@ supplier:
sageWithholdingFk: Retención sage sageWithholdingFk: Retención sage
sageTransactionTypeFk: Tipo de transacción sage sageTransactionTypeFk: Tipo de transacción sage
supplierActivityFk: Actividad proveedor supplierActivityFk: Actividad proveedor
healthRegister: Pasaporte sanitario
street: Calle
postcode: Código postal
city: Población *
provinceFk: Provincia
country: País
isTrucker: Transportista isTrucker: Transportista
isVies: Vies isVies: Vies
billingData: billingData:
payMethodFk: Forma de pago payMethodFk: Forma de pago
payDemFk: Plazo de pago payDemFk: Plazo de pago
payDay: Día de pago
accounts: accounts:
iban: Iban iban: Iban
bankEntity: Entidad bancaria bankEntity: Entidad bancaria
beneficiary: Beneficiario beneficiary: Beneficiario
contacts: contacts:
name: Nombre
phone: Teléfono
mobile: Móvil
email: Email
observation: Notas observation: Notas
addresses:
street: Dirección
postcode: Código postal
phone: Teléfono
name: Nombre
city: Población
province: Provincia
mobile: Móvil
agencyTerms: agencyTerms:
agencyFk: Agencia agencyFk: Agencia
minimumM3: M3 mínimos minimumM3: M3 mínimos
@ -925,19 +765,13 @@ supplier:
travel: travel:
travelList: travelList:
tableVisibleColumns: tableVisibleColumns:
id: Id
ref: Referencia ref: Referencia
agency: Agencia
shipHour: Hora de envío shipHour: Hora de envío
landHour: Hora de llegada landHour: Hora de llegada
landed: F.entrega
warehouseIn: Alm.salida
warehouseOut: Alm.entrada
totalEntries: totalEntries:
totalEntriesTooltip: Entradas totales totalEntriesTooltip: Entradas totales
daysOnward: Días de llegada en adelante daysOnward: Días de llegada en adelante
summary: summary:
confirmed: Confirmado
entryId: Id entrada entryId: Id entrada
freight: Porte freight: Porte
package: Embalaje package: Embalaje
@ -950,59 +784,28 @@ travel:
AddEntry: Añadir entrada AddEntry: Añadir entrada
thermographs: Termógrafos thermographs: Termógrafos
hb: HB hb: HB
variables:
search: Id/Referencia
agencyModeFk: Agencia
warehouseInFk: Alm. entrada
warehouseOutFk: ' Alm. salida'
landedFrom: Llegada desde
landedTo: Llegada hasta
continent: Cont. Salida
basicData:
agency: Agencia
landed: F. entrega
warehouseOut: Alm. salida
warehouseIn: Alm. entrada
delivered: Enviada
received: Recibida
thermographs: thermographs:
temperature: Temperatura temperature: Temperatura
state: Estado
destination: Destino destination: Destino
created: Fecha creación
thermograph: Termógrafo thermograph: Termógrafo
type: Tipo
company: Empresa
warehouse: Almacén
travelFileDescription: 'Id envío { travelId }' travelFileDescription: 'Id envío { travelId }'
item: item:
descriptor: descriptor:
item: Artículo
buyer: Comprador buyer: Comprador
color: Color color: Color
category: Categoría category: Categoría
stems: Tallos
visible: Visible
available: Disponible available: Disponible
warehouseText: 'Calculado sobre el almacén de { warehouseName }' warehouseText: 'Calculado sobre el almacén de { warehouseName }'
itemDiary: Registro de compra-venta itemDiary: Registro de compra-venta
producer: Productor
list: list:
id: Identificador id: Identificador
grouping: Grouping
packing: Packing
stems: Tallos stems: Tallos
category: Reino category: Reino
typeName: Tipo typeName: Tipo
intrastat: Intrastat
isActive: Activo isActive: Activo
size: Medida
origin: Origen
weightByPiece: Peso (gramos)/tallo weightByPiece: Peso (gramos)/tallo
userName: Comprador userName: Comprador
stemMultiplier: Multiplicador stemMultiplier: Multiplicador
producer: Productor
landed: F. entrega
fixedPrice: fixedPrice:
itemFk: ID Artículo itemFk: ID Artículo
groupingPrice: Precio grouping groupingPrice: Precio grouping
@ -1011,70 +814,51 @@ item:
minPrice: Precio min minPrice: Precio min
started: Inicio started: Inicio
ended: Fin ended: Fin
warehouse: Almacén
create: create:
name: Nombre
tag: Etiqueta
priority: Prioridad priority: Prioridad
type: Tipo
intrastat: Intrastat
origin: Origen
summary: summary:
otherData: 'Otros datos' otherData: Otros datos
tax: 'IVA' tax: IVA
tags: 'Etiquetas' botanical: Botánico
botanical: 'Botánico' barcode: Código de barras
barcode: 'Código de barras' completeName: Nombre completo
name: 'Nombre' family: Familia
completeName: 'Nombre completo' stems: Tallos
family: 'Familia' multiplier: Multiplicador
size: 'Medida' buyer: Comprador
origin: 'Origen' doPhoto: Hacer foto
stems: 'Tallos' intrastatCode: Código intrastat
multiplier: 'Multiplicador' ref: Referencia
buyer: 'Comprador' relevance: Relevancia
doPhoto: 'Hacer foto' weight: Peso (gramos)/tallo
intrastatCode: 'Código intrastat' units: Unidades/caja
intrastat: 'Intrastat' expense: Gasto
ref: 'Referencia' generic: Genérico
relevance: 'Relevancia' recycledPlastic: Plástico reciclado
weight: 'Peso (gramos)/tallo' nonRecycledPlastic: Plástico no reciclado
units: 'Unidades/caja' minSalesQuantity: Cantidad mínima de venta
expense: 'Gasto' genus: Genus
generic: 'Genérico' specie: Specie
recycledPlastic: 'Plástico reciclado'
nonRecycledPlastic: 'Plástico no reciclado'
minSalesQuantity: 'Cantidad mínima de venta'
genus: 'Genus'
specie: 'Specie'
buyRequest: buyRequest:
ticketId: 'ID Ticket' requester: Solicitante
requester: 'Solicitante' requested: Solicitado
requested: 'Solicitado' attender: Comprador
price: 'Precio' achieved: Conseguido
attender: 'Comprador' concept: Concepto
item: 'Artículo'
achieved: 'Conseguido'
concept: 'Concepto'
state: 'Estado'
components: components:
topbar: {} topbar: {}
itemsFilterPanel: itemsFilterPanel:
typeFk: Tipo typeFk: Tipo
tag: Etiqueta
value: Valor value: Valor
# ItemFixedPriceFilter # ItemFixedPriceFilter
buyerFk: Comprador buyerFk: Comprador
warehouseFk: Almacén
started: Desde started: Desde
ended: Hasta ended: Hasta
mine: Para mi mine: Para mi
hasMinPrice: Precio mínimo hasMinPrice: Precio mínimo
# LatestBuysFilter # LatestBuysFilter
salesPersonFk: Comprador salesPersonFk: Comprador
supplierFk: Proveedor
active: Activo active: Activo
visible: Visible
floramondo: Floramondo floramondo: Floramondo
showBadDates: Ver items a futuro showBadDates: Ver items a futuro
userPanel: userPanel:

View File

@ -20,9 +20,9 @@ const { t } = useI18n();
<template #form="{ data, validate }"> <template #form="{ data, validate }">
<VnRow> <VnRow>
<VnInput <VnInput
:label="t('department.name')" :label="t('globals.name')"
v-model="data.name" v-model="data.name"
:rules="validate('department.name')" :rules="validate('globals.name')"
clearable clearable
autofocus autofocus
/> />
@ -42,8 +42,8 @@ const { t } = useI18n();
/> />
<VnInput <VnInput
v-model="data.notificationEmail" v-model="data.notificationEmail"
:label="t('department.email')" :label="t('globals.params.email')"
:rules="validate('department.email')" :rules="validate('globals.params.email')"
clearable clearable
/> />
</VnRow> </VnRow>

View File

@ -45,11 +45,7 @@ onMounted(async () => {
/> />
<div class="full-width row wrap justify-between content-between"> <div class="full-width row wrap justify-between content-between">
<div class="column" style="min-width: 50%"> <div class="column" style="min-width: 50%">
<VnLv <VnLv :label="t('globals.name')" :value="department.name" dash />
:label="t('department.name')"
:value="department.name"
dash
/>
<VnLv :label="t('globals.code')" :value="department.code" dash /> <VnLv :label="t('globals.code')" :value="department.code" dash />
<VnLv <VnLv
:label="t('department.chat')" :label="t('department.chat')"

View File

@ -53,7 +53,7 @@ const onFilterTravelSelected = (formData, id) => {
<template #form="{ data }"> <template #form="{ data }">
<VnRow> <VnRow>
<VnSelect <VnSelect
:label="t('entry.basicData.supplier')" :label="t('globals.supplier')"
v-model="data.supplierFk" v-model="data.supplierFk"
url="Suppliers" url="Suppliers"
option-value="id" option-value="id"
@ -113,10 +113,10 @@ const onFilterTravelSelected = (formData, id) => {
<VnRow> <VnRow>
<VnInput <VnInput
v-model="data.invoiceNumber" v-model="data.invoiceNumber"
:label="t('entry.basicData.invoiceNumber')" :label="t('entry.summary.invoiceNumber')"
/> />
<VnSelect <VnSelect
:label="t('entry.basicData.company')" :label="t('globals.company')"
v-model="data.companyFk" v-model="data.companyFk"
:options="companiesOptions" :options="companiesOptions"
option-value="id" option-value="id"
@ -128,14 +128,14 @@ const onFilterTravelSelected = (formData, id) => {
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnSelect <VnSelect
:label="t('entry.basicData.currency')" :label="t('entry.summary.currency')"
v-model="data.currencyFk" v-model="data.currencyFk"
:options="currenciesOptions" :options="currenciesOptions"
option-value="id" option-value="id"
option-label="code" option-label="code"
/> />
<QInput <QInput
:label="t('entry.basicData.commission')" :label="t('entry.summary.commission')"
v-model="data.commission" v-model="data.commission"
type="number" type="number"
autofocus autofocus
@ -153,17 +153,11 @@ const onFilterTravelSelected = (formData, id) => {
/> />
</VnRow> </VnRow>
<VnRow> <VnRow>
<QCheckbox <QCheckbox v-model="data.isOrdered" :label="t('entry.summary.ordered')" />
v-model="data.isOrdered" <QCheckbox v-model="data.isConfirmed" :label="t('globals.confirmed')" />
:label="t('entry.basicData.ordered')"
/>
<QCheckbox
v-model="data.isConfirmed"
:label="t('entry.basicData.confirmed')"
/>
<QCheckbox <QCheckbox
v-model="data.isExcludedFromAvailable" v-model="data.isExcludedFromAvailable"
:label="t('entry.basicData.excludedFromAvailable')" :label="t('entry.summary.excludedFromAvailable')"
/> />
<QCheckbox v-model="data.isRaid" :label="t('entry.basicData.raid')" /> <QCheckbox v-model="data.isRaid" :label="t('entry.basicData.raid')" />
<QCheckbox <QCheckbox

View File

@ -156,7 +156,7 @@ const tableColumnComponents = computed(() => ({
const entriesTableColumns = computed(() => { const entriesTableColumns = computed(() => {
return [ return [
{ {
label: t('entry.summary.item'), label: t('globals.item'),
field: 'itemFk', field: 'itemFk',
name: 'item', name: 'item',
align: 'left', align: 'left',
@ -211,13 +211,13 @@ const entriesTableColumns = computed(() => {
format: (value) => toCurrency(value), format: (value) => toCurrency(value),
}, },
{ {
label: t('entry.buys.groupingPrice'), label: t('item.fixedPrice.groupingPrice'),
field: 'price2', field: 'price2',
name: 'price2', name: 'price2',
align: 'left', align: 'left',
}, },
{ {
label: t('entry.buys.packingPrice'), label: t('item.fixedPrice.packingPrice'),
field: 'price3', field: 'price3',
name: 'price3', name: 'price3',
align: 'left', align: 'left',

View File

@ -35,7 +35,7 @@ const packagingsOptions = ref([]);
const columns = computed(() => [ const columns = computed(() => [
{ {
label: t('entry.buys.item'), label: t('globals.item'),
name: 'item', name: 'item',
field: 'itemFk', field: 'itemFk',
options: lastItemBuysOptions.value, options: lastItemBuysOptions.value,
@ -56,19 +56,19 @@ const columns = computed(() => [
align: 'left', align: 'left',
}, },
{ {
label: t('entry.buys.packing'), label: t('entry.summary.packing'),
name: 'packing', name: 'packing',
field: 'packing', field: 'packing',
align: 'left', align: 'left',
}, },
{ {
label: t('entry.buys.grouping'), label: t('entry.summary.grouping'),
name: 'grouping', name: 'grouping',
field: 'grouping', field: 'grouping',
align: 'left', align: 'left',
}, },
{ {
label: t('entry.buys.buyingValue'), label: t('entry.summary.buyingValue'),
name: 'buyingValue', name: 'buyingValue',
field: 'buyingValue', field: 'buyingValue',
align: 'left', align: 'left',

View File

@ -122,14 +122,11 @@ watch;
</QItem> </QItem>
</template> </template>
<template #body="{ entity }"> <template #body="{ entity }">
<VnLv <VnLv :label="t('globals.agency')" :value="entity.travel?.agency?.name" />
:label="t('entry.descriptor.agency')"
:value="entity.travel?.agency?.name"
/>
<VnLv :label="t('shipped')" :value="toDate(entity.travel?.shipped)" /> <VnLv :label="t('shipped')" :value="toDate(entity.travel?.shipped)" />
<VnLv :label="t('landed')" :value="toDate(entity.travel?.landed)" /> <VnLv :label="t('landed')" :value="toDate(entity.travel?.landed)" />
<VnLv <VnLv
:label="t('entry.descriptor.warehouseOut')" :label="t('globals.warehouseOut')"
:value="entity.travel?.warehouseOut?.name" :value="entity.travel?.warehouseOut?.name"
/> />
</template> </template>

View File

@ -189,7 +189,7 @@ const fetchEntryBuys = async () => {
:label="t('entry.summary.currency')" :label="t('entry.summary.currency')"
:value="entry.currency?.name" :value="entry.currency?.name"
/> />
<VnLv :label="t('entry.summary.company')" :value="entry.company.code" /> <VnLv :label="t('globals.company')" :value="entry.company.code" />
<VnLv :label="t('globals.reference')" :value="entry.reference" /> <VnLv :label="t('globals.reference')" :value="entry.reference" />
<VnLv <VnLv
:label="t('entry.summary.invoiceNumber')" :label="t('entry.summary.invoiceNumber')"
@ -218,7 +218,7 @@ const fetchEntryBuys = async () => {
/> />
<VnLv :label="t('shipped')" :value="toDate(entry.travel.shipped)" /> <VnLv :label="t('shipped')" :value="toDate(entry.travel.shipped)" />
<VnLv <VnLv
:label="t('entry.summary.travelWarehouseOut')" :label="t('globals.warehouseOut')"
:value="entry.travel.warehouseOut?.name" :value="entry.travel.warehouseOut?.name"
/> />
<QCheckbox <QCheckbox
@ -228,7 +228,7 @@ const fetchEntryBuys = async () => {
/> />
<VnLv :label="t('landed')" :value="toDate(entry.travel.landed)" /> <VnLv :label="t('landed')" :value="toDate(entry.travel.landed)" />
<VnLv <VnLv
:label="t('entry.summary.travelWarehouseIn')" :label="t('globals.warehouseIn')"
:value="entry.travel.warehouseIn?.name" :value="entry.travel.warehouseIn?.name"
/> />
<QCheckbox <QCheckbox
@ -251,7 +251,7 @@ const fetchEntryBuys = async () => {
:disable="true" :disable="true"
/> />
<QCheckbox <QCheckbox
:label="t('entry.summary.confirmed')" :label="t('globals.confirmed')"
v-model="entry.isConfirmed" v-model="entry.isConfirmed"
:disable="true" :disable="true"
/> />

View File

@ -35,7 +35,7 @@ const entriesTableColumns = computed(() => [
{ {
align: 'left', align: 'left',
name: 'item', name: 'item',
label: t('entry.summary.item'), label: t('globals.item'),
field: (row) => row.item.name, field: (row) => row.item.name,
}, },
{ {

View File

@ -37,12 +37,12 @@ const columns = [
}, },
{ {
align: 'left', align: 'left',
label: t('entry.latestBuys.tableVisibleColumns.packing'), label: t('entry.summary.packing'),
name: 'packing', name: 'packing',
}, },
{ {
align: 'left', align: 'left',
label: t('entry.latestBuys.tableVisibleColumns.grouping'), label: t('entry.summary.grouping'),
name: 'grouping', name: 'grouping',
}, },
{ {
@ -57,27 +57,27 @@ const columns = [
}, },
{ {
align: 'left', align: 'left',
label: t('entry.latestBuys.tableVisibleColumns.size'), label: t('globals.size'),
name: 'size', name: 'size',
}, },
{ {
align: 'left', align: 'left',
label: t('entry.latestBuys.tableVisibleColumns.tags'), label: t('globals.tags'),
name: 'tags', name: 'tags',
}, },
{ {
align: 'left', align: 'left',
label: t('entry.latestBuys.tableVisibleColumns.type'), label: t('globals.type'),
name: 'type', name: 'type',
}, },
{ {
align: 'left', align: 'left',
label: t('entry.latestBuys.tableVisibleColumns.intrastat'), label: t('globals.intrastat'),
name: 'intrastat', name: 'intrastat',
}, },
{ {
align: 'left', align: 'left',
label: t('entry.latestBuys.tableVisibleColumns.origin'), label: t('globals.origin'),
name: 'origin', name: 'origin',
}, },
{ {
@ -102,7 +102,7 @@ const columns = [
}, },
{ {
align: 'left', align: 'left',
label: t('entry.latestBuys.tableVisibleColumns.buyingValue'), label: t('entry.summary.buyingValue'),
name: 'buyingValue', name: 'buyingValue',
}, },
{ {
@ -117,7 +117,7 @@ const columns = [
}, },
{ {
align: 'left', align: 'left',
label: t('entry.latestBuys.tableVisibleColumns.packageValue'), label: t('entry.buys.packageValue'),
name: 'packageValue', name: 'packageValue',
}, },
{ {
@ -152,7 +152,7 @@ const columns = [
}, },
{ {
align: 'left', align: 'left',
label: t('entry.latestBuys.tableVisibleColumns.packagingFk'), label: t('entry.buys.packagingFk'),
name: 'packagingFk', name: 'packagingFk',
}, },
{ {

View File

@ -43,7 +43,7 @@ const entryFilter = {
const columns = computed(() => [ const columns = computed(() => [
{ {
align: 'left', align: 'left',
label: t('entry.list.tableVisibleColumns.id'), label: t('globals.id'),
name: 'id', name: 'id',
isTitle: true, isTitle: true,
cardVisible: true, cardVisible: true,

View File

@ -69,7 +69,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.ref, entity.
<template #body="{ entity }"> <template #body="{ entity }">
<VnLv :label="t('invoiceOut.card.issued')" :value="toDate(entity.issued)" /> <VnLv :label="t('invoiceOut.card.issued')" :value="toDate(entity.issued)" />
<VnLv :label="t('globals.amount')" :value="toCurrency(entity.amount)" /> <VnLv :label="t('globals.amount')" :value="toCurrency(entity.amount)" />
<VnLv v-if="entity.client" :label="t('invoiceOut.card.client')"> <VnLv v-if="entity.client" :label="t('globals.client')">
<template #value> <template #value>
<span class="link"> <span class="link">
{{ entity.client.name }} {{ entity.client.name }}
@ -79,7 +79,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.ref, entity.
</VnLv> </VnLv>
<VnLv <VnLv
v-if="entity.company" v-if="entity.company"
:label="t('invoiceOut.card.company')" :label="t('globals.company')"
:value="entity.company.code" :value="entity.company.code"
/> />
</template> </template>

View File

@ -42,7 +42,7 @@ function fetch() {
const taxColumns = ref([ const taxColumns = ref([
{ {
name: 'item', name: 'item',
label: 'invoiceOut.summary.type', label: 'globals.type',
field: (row) => row.name, field: (row) => row.name,
sortable: true, sortable: true,
}, },
@ -72,14 +72,14 @@ const taxColumns = ref([
const ticketsColumns = ref([ const ticketsColumns = ref([
{ {
name: 'item', name: 'item',
label: t('invoiceOut.summary.ticketId'), label: t('globals.ticketId'),
field: (row) => row.id, field: (row) => row.id,
sortable: true, sortable: true,
align: 'left', align: 'left',
}, },
{ {
name: 'quantity', name: 'quantity',
label: t('invoiceOut.summary.nickname'), label: t('globals.alias'),
field: (row) => row.nickname, field: (row) => row.nickname,
sortable: true, sortable: true,
align: 'left', align: 'left',
@ -124,18 +124,12 @@ const ticketsColumns = ref([
:label="t('invoiceOut.summary.dued')" :label="t('invoiceOut.summary.dued')"
:value="toDate(invoiceOut.dued)" :value="toDate(invoiceOut.dued)"
/> />
<VnLv <VnLv :label="t('globals.created')" :value="toDate(invoiceOut.created)" />
:label="t('invoiceOut.summary.created')"
:value="toDate(invoiceOut.created)"
/>
<VnLv <VnLv
:label="t('invoiceOut.summary.booked')" :label="t('invoiceOut.summary.booked')"
:value="toDate(invoiceOut.booked)" :value="toDate(invoiceOut.booked)"
/> />
<VnLv <VnLv :label="t('globals.company')" :value="invoiceOut.company.code" />
:label="t('invoiceOut.summary.company')"
:value="invoiceOut.company.code"
/>
</QCard> </QCard>
<QCard class="vn-three"> <QCard class="vn-three">
<VnTitle :text="t('invoiceOut.summary.taxBreakdown')" /> <VnTitle :text="t('invoiceOut.summary.taxBreakdown')" />

View File

@ -59,7 +59,7 @@ const columns = computed(() => [
field: 'clientId', field: 'clientId',
}, },
{ {
label: t('invoiceOut.globalInvoices.table.client'), label: t('globals.client'),
field: 'clientName', field: 'clientName',
name: 'clientName', name: 'clientName',
align: 'left', align: 'left',

View File

@ -51,7 +51,7 @@ const props = defineProps({
<QItemSection> <QItemSection>
<VnInput <VnInput
v-model="params.company" v-model="params.company"
:label="t('invoiceOut.negativeBases.company')" :label="t('globals.company')"
is-outlined is-outlined
/> />
</QItemSection> </QItemSection>
@ -60,7 +60,7 @@ const props = defineProps({
<QItemSection> <QItemSection>
<VnInput <VnInput
v-model="params.country" v-model="params.country"
:label="t('invoiceOut.negativeBases.country')" :label="t('globals.country')"
is-outlined is-outlined
/> />
</QItemSection> </QItemSection>
@ -79,7 +79,7 @@ const props = defineProps({
<QItemSection> <QItemSection>
<VnInput <VnInput
v-model="params.clientSocialName" v-model="params.clientSocialName"
:label="t('invoiceOut.negativeBases.client')" :label="t('globals.client')"
is-outlined is-outlined
/> />
</QItemSection> </QItemSection>

View File

@ -173,10 +173,7 @@ const openCloneDialog = async () => {
</span> </span>
</template> </template>
</VnLv> </VnLv>
<VnLv <VnLv :label="t('globals.producer')" :value="dashIfEmpty(entity.subName)" />
:label="t('item.descriptor.producer')"
:value="dashIfEmpty(entity.subName)"
/>
<VnLv <VnLv
v-if="entity.value5" v-if="entity.value5"
:label="t('item.descriptor.color')" :label="t('item.descriptor.color')"
@ -190,7 +187,7 @@ const openCloneDialog = async () => {
/> />
<VnLv <VnLv
v-if="entity.value7" v-if="entity.value7"
:label="t('item.descriptor.stems')" :label="t('item.list.stems')"
:value="entity.value7" :value="entity.value7"
/> />
</template> </template>

View File

@ -75,7 +75,7 @@ const handlePhotoUpdated = (evt = false) => {
<QIcon name="vn:item" /> <QIcon name="vn:item" />
</div> </div>
<div class="text-grey-5" style="opacity: 0.4"> <div class="text-grey-5" style="opacity: 0.4">
{{ t('item.descriptor.item') }} {{ t('globals.item') }}
</div> </div>
</div> </div>
</div> </div>
@ -107,7 +107,7 @@ const handlePhotoUpdated = (evt = false) => {
> >
<div class="col column items-center"> <div class="col column items-center">
<span class="text-uppercase color-vn-white" style="font-size: 11px"> <span class="text-uppercase color-vn-white" style="font-size: 11px">
{{ t('item.descriptor.visible') }} {{ t('globals.visible') }}
</span> </span>
<span class="text-weight-bold text-h5 color-vn-white">{{ visible }}</span> <span class="text-weight-bold text-h5 color-vn-white">{{ visible }}</span>
</div> </div>

View File

@ -57,11 +57,11 @@ const getUrl = (id, param) => `#/Item/${id}/${param}`;
:url="getUrl(entityId, 'basic-data')" :url="getUrl(entityId, 'basic-data')"
:text="t('globals.summary.basicData')" :text="t('globals.summary.basicData')"
/> />
<VnLv :label="t('item.summary.name')" :value="item.name" /> <VnLv :label="t('globals.name')" :value="item.name" />
<VnLv :label="t('item.summary.completeName')" :value="item.longName" /> <VnLv :label="t('item.summary.completeName')" :value="item.longName" />
<VnLv :label="t('item.summary.family')" :value="item.itemType.name" /> <VnLv :label="t('item.summary.family')" :value="item.itemType.name" />
<VnLv :label="t('item.summary.size')" :value="item.size" /> <VnLv :label="t('globals.size')" :value="item.size" />
<VnLv :label="t('item.summary.origin')" :value="item.origin.name" /> <VnLv :label="t('globals.origin')" :value="item.origin.name" />
<VnLv :label="t('item.summary.stems')" :value="item.stems" /> <VnLv :label="t('item.summary.stems')" :value="item.stems" />
<VnLv <VnLv
:label="t('item.summary.multiplier')" :label="t('item.summary.multiplier')"
@ -96,7 +96,7 @@ const getUrl = (id, param) => `#/Item/${id}/${param}`;
:value="item.intrastat.id" :value="item.intrastat.id"
/> />
<VnLv <VnLv
:label="t('item.summary.intrastat')" :label="t('globals.intrastat')"
:value="item.intrastat.description" :value="item.intrastat.description"
/> />
<VnLv :label="t('item.summary.ref')" :value="item.comment" /> <VnLv :label="t('item.summary.ref')" :value="item.comment" />
@ -115,7 +115,7 @@ const getUrl = (id, param) => `#/Item/${id}/${param}`;
/> />
</QCard> </QCard>
<QCard class="vn-one"> <QCard class="vn-one">
<VnTitle :url="getUrl(entityId, 'tags')" :text="t('item.summary.tags')" /> <VnTitle :url="getUrl(entityId, 'tags')" :text="t('globals.tags')" />
<VnLv <VnLv
v-for="(tag, index) in tags" v-for="(tag, index) in tags"
:key="index" :key="index"

View File

@ -86,12 +86,9 @@ onBeforeMount(async () => {
> >
<template #form="{ data }"> <template #form="{ data }">
<VnRow> <VnRow>
<VnInput <VnInput v-model="data.provisionalName" :label="t('globals.name')" />
v-model="data.provisionalName"
:label="t('item.create.name')"
/>
<VnSelect <VnSelect
:label="t('item.create.tag')" :label="t('globals.tag')"
v-model="data.tag" v-model="data.tag"
:options="tagsOptions" :options="tagsOptions"
option-value="id" option-value="id"
@ -109,7 +106,7 @@ onBeforeMount(async () => {
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnSelect <VnSelect
:label="t('item.create.type')" :label="t('globals.type')"
v-model="data.typeFk" v-model="data.typeFk"
:options="itemTypesOptions" :options="itemTypesOptions"
option-label="name" option-label="name"
@ -133,7 +130,7 @@ onBeforeMount(async () => {
</template> </template>
</VnSelect> </VnSelect>
<VnSelect <VnSelect
:label="t('item.create.intrastat')" :label="t('globals.intrastat')"
v-model="data.intrastatFk" v-model="data.intrastatFk"
:options="intrastatsOptions" :options="intrastatsOptions"
option-label="description" option-label="description"
@ -156,7 +153,7 @@ onBeforeMount(async () => {
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnSelect <VnSelect
:label="t('item.create.origin')" :label="t('globals.origin')"
v-model="data.originFk" v-model="data.originFk"
:options="originsOptions" :options="originsOptions"
option-value="id" option-value="id"

View File

@ -132,7 +132,7 @@ const columns = computed(() => [
}, },
{ {
label: t('item.fixedPrice.warehouse'), label: t('globals.warehouse'),
field: 'warehouseFk', field: 'warehouseFk',
name: 'warehouseFk', name: 'warehouseFk',
...defaultColumnAttrs, ...defaultColumnAttrs,
@ -192,7 +192,7 @@ const editTableFieldsOptions = [
}, },
{ {
field: 'warehouseFk', field: 'warehouseFk',
label: t('item.fixedPrice.warehouse'), label: t('globals.warehouse'),
component: 'select', component: 'select',
attrs: { attrs: {
options: [], options: [],

View File

@ -114,7 +114,7 @@ const columns = computed(() => [
}, },
}, },
{ {
label: t('item.list.grouping'), label: t('entry.summary.grouping'),
field: 'grouping', field: 'grouping',
name: 'grouping', name: 'grouping',
align: 'left', align: 'left',
@ -131,7 +131,7 @@ const columns = computed(() => [
format: (val) => dashIfEmpty(val), format: (val) => dashIfEmpty(val),
}, },
{ {
label: t('item.list.packing'), label: t('entry.summary.packing'),
field: 'packing', field: 'packing',
name: 'packing', name: 'packing',
align: 'left', align: 'left',
@ -180,7 +180,7 @@ const columns = computed(() => [
}, },
}, },
{ {
label: t('item.list.size'), label: t('globals.size'),
field: 'size', field: 'size',
name: 'size', name: 'size',
align: 'left', align: 'left',
@ -237,7 +237,7 @@ const columns = computed(() => [
}, },
{ {
label: t('item.list.intrastat'), label: t('globals.intrastat'),
field: 'intrastat', field: 'intrastat',
name: 'intrastat', name: 'intrastat',
align: 'left', align: 'left',
@ -256,7 +256,7 @@ const columns = computed(() => [
}, },
}, },
{ {
label: t('item.list.origin'), label: t('globals.origin'),
field: 'origin', field: 'origin',
name: 'origin', name: 'origin',
align: 'left', align: 'left',
@ -337,7 +337,7 @@ const columns = computed(() => [
columnFilter: null, columnFilter: null,
}, },
{ {
label: t('item.list.producer'), label: t('globals.producer'),
field: 'producer', field: 'producer',
name: 'producer', name: 'producer',
align: 'left', align: 'left',
@ -354,7 +354,7 @@ const columns = computed(() => [
format: (val) => dashIfEmpty(val), format: (val) => dashIfEmpty(val),
}, },
{ {
label: t('item.list.landed'), label: t('globals.landed'),
field: 'landed', field: 'landed',
name: 'landed', name: 'landed',
align: 'left', align: 'left',

View File

@ -40,7 +40,7 @@ watch(
const columns = computed(() => [ const columns = computed(() => [
{ {
label: t('item.buyRequest.ticketId'), label: t('globals.ticketId'),
name: 'id', name: 'id',
field: 'id', field: 'id',
align: 'left', align: 'left',
@ -74,7 +74,7 @@ const columns = computed(() => [
sortable: true, sortable: true,
}, },
{ {
label: t('item.buyRequest.price'), label: t('globals.price'),
field: 'price', field: 'price',
name: 'price', name: 'price',
align: 'left', align: 'left',
@ -89,7 +89,7 @@ const columns = computed(() => [
sortable: true, sortable: true,
}, },
{ {
label: t('item.buyRequest.item'), label: t('globals.item'),
field: 'item', field: 'item',
name: 'item', name: 'item',
align: 'left', align: 'left',
@ -110,7 +110,7 @@ const columns = computed(() => [
sortable: true, sortable: true,
}, },
{ {
label: t('item.buyRequest.state'), label: t('globals.state'),
field: 'state', field: 'state',
name: 'state', name: 'state',
align: 'left', align: 'left',

View File

@ -162,7 +162,7 @@ const onClientChange = async (clientId) => {
<VnRow> <VnRow>
<VnInputDate <VnInputDate
placeholder="dd-mm-aaa" placeholder="dd-mm-aaa"
:label="t('order.form.landed')" :label="t('globals.landed')"
v-model="data.landed" v-model="data.landed"
@update:model-value=" @update:model-value="
() => fetchAgencyList(data.landed, data.addressFk) () => fetchAgencyList(data.landed, data.addressFk)

View File

@ -10,7 +10,6 @@ import VnSelect from 'components/common/VnSelect.vue';
import VnInputDate from 'components/common/VnInputDate.vue'; import VnInputDate from 'components/common/VnInputDate.vue';
import { useDialogPluginComponent } from 'quasar'; import { useDialogPluginComponent } from 'quasar';
import { reactive } from 'vue'; import { reactive } from 'vue';
import FetchData from 'components/FetchData.vue';
const { t } = useI18n(); const { t } = useI18n();
const state = useState(); const state = useState();
@ -186,7 +185,7 @@ onMounted(async () => {
<VnRow class="row q-gutter-md q-mb-md"> <VnRow class="row q-gutter-md q-mb-md">
<VnInputDate <VnInputDate
placeholder="dd-mm-aaa" placeholder="dd-mm-aaa"
:label="t('order.form.landed')" :label="t('globals.landed')"
v-model="data.landed" v-model="data.landed"
@update:model-value=" @update:model-value="
() => fetchAgencyList(data.landed, data.addressId) () => fetchAgencyList(data.landed, data.addressId)

View File

@ -67,7 +67,7 @@ const setData = (entity) => {
}; };
const getConfirmationValue = (isConfirmed) => { const getConfirmationValue = (isConfirmed) => {
return t(isConfirmed ? 'order.summary.confirmed' : 'order.summary.notConfirmed'); return t(isConfirmed ? 'globals.confirmed' : 'order.summary.notConfirmed');
}; };
const total = ref(null); const total = ref(null);
@ -98,7 +98,7 @@ function ticketFilter(order) {
</template> </template>
<template #body="{ entity }"> <template #body="{ entity }">
<VnLv <VnLv
:label="t('order.summary.state')" :label="t('globals.state')"
:value="getConfirmationValue(entity.isConfirmed)" :value="getConfirmationValue(entity.isConfirmed)"
/> />
<VnLv :label="t('order.field.salesPersonFk')"> <VnLv :label="t('order.field.salesPersonFk')">
@ -109,9 +109,9 @@ function ticketFilter(order) {
</span> </span>
</template> </template>
</VnLv> </VnLv>
<VnLv :label="t('order.summary.landed')" :value="toDate(entity?.landed)" /> <VnLv :label="t('globals.landed')" :value="toDate(entity?.landed)" />
<VnLv :label="t('order.field.agency')" :value="entity?.agencyMode?.name" /> <VnLv :label="t('globals.agency')" :value="entity?.agencyMode?.name" />
<VnLv :label="t('order.summary.alias')" :value="entity?.address?.nickname" /> <VnLv :label="t('globals.alias')" :value="entity?.address?.nickname" />
<VnLv <VnLv
:label="t('order.summary.items')" :label="t('order.summary.items')"
:value="(entity?.rows?.length || DEFAULT_ITEMS).toString()" :value="(entity?.rows?.length || DEFAULT_ITEMS).toString()"

View File

@ -24,7 +24,7 @@ const entityId = computed(() => $props.id || route.params.id);
const detailsColumns = ref([ const detailsColumns = ref([
{ {
name: 'item', name: 'item',
label: t('order.summary.item'), label: t('globals.item'),
field: (row) => row?.item?.id, field: (row) => row?.item?.id,
sortable: true, sortable: true,
}, },
@ -40,7 +40,7 @@ const detailsColumns = ref([
}, },
{ {
name: 'price', name: 'price',
label: t('order.summary.price'), label: t('globals.price'),
field: (row) => toCurrency(row?.price), field: (row) => toCurrency(row?.price),
}, },
{ {
@ -69,7 +69,7 @@ const detailsColumns = ref([
:text="t('globals.pageTitles.basicData')" :text="t('globals.pageTitles.basicData')"
/> />
<VnLv label="ID" :value="entity.id" /> <VnLv label="ID" :value="entity.id" />
<VnLv :label="t('order.summary.nickname')" dash> <VnLv :label="t('globals.alias')" dash>
<template #value> <template #value>
<span class="link"> <span class="link">
{{ dashIfEmpty(entity?.address?.nickname) }} {{ dashIfEmpty(entity?.address?.nickname) }}
@ -78,11 +78,11 @@ const detailsColumns = ref([
</template> </template>
</VnLv> </VnLv>
<VnLv <VnLv
:label="t('order.summary.company')" :label="t('globals.company')"
:value="entity?.address?.companyFk" :value="entity?.address?.companyFk"
/> />
<VnLv <VnLv
:label="t('order.summary.confirmed')" :label="t('globals.confirmed')"
:value="Boolean(entity?.isConfirmed)" :value="Boolean(entity?.isConfirmed)"
/> />
</QCard> </QCard>
@ -96,14 +96,14 @@ const detailsColumns = ref([
:value="toDateHourMinSec(entity?.created)" :value="toDateHourMinSec(entity?.created)"
/> />
<VnLv <VnLv
:label="t('order.summary.confirmed')" :label="t('globals.confirmed')"
:value="toDateHourMinSec(entity?.confirmed)" :value="toDateHourMinSec(entity?.confirmed)"
/> />
<VnLv <VnLv
:label="t('order.summary.landed')" :label="t('globals.landed')"
:value="toDateHourMinSec(entity?.landed)" :value="toDateHourMinSec(entity?.landed)"
/> />
<VnLv :label="t('order.summary.phone')"> <VnLv :label="t('globals.phone')">
<template #value> <template #value>
{{ dashIfEmpty(entity?.address?.phone) }} {{ dashIfEmpty(entity?.address?.phone) }}
<a <a
@ -135,7 +135,7 @@ const detailsColumns = ref([
<VnTitle :text="t('order.summary.total')" /> <VnTitle :text="t('order.summary.total')" />
<VnLv> <VnLv>
<template #label> <template #label>
<span class="text-h6">{{ t('order.summary.subtotal') }}</span> <span class="text-h6">{{ t('globals.subtotal') }}</span>
</template> </template>
<template #value> <template #value>
<span class="text-h6">{{ <span class="text-h6">{{
@ -145,7 +145,7 @@ const detailsColumns = ref([
</VnLv> </VnLv>
<VnLv> <VnLv>
<template #label> <template #label>
<span class="text-h6">{{ t('order.summary.vat') }}</span> <span class="text-h6">{{ t('globals.vat') }}</span>
</template> </template>
<template #value> <template #value>
<span class="text-h6">{{ toCurrency(entity?.VAT) }}</span> <span class="text-h6">{{ toCurrency(entity?.VAT) }}</span>
@ -165,10 +165,10 @@ const detailsColumns = ref([
<QTable :columns="detailsColumns" :rows="entity?.rows" flat> <QTable :columns="detailsColumns" :rows="entity?.rows" flat>
<template #header="props"> <template #header="props">
<QTr :props="props"> <QTr :props="props">
<QTh auto-width>{{ t('order.summary.item') }}</QTh> <QTh auto-width>{{ t('globals.item') }}</QTh>
<QTh>{{ t('globals.description') }}</QTh> <QTh>{{ t('globals.description') }}</QTh>
<QTh auto-width>{{ t('globals.quantity') }}</QTh> <QTh auto-width>{{ t('globals.quantity') }}</QTh>
<QTh auto-width>{{ t('order.summary.price') }}</QTh> <QTh auto-width>{{ t('globals.price') }}</QTh>
<QTh auto-width>{{ t('order.summary.amount') }}</QTh> <QTh auto-width>{{ t('order.summary.amount') }}</QTh>
</QTr> </QTr>
</template> </template>

View File

@ -54,8 +54,8 @@ const setData = (entity) => (data.value = useCardDescription(entity.code, entity
> >
<template #body="{ entity }"> <template #body="{ entity }">
<VnLv :label="t('globals.code')" :value="entity.code" /> <VnLv :label="t('globals.code')" :value="entity.code" />
<VnLv :label="t('shelving.summary.parking')" :value="entity.parking?.code" /> <VnLv :label="t('shelving.list.parking')" :value="entity.parking?.code" />
<VnLv v-if="entity.worker" :label="t('shelving.summary.worker')"> <VnLv v-if="entity.worker" :label="t('globals.worker')">
<template #value> <template #value>
<VnUserLink <VnUserLink
:name="entity.worker?.user?.nickname" :name="entity.worker?.user?.nickname"

View File

@ -68,7 +68,7 @@ const onSave = (shelving, newShelving) => {
option-label="code" option-label="code"
:filter-options="['id', 'code']" :filter-options="['id', 'code']"
:fields="['id', 'code']" :fields="['id', 'code']"
:label="t('shelving.basicData.parking')" :label="t('shelving.list.parking')"
:rules="validate('Shelving.parkingFk')" :rules="validate('Shelving.parkingFk')"
/> />
</VnRow> </VnRow>
@ -76,12 +76,12 @@ const onSave = (shelving, newShelving) => {
<VnInput <VnInput
v-model="data.priority" v-model="data.priority"
type="number" type="number"
:label="t('shelving.basicData.priority')" :label="t('shelving.list.priority')"
:rules="validate('Shelving.priority')" :rules="validate('Shelving.priority')"
/> />
<QCheckbox <QCheckbox
v-model="data.isRecyclable" v-model="data.isRecyclable"
:label="t('shelving.basicData.recyclable')" :label="t('shelving.summary.recyclable')"
:rules="validate('Shelving.isRecyclable')" :rules="validate('Shelving.isRecyclable')"
/> />
</VnRow> </VnRow>

View File

@ -56,14 +56,11 @@ const filter = {
</RouterLink> </RouterLink>
<VnLv :label="t('globals.code')" :value="entity.code" /> <VnLv :label="t('globals.code')" :value="entity.code" />
<VnLv <VnLv
:label="t('shelving.summary.parking')" :label="t('shelving.list.parking')"
:value="entity.parking?.code" :value="entity.parking?.code"
/> />
<VnLv <VnLv :label="t('shelving.list.priority')" :value="entity.priority" />
:label="t('shelving.summary.priority')" <VnLv v-if="entity.worker" :label="t('globals.worker')">
:value="entity.priority"
/>
<VnLv v-if="entity.worker" :label="t('shelving.summary.worker')">
<template #value> <template #value>
<VnUserLink <VnUserLink
:name="entity.worker?.user?.nickname" :name="entity.worker?.user?.nickname"

View File

@ -69,16 +69,13 @@ const redirectToUpdateView = (addressData) => {
@click="redirectToUpdateView(row)" @click="redirectToUpdateView(row)"
> >
<template #list-items> <template #list-items>
<VnLv :label="t('globals.street')" :value="row.street" />
<VnLv <VnLv
:label="t('supplier.addresses.street')" :label="t('globals.postcode')"
:value="row.street"
/>
<VnLv
:label="t('supplier.addresses.postcode')"
:value="`${row.postalCode} - ${row.city}, ${row.province.name}`" :value="`${row.postalCode} - ${row.city}, ${row.province.name}`"
/> />
<VnLv <VnLv
:label="t('supplier.addresses.phone')" :label="t('globals.phone')"
:value="`${row.phone}, ${row.mobile}`" :value="`${row.phone}, ${row.mobile}`"
/> />
</template> </template>

View File

@ -72,14 +72,8 @@ function handleLocation(data, location) {
> >
<template #form="{ data, validate }"> <template #form="{ data, validate }">
<VnRow> <VnRow>
<VnInput <VnInput v-model="data.nickname" :label="t('globals.name')" />
v-model="data.nickname" <VnInput v-model="data.street" :label="t('globals.street')" />
:label="t('supplier.addresses.name')"
/>
<VnInput
v-model="data.street"
:label="t('supplier.addresses.street')"
/>
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnLocation <VnLocation
@ -101,14 +95,8 @@ function handleLocation(data, location) {
</VnLocation> </VnLocation>
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnInput <VnInput v-model="data.phone" :label="t('globals.phone')" />
v-model="data.phone" <VnInput v-model="data.mobile" :label="t('globals.mobile')" />
:label="t('supplier.addresses.phone')"
/>
<VnInput
v-model="data.mobile"
:label="t('supplier.addresses.mobile')"
/>
</VnRow> </VnRow>
</template> </template>
</FormModel> </FormModel>

View File

@ -24,7 +24,7 @@ const workersOptions = ref([]);
<VnRow> <VnRow>
<VnInput <VnInput
v-model="data.nickname" v-model="data.nickname"
:label="t('supplier.basicData.alias')" :label="t('globals.alias')"
:rules="validate('supplier.nickname')" :rules="validate('supplier.nickname')"
clearable clearable
/> />

View File

@ -58,7 +58,7 @@ const formatPayDems = (data) => {
</VnRow> </VnRow>
<VnRow> <VnRow>
<QInput <QInput
:label="t('supplier.billingData.payDay')" :label="t('supplier.summary.payDay')"
type="number" type="number"
v-model="data.payDay" v-model="data.payDay"
/> />

View File

@ -44,21 +44,12 @@ const insertRow = () => {
<VnRow class="row q-gutter-md"> <VnRow class="row q-gutter-md">
<VnInput <VnInput
input-name-focusable input-name-focusable
:label="t('supplier.contacts.name')" :label="t('globals.name')"
v-model="row.name" v-model="row.name"
/> />
<VnInput <VnInput :label="t('globals.phone')" v-model="row.phone" />
:label="t('supplier.contacts.phone')" <VnInput :label="t('globals.mobile')" v-model="row.mobile" />
v-model="row.phone" <VnInput :label="t('globals.params.email')" v-model="row.email" />
/>
<VnInput
:label="t('supplier.contacts.mobile')"
v-model="row.mobile"
/>
<VnInput
:label="t('supplier.contacts.email')"
v-model="row.email"
/>
</VnRow> </VnRow>
<VnRow class="row q-gutter-md"> <VnRow class="row q-gutter-md">
<QInput <QInput

View File

@ -116,7 +116,7 @@ const getEntryQueryParams = (supplier) => {
<VnLv :label="t('supplier.summary.taxNumber')" :value="entity.nif" /> <VnLv :label="t('supplier.summary.taxNumber')" :value="entity.nif" />
<VnLv label="Alias" :value="entity.nickname" /> <VnLv label="Alias" :value="entity.nickname" />
<VnLv <VnLv
:label="t('supplier.summary.payMethod')" :label="t('supplier.list.payMethod')"
:value="entity?.payMethod?.name" :value="entity?.payMethod?.name"
/> />
<VnLv <VnLv

View File

@ -147,16 +147,12 @@ function handleLocation(data, location) {
/> />
<VnInput <VnInput
v-model="data.healthRegister" v-model="data.healthRegister"
:label="t('supplier.fiscalData.healthRegister')" :label="t('supplier.summary.healthRegister')"
clearable clearable
/> />
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnInput <VnInput v-model="data.street" :label="t('globals.street')" clearable />
v-model="data.street"
:label="t('supplier.fiscalData.street')"
clearable
/>
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnLocation <VnLocation

View File

@ -82,7 +82,7 @@ const getUrl = (section) => `#/supplier/${entityId.value}/${section}`;
:text="t('supplier.summary.billingData')" :text="t('supplier.summary.billingData')"
/> />
<VnLv <VnLv
:label="t('supplier.summary.payMethod')" :label="t('supplier.list.payMethod')"
:value="supplier.payMethod?.name" :value="supplier.payMethod?.name"
dash dash
/> />
@ -131,19 +131,16 @@ const getUrl = (section) => `#/supplier/${entityId.value}/${section}`;
/> />
<VnLv :label="t('supplier.summary.socialName')" :value="supplier.name" /> <VnLv :label="t('supplier.summary.socialName')" :value="supplier.name" />
<VnLv :label="t('supplier.summary.taxNumber')" :value="supplier.nif" /> <VnLv :label="t('supplier.summary.taxNumber')" :value="supplier.nif" />
<VnLv :label="t('supplier.summary.street')" :value="supplier.street" /> <VnLv :label="t('globals.street')" :value="supplier.street" />
<VnLv :label="t('supplier.summary.city')" :value="supplier.city" /> <VnLv :label="t('supplier.summary.city')" :value="supplier.city" />
<VnLv <VnLv :label="t('globals.postCode')" :value="supplier.postCode" />
:label="t('supplier.summary.postCode')"
:value="supplier.postCode"
/>
<VnLv <VnLv
:label="t('supplier.summary.province')" :label="t('supplier.summary.province')"
:value="supplier.province?.name" :value="supplier.province?.name"
dash dash
/> />
<VnLv <VnLv
:label="t('supplier.summary.country')" :label="t('globals.country')"
:value="supplier.country?.name" :value="supplier.country?.name"
dash dash
/> />

View File

@ -12,13 +12,13 @@ const tableRef = ref();
const columns = computed(() => [ const columns = computed(() => [
{ {
align: 'left', align: 'left',
label: t('supplier.list.tableVisibleColumns.id'), label: t('globals.id'),
name: 'id', name: 'id',
isTitle: true, isTitle: true,
}, },
{ {
align: 'left', align: 'left',
label: t('supplier.list.tableVisibleColumns.name'), label: t('globals.name'),
name: 'socialName', name: 'socialName',
create: true, create: true,
columnFilter: { columnFilter: {
@ -35,7 +35,7 @@ const columns = computed(() => [
}, },
{ {
align: 'left', align: 'left',
label: t('supplier.list.tableVisibleColumns.nickname'), label: t('globals.alias'),
name: 'alias', name: 'alias',
columnFilter: { columnFilter: {
name: 'search', name: 'search',
@ -51,7 +51,7 @@ const columns = computed(() => [
}, },
{ {
align: 'left', align: 'left',
label: t('supplier.list.tableVisibleColumns.payMethod'), label: t('supplier.list.payMethod'),
name: 'payMethod', name: 'payMethod',
columnFilter: { columnFilter: {
inWhere: true, inWhere: true,
@ -70,7 +70,7 @@ const columns = computed(() => [
}, },
{ {
align: 'left', align: 'left',
label: t('supplier.list.tableVisibleColumns.payDay'), label: t('supplier.summary.payDay'),
name: 'payDay', name: 'payDay',
columnFilter: { columnFilter: {
inWhere: true, inWhere: true,
@ -79,7 +79,7 @@ const columns = computed(() => [
}, },
{ {
align: 'left', align: 'left',
label: t('supplier.list.tableVisibleColumns.country'), label: t('globals.country'),
name: 'country', name: 'country',
columnFilter: { columnFilter: {
component: 'select', component: 'select',

View File

@ -136,13 +136,13 @@ async function getVideoList(expeditionId, timed) {
<QItemLabel class="text-h6">#{{ expedition.id }}</QItemLabel> <QItemLabel class="text-h6">#{{ expedition.id }}</QItemLabel>
</QItemSection> </QItemSection>
<QItemSection> <QItemSection>
<QItemLabel caption>{{ t('ticket.boxing.created') }}</QItemLabel> <QItemLabel caption>{{ t('globals.created') }}</QItemLabel>
<QItemLabel> <QItemLabel>
{{ {{
date.formatDate(expedition.created, 'YYYY-MM-DD HH:mm:ss') date.formatDate(expedition.created, 'YYYY-MM-DD HH:mm:ss')
}} }}
</QItemLabel> </QItemLabel>
<QItemLabel caption>{{ t('ticket.boxing.item') }}</QItemLabel> <QItemLabel caption>{{ t('globals.item') }}</QItemLabel>
<QItemLabel>{{ expedition.packagingItemFk }}</QItemLabel> <QItemLabel>{{ expedition.packagingItemFk }}</QItemLabel>
<QItemLabel caption>{{ t('ticket.boxing.worker') }}</QItemLabel> <QItemLabel caption>{{ t('ticket.boxing.worker') }}</QItemLabel>
<QItemLabel>{{ expedition.userName }}</QItemLabel> <QItemLabel>{{ expedition.userName }}</QItemLabel>

View File

@ -125,7 +125,7 @@ function ticketFilter(ticket) {
</span> </span>
</template> </template>
</VnLv> </VnLv>
<VnLv v-if="entity.ticketState" :label="t('ticket.card.state')"> <VnLv v-if="entity.ticketState" :label="t('globals.state')">
<template #value> <template #value>
<QBadge <QBadge
text-color="black" text-color="black"
@ -149,11 +149,11 @@ function ticketFilter(ticket) {
/> />
<VnLv <VnLv
v-if="entity.agencyMode" v-if="entity.agencyMode"
:label="t('ticket.card.agency')" :label="t('globals.agency')"
:value="entity.agencyMode.name" :value="entity.agencyMode.name"
/> />
<VnLv :label="t('ticket.card.warehouse')" :value="entity.warehouse?.name" /> <VnLv :label="t('globals.warehouse')" :value="entity.warehouse?.name" />
<VnLv :label="t('ticket.card.alias')" :value="entity.nickname" /> <VnLv :label="t('globals.alias')" :value="entity.nickname" />
</template> </template>
<template #icons="{ entity }"> <template #icons="{ entity }">
<QCardActions class="q-gutter-x-xs"> <QCardActions class="q-gutter-x-xs">

View File

@ -132,7 +132,7 @@ function toTicketUrl(section) {
:url="toTicketUrl('basic-data')" :url="toTicketUrl('basic-data')"
:text="t('globals.summary.basicData')" :text="t('globals.summary.basicData')"
/> />
<VnLv v-if="entity.ticketState" :label="t('ticket.summary.state')"> <VnLv v-if="entity.ticketState" :label="t('globals.state')">
<template #value> <template #value>
<QBadge <QBadge
text-color="black" text-color="black"
@ -150,10 +150,7 @@ function toTicketUrl(section) {
/> />
</template> </template>
</VnLv> </VnLv>
<VnLv <VnLv :label="t('globals.agency')" :value="entity.agencyMode?.name" />
:label="t('ticket.summary.agency')"
:value="entity.agencyMode?.name"
/>
<VnLv :label="t('ticket.summary.zone')"> <VnLv :label="t('ticket.summary.zone')">
<template #value> <template #value>
<span class="link" @click.stop> <span class="link" @click.stop>
@ -162,10 +159,7 @@ function toTicketUrl(section) {
</span> </span>
</template> </template>
</VnLv> </VnLv>
<VnLv <VnLv :label="t('globals.warehouse')" :value="entity.warehouse?.name" />
:label="t('ticket.summary.warehouse')"
:value="entity.warehouse?.name"
/>
<VnLv <VnLv
v-if="ticket?.ticketCollections?.length > 0" v-if="ticket?.ticketCollections?.length > 0"
:label="t('ticket.summary.collection')" :label="t('ticket.summary.collection')"
@ -211,10 +205,7 @@ function toTicketUrl(section) {
:label="t('ticket.summary.shipped')" :label="t('ticket.summary.shipped')"
:value="toDate(entity.shipped)" :value="toDate(entity.shipped)"
/> />
<VnLv <VnLv :label="t('globals.landed')" :value="toDate(entity.landed)" />
:label="t('ticket.summary.landed')"
:value="toDate(entity.landed)"
/>
<VnLv :label="t('globals.packages')" :value="entity.packages" /> <VnLv :label="t('globals.packages')" :value="entity.packages" />
<VnLv :value="entity.address.phone"> <VnLv :value="entity.address.phone">
<template #label> <template #label>
@ -281,11 +272,11 @@ function toTicketUrl(section) {
<VnTitle :text="t('ticket.summary.summaryAmount')" /> <VnTitle :text="t('ticket.summary.summaryAmount')" />
<div class="bodyCard"> <div class="bodyCard">
<VnLv <VnLv
:label="t('ticket.summary.subtotal')" :label="t('globals.subtotal')"
:value="toCurrency(entity.totalWithoutVat)" :value="toCurrency(entity.totalWithoutVat)"
/> />
<VnLv <VnLv
:label="t('ticket.summary.vat')" :label="t('globals.vat')"
:value="toCurrency(entity.totalWithVat - entity.totalWithoutVat)" :value="toCurrency(entity.totalWithVat - entity.totalWithoutVat)"
/> />
<VnLv <VnLv
@ -307,12 +298,12 @@ function toTicketUrl(section) {
<template #header="props"> <template #header="props">
<QTr class="tr-header" :props="props"> <QTr class="tr-header" :props="props">
<QTh auto-width></QTh> <QTh auto-width></QTh>
<QTh auto-width>{{ t('ticket.summary.item') }}</QTh> <QTh auto-width>{{ t('globals.item') }}</QTh>
<QTh auto-width>{{ t('ticket.summary.visible') }}</QTh> <QTh auto-width>{{ t('globals.visible') }}</QTh>
<QTh auto-width>{{ t('ticket.summary.available') }}</QTh> <QTh auto-width>{{ t('ticket.summary.available') }}</QTh>
<QTh auto-width>{{ t('globals.quantity') }}</QTh> <QTh auto-width>{{ t('globals.quantity') }}</QTh>
<QTh auto-width>{{ t('globals.description') }}</QTh> <QTh auto-width>{{ t('globals.description') }}</QTh>
<QTh auto-width>{{ t('ticket.summary.price') }}</QTh> <QTh auto-width>{{ t('globals.price') }}</QTh>
<QTh auto-width>{{ t('ticket.summary.discount') }}</QTh> <QTh auto-width>{{ t('ticket.summary.discount') }}</QTh>
<QTh auto-width>{{ t('globals.amount') }}</QTh> <QTh auto-width>{{ t('globals.amount') }}</QTh>
<QTh auto-width>{{ t('ticket.summary.packing') }}</QTh> <QTh auto-width>{{ t('ticket.summary.packing') }}</QTh>
@ -364,7 +355,7 @@ function toTicketUrl(section) {
size="xs" size="xs"
> >
<QTooltip> <QTooltip>
{{ t('ticket.summary.visible') }}: {{ t('globals.visible') }}:
{{ props.row.visible }} {{ props.row.visible }}
</QTooltip> </QTooltip>
</QIcon> </QIcon>
@ -471,7 +462,7 @@ function toTicketUrl(section) {
<QTable :rows="ticket.packagings" flat style="text-align: center"> <QTable :rows="ticket.packagings" flat style="text-align: center">
<template #header="props"> <template #header="props">
<QTr class="tr-header" :props="props"> <QTr class="tr-header" :props="props">
<QTh auto-width>{{ t('ticket.summary.created') }}</QTh> <QTh auto-width>{{ t('globals.created') }}</QTh>
<QTh auto-width>{{ t('ticket.summary.package') }}</QTh> <QTh auto-width>{{ t('ticket.summary.package') }}</QTh>
<QTh auto-width>{{ t('globals.quantity') }}</QTh> <QTh auto-width>{{ t('globals.quantity') }}</QTh>
</QTr> </QTr>
@ -495,7 +486,7 @@ function toTicketUrl(section) {
<QTr class="tr-header" :props="props"> <QTr class="tr-header" :props="props">
<QTh auto-width>{{ t('globals.quantity') }}</QTh> <QTh auto-width>{{ t('globals.quantity') }}</QTh>
<QTh auto-width>{{ t('globals.description') }}</QTh> <QTh auto-width>{{ t('globals.description') }}</QTh>
<QTh auto-width>{{ t('ticket.summary.price') }}</QTh> <QTh auto-width>{{ t('globals.price') }}</QTh>
<QTh auto-width>{{ t('ticket.summary.taxClass') }}</QTh> <QTh auto-width>{{ t('ticket.summary.taxClass') }}</QTh>
<QTh auto-width>{{ t('globals.amount') }}</QTh> <QTh auto-width>{{ t('globals.amount') }}</QTh>
</QTr> </QTr>
@ -522,12 +513,12 @@ function toTicketUrl(section) {
<template #header="props"> <template #header="props">
<QTr class="tr-header" :props="props"> <QTr class="tr-header" :props="props">
<QTh auto-width>{{ t('globals.description') }}</QTh> <QTh auto-width>{{ t('globals.description') }}</QTh>
<QTh auto-width>{{ t('ticket.summary.created') }}</QTh> <QTh auto-width>{{ t('globals.created') }}</QTh>
<QTh auto-width>{{ t('ticket.summary.requester') }}</QTh> <QTh auto-width>{{ t('ticket.summary.requester') }}</QTh>
<QTh auto-width>{{ t('ticket.summary.attender') }}</QTh> <QTh auto-width>{{ t('ticket.summary.attender') }}</QTh>
<QTh auto-width>{{ t('globals.quantity') }}</QTh> <QTh auto-width>{{ t('globals.quantity') }}</QTh>
<QTh auto-width>{{ t('ticket.summary.price') }}</QTh> <QTh auto-width>{{ t('globals.price') }}</QTh>
<QTh auto-width>{{ t('ticket.summary.item') }}</QTh> <QTh auto-width>{{ t('globals.item') }}</QTh>
<QTh auto-width>{{ t('ticket.summary.ok') }}</QTh> <QTh auto-width>{{ t('ticket.summary.ok') }}</QTh>
</QTr> </QTr>
</template> </template>

View File

@ -134,7 +134,7 @@ const redirectToTicketList = (_, { id }) => {
<VnRow> <VnRow>
<div class="col"> <div class="col">
<VnSelect <VnSelect
:label="t('ticket.create.client')" :label="t('globals.client')"
v-model="data.clientId" v-model="data.clientId"
:options="clientOptions" :options="clientOptions"
option-value="id" option-value="id"
@ -188,7 +188,7 @@ const redirectToTicketList = (_, { id }) => {
<div class="col"> <div class="col">
<VnInputDate <VnInputDate
placeholder="dd-mm-aaa" placeholder="dd-mm-aaa"
:label="t('ticket.create.landed')" :label="t('globals.landed')"
v-model="data.landed" v-model="data.landed"
@update:model-value="() => fetchAvailableAgencies(data)" @update:model-value="() => fetchAvailableAgencies(data)"
/> />
@ -197,7 +197,7 @@ const redirectToTicketList = (_, { id }) => {
<VnRow> <VnRow>
<div class="col"> <div class="col">
<VnSelect <VnSelect
:label="t('ticket.create.warehouse')" :label="t('globals.warehouse')"
v-model="data.warehouseId" v-model="data.warehouseId"
:options="warehousesOptions" :options="warehousesOptions"
option-value="id" option-value="id"
@ -210,7 +210,7 @@ const redirectToTicketList = (_, { id }) => {
<VnRow> <VnRow>
<div class="col"> <div class="col">
<VnSelect <VnSelect
:label="t('ticket.create.agency')" :label="t('globals.agency')"
v-model="data.agencyModeId" v-model="data.agencyModeId"
:options="agenciesOptions" :options="agenciesOptions"
option-value="agencyModeFk" option-value="agencyModeFk"

View File

@ -128,7 +128,7 @@ const redirectToTicketList = (_, { id }) => {
<VnRow> <VnRow>
<div class="col"> <div class="col">
<VnSelect <VnSelect
:label="t('ticket.create.client')" :label="t('globals.client')"
v-model="data.clientId" v-model="data.clientId"
url="Clients" url="Clients"
:fields="['id', 'name', 'defaultAddressFk']" :fields="['id', 'name', 'defaultAddressFk']"
@ -184,7 +184,7 @@ const redirectToTicketList = (_, { id }) => {
<div class="col"> <div class="col">
<VnInputDate <VnInputDate
placeholder="dd-mm-aaa" placeholder="dd-mm-aaa"
:label="t('ticket.create.landed')" :label="t('globals.landed')"
v-model="data.landed" v-model="data.landed"
@update:model-value="() => fetchAvailableAgencies(data)" @update:model-value="() => fetchAvailableAgencies(data)"
/> />
@ -193,7 +193,7 @@ const redirectToTicketList = (_, { id }) => {
<VnRow> <VnRow>
<div class="col"> <div class="col">
<VnSelect <VnSelect
:label="t('ticket.create.warehouse')" :label="t('globals.warehouse')"
v-model="data.warehouseId" v-model="data.warehouseId"
:options="warehousesOptions" :options="warehousesOptions"
option-value="id" option-value="id"
@ -206,7 +206,7 @@ const redirectToTicketList = (_, { id }) => {
<VnRow> <VnRow>
<div class="col"> <div class="col">
<VnSelect <VnSelect
:label="t('ticket.create.agency')" :label="t('globals.agency')"
v-model="data.agencyModeId" v-model="data.agencyModeId"
:options="agenciesOptions" :options="agenciesOptions"
option-value="agencyModeFk" option-value="agencyModeFk"

View File

@ -661,7 +661,7 @@ function setReference(data) {
<div class="col"> <div class="col">
<VnInputDate <VnInputDate
placeholder="dd-mm-aaa" placeholder="dd-mm-aaa"
:label="t('ticket.create.landed')" :label="t('globals.landed')"
v-model="data.landed" v-model="data.landed"
@update:model-value="() => fetchAvailableAgencies(data)" @update:model-value="() => fetchAvailableAgencies(data)"
/> />
@ -672,7 +672,7 @@ function setReference(data) {
<VnSelect <VnSelect
url="Warehouses" url="Warehouses"
:sort-by="['name']" :sort-by="['name']"
:label="t('ticket.create.warehouse')" :label="t('globals.warehouse')"
v-model="data.warehouseId" v-model="data.warehouseId"
:options="warehousesOptions" :options="warehousesOptions"
option-value="id" option-value="id"
@ -685,7 +685,7 @@ function setReference(data) {
<VnRow> <VnRow>
<div class="col"> <div class="col">
<VnSelect <VnSelect
:label="t('ticket.create.agency')" :label="t('globals.agency')"
v-model="data.agencyModeId" v-model="data.agencyModeId"
:options="agenciesOptions" :options="agenciesOptions"
option-value="agencyModeFk" option-value="agencyModeFk"

View File

@ -31,7 +31,7 @@ const agenciesOptions = ref([]);
<VnRow> <VnRow>
<VnInput v-model="data.ref" :label="t('globals.reference')" /> <VnInput v-model="data.ref" :label="t('globals.reference')" />
<VnSelect <VnSelect
:label="t('travel.basicData.agency')" :label="t('globals.agency')"
v-model="data.agencyModeFk" v-model="data.agencyModeFk"
:options="agenciesOptions" :options="agenciesOptions"
option-value="id" option-value="id"
@ -42,14 +42,11 @@ const agenciesOptions = ref([]);
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnInputDate v-model="data.shipped" :label="t('globals.shipped')" /> <VnInputDate v-model="data.shipped" :label="t('globals.shipped')" />
<VnInputDate <VnInputDate v-model="data.landed" :label="t('globals.landed')" />
v-model="data.landed"
:label="t('travel.basicData.landed')"
/>
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnSelect <VnSelect
:label="t('travel.basicData.warehouseOut')" :label="t('globals.warehouseOut')"
v-model="data.warehouseOutFk" v-model="data.warehouseOutFk"
:options="agenciesOptions" :options="agenciesOptions"
option-value="id" option-value="id"
@ -58,7 +55,7 @@ const agenciesOptions = ref([]);
hide-selected hide-selected
/> />
<VnSelect <VnSelect
:label="t('travel.basicData.warehouseIn')" :label="t('globals.warehouseIn')"
v-model="data.warehouseInFk" v-model="data.warehouseInFk"
:options="agenciesOptions" :options="agenciesOptions"
option-value="id" option-value="id"
@ -72,11 +69,11 @@ const agenciesOptions = ref([]);
</VnRow> </VnRow>
<VnRow> <VnRow>
<QCheckbox <QCheckbox
:label="t('travel.basicData.delivered')" :label="t('travel.summary.delivered')"
v-model="data.isDelivered" v-model="data.isDelivered"
/> />
<QCheckbox <QCheckbox
:label="t('travel.basicData.received')" :label="t('travel.summary.received')"
v-model="data.isReceived" v-model="data.isReceived"
/> />
</VnRow> </VnRow>

View File

@ -71,8 +71,8 @@ const setData = (entity) => (data.value = useCardDescription(entity.ref, entity.
<TravelDescriptorMenuItems :travel="entity" /> <TravelDescriptorMenuItems :travel="entity" />
</template> </template>
<template #body="{ entity }"> <template #body="{ entity }">
<VnLv :label="t('globals.wareHouseIn')" :value="entity.warehouseIn.name" /> <VnLv :label="t('globals.warehouseIn')" :value="entity.warehouseIn.name" />
<VnLv :label="t('globals.wareHouseOut')" :value="entity.warehouseOut.name" /> <VnLv :label="t('globals.warehouseOut')" :value="entity.warehouseOut.name" />
<VnLv :label="t('globals.shipped')" :value="toDate(entity.shipped)" /> <VnLv :label="t('globals.shipped')" :value="toDate(entity.shipped)" />
<VnLv :label="t('globals.landed')" :value="toDate(entity.landed)" /> <VnLv :label="t('globals.landed')" :value="toDate(entity.landed)" />
<VnLv :label="t('globals.totalEntries')" :value="entity.totalEntries" /> <VnLv :label="t('globals.totalEntries')" :value="entity.totalEntries" />

View File

@ -33,7 +33,7 @@ const warehouses = ref([]);
const entriesTableColumns = computed(() => { const entriesTableColumns = computed(() => {
return [ return [
{ {
label: t('travel.summary.confirmed'), label: t('globals.confirmed'),
field: 'isConfirmed', field: 'isConfirmed',
name: 'isConfirmed', name: 'isConfirmed',
align: 'left', align: 'left',
@ -136,7 +136,7 @@ const thermographsTableColumns = computed(() => {
format: (val) => (val ? `${val}°` : ''), format: (val) => (val ? `${val}°` : ''),
}, },
{ {
label: t('travel.thermographs.state'), label: t('globals.state'),
field: 'result', field: 'result',
name: 'result', name: 'result',
align: 'left', align: 'left',
@ -150,7 +150,7 @@ const thermographsTableColumns = computed(() => {
warehouses.value.find((warehouse) => warehouse.id === val)?.name, warehouses.value.find((warehouse) => warehouse.id === val)?.name,
}, },
{ {
label: t('travel.thermographs.created'), label: t('globals.created'),
field: 'created', field: 'created',
name: 'created', name: 'created',
align: 'left', align: 'left',
@ -265,7 +265,7 @@ const getLink = (param) => `#/travel/${entityId.value}/${param}`;
</QCardSection> </QCardSection>
<VnLv :label="t('globals.shipped')" :value="toDate(travel.shipped)" /> <VnLv :label="t('globals.shipped')" :value="toDate(travel.shipped)" />
<VnLv <VnLv
:label="t('globals.wareHouseOut')" :label="t('globals.warehouseOut')"
:value="travel.warehouseOut?.name" :value="travel.warehouseOut?.name"
/> />
<QCheckbox <QCheckbox
@ -283,7 +283,7 @@ const getLink = (param) => `#/travel/${entityId.value}/${param}`;
</QCardSection> </QCardSection>
<VnLv :label="t('globals.landed')" :value="toDate(travel.landed)" /> <VnLv :label="t('globals.landed')" :value="toDate(travel.landed)" />
<VnLv <VnLv
:label="t('globals.wareHouseIn')" :label="t('globals.warehouseIn')"
:value="travel.warehouseIn?.name" :value="travel.warehouseIn?.name"
/> />
<QCheckbox <QCheckbox

View File

@ -62,7 +62,7 @@ const TableColumns = computed(() => {
format: (val) => (val ? `${val}°` : ''), format: (val) => (val ? `${val}°` : ''),
}, },
{ {
label: t('travel.thermographs.state'), label: t('globals.state'),
field: 'result', field: 'result',
name: 'result', name: 'result',
align: 'left', align: 'left',
@ -76,7 +76,7 @@ const TableColumns = computed(() => {
warehouses.value.find((warehouse) => warehouse.id === val)?.name, warehouses.value.find((warehouse) => warehouse.id === val)?.name,
}, },
{ {
label: t('travel.thermographs.created'), label: t('globals.created'),
field: 'created', field: 'created',
name: 'created', name: 'created',
align: 'left', align: 'left',

View File

@ -216,7 +216,7 @@ const onThermographCreated = async (data) => {
</VnSelectDialog> </VnSelectDialog>
<VnInput <VnInput
v-model="thermographForm.state" v-model="thermographForm.state"
:label="t('travel.thermographs.state')" :label="t('globals.state')"
/> />
</VnRow> </VnRow>
<VnRow> <VnRow>
@ -225,7 +225,7 @@ const onThermographCreated = async (data) => {
:label="t('globals.reference')" :label="t('globals.reference')"
/> />
<VnSelect <VnSelect
:label="t('travel.thermographs.type')" :label="t('globals.type')"
v-model="thermographForm.dmsTypeId" v-model="thermographForm.dmsTypeId"
:options="dmsTypesOptions" :options="dmsTypesOptions"
option-value="id" option-value="id"
@ -234,14 +234,14 @@ const onThermographCreated = async (data) => {
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnSelect <VnSelect
:label="t('travel.thermographs.company')" :label="t('globals.company')"
v-model="thermographForm.companyId" v-model="thermographForm.companyId"
:options="companiesOptions" :options="companiesOptions"
option-value="id" option-value="id"
option-label="code" option-label="code"
/> />
<VnSelect <VnSelect
:label="t('travel.thermographs.warehouse')" :label="t('globals.warehouse')"
v-model="thermographForm.warehouseId" v-model="thermographForm.warehouseId"
:options="warehousesOptions" :options="warehousesOptions"
option-value="id" option-value="id"

View File

@ -220,7 +220,7 @@ const columns = computed(() => [
sortable: true, sortable: true,
}, },
{ {
label: t('globals.wareHouseOut'), label: t('globals.warehouseOut'),
field: 'warehouseOutName', field: 'warehouseOutName',
name: 'warehouseOutName', name: 'warehouseOutName',
align: 'left', align: 'left',
@ -237,7 +237,7 @@ const columns = computed(() => [
format: (value) => toDate(value), format: (value) => toDate(value),
}, },
{ {
label: t('globals.wareHouseIn'), label: t('globals.wareHhuseIn'),
field: 'warehouseInName', field: 'warehouseInName',
name: 'warehouseInName', name: 'warehouseInName',
align: 'left', align: 'left',

View File

@ -74,7 +74,7 @@ const redirectToTravelBasicData = (_, { id }) => {
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnSelect <VnSelect
:label="t('globals.wareHouseOut')" :label="t('globals.warehouseOut')"
v-model="data.warehouseOutFk" v-model="data.warehouseOutFk"
:options="warehousesOptions" :options="warehousesOptions"
option-value="id" option-value="id"
@ -82,7 +82,7 @@ const redirectToTravelBasicData = (_, { id }) => {
hide-selected hide-selected
/> />
<VnSelect <VnSelect
:label="t('globals.wareHouseIn')" :label="t('globals.warehouseIn')"
v-model="data.warehouseInFk" v-model="data.warehouseInFk"
:options="warehousesOptions" :options="warehousesOptions"
option-value="id" option-value="id"

View File

@ -48,7 +48,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
name: 'id', name: 'id',
label: t('travel.travelList.tableVisibleColumns.id'), label: t('globals.id'),
isId: true, isId: true,
cardVisible: true, cardVisible: true,
}, },
@ -66,7 +66,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
name: 'agencyModeFk', name: 'agencyModeFk',
label: t('travel.travelList.tableVisibleColumns.agency'), label: t('globals.agency'),
component: 'select', component: 'select',
attrs: { attrs: {
url: 'agencyModes', url: 'agencyModes',
@ -82,7 +82,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
name: 'warehouseInFk', name: 'warehouseInFk',
label: t('travel.travelList.tableVisibleColumns.warehouseIn'), label: t('globals.warehouseIn'),
component: 'select', component: 'select',
attrs: { attrs: {
url: 'warehouses', url: 'warehouses',
@ -118,7 +118,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
name: 'warehouseOutFk', name: 'warehouseOutFk',
label: t('travel.travelList.tableVisibleColumns.warehouseOut'), label: t('globals.warehouseOut'),
component: 'select', component: 'select',
attrs: { attrs: {
url: 'warehouses', url: 'warehouses',
@ -134,7 +134,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
name: 'landed', name: 'landed',
label: t('travel.travelList.tableVisibleColumns.landed'), label: t('globals.landed'),
component: 'date', component: 'date',
columnField: { columnField: {
component: null, component: null,

View File

@ -95,7 +95,7 @@ watch(
<VnInput <VnInput
filled filled
v-model="data.name" v-model="data.name"
:label="t('wagon.type.name')" :label="t('globals.name')"
:rules="[(val) => !!val || t('wagon.warnings.nameNotEmpty')]" :rules="[(val) => !!val || t('wagon.warnings.nameNotEmpty')]"
/> />
<QCheckbox <QCheckbox

View File

@ -103,7 +103,7 @@ function filterType(val, update) {
<VnInput <VnInput
filled filled
v-model="wagon.plate" v-model="wagon.plate"
:label="t('wagon.create.plate')" :label="t('wagon.list.plate')"
:rules="[(val) => !!val || t('wagon.warnings.plateNotEmpty')]" :rules="[(val) => !!val || t('wagon.warnings.plateNotEmpty')]"
/> />
</div> </div>
@ -127,7 +127,7 @@ function filterType(val, update) {
option-value="id" option-value="id"
emit-value emit-value
map-options map-options
:label="t('wagon.create.type')" :label="t('globals.type')"
:options="filteredWagonTypes" :options="filteredWagonTypes"
:rules="[(val) => !!val || t('wagon.warnings.typeNotEmpty')]" :rules="[(val) => !!val || t('wagon.warnings.typeNotEmpty')]"
@filter="filterType" @filter="filterType"

View File

@ -46,7 +46,7 @@ const columns = computed(() => [
{ {
align: 'left', align: 'left',
name: 'name', name: 'name',
label: t('wagon.list.type'), label: t('globals.type'),
cardVisible: true, cardVisible: true,
format: (row) => row?.type?.name, format: (row) => row?.type?.name,
}, },
@ -123,7 +123,7 @@ async function remove(row) {
<VnInput <VnInput
filled filled
v-model="data.plate" v-model="data.plate"
:label="t('wagon.create.plate')" :label="t('wagon.list.plate')"
:rules="[(val) => !!val || t('wagon.warnings.plateNotEmpty')]" :rules="[(val) => !!val || t('wagon.warnings.plateNotEmpty')]"
/> />
<VnInput <VnInput
@ -146,7 +146,7 @@ async function remove(row) {
option-value="id" option-value="id"
emit-value emit-value
map-options map-options
:label="t('wagon.create.type')" :label="t('globals.type')"
:options="filteredWagonTypes" :options="filteredWagonTypes"
:rules="[(val) => !!val || t('wagon.warnings.typeNotEmpty')]" :rules="[(val) => !!val || t('wagon.warnings.typeNotEmpty')]"
@filter="filterType" @filter="filterType"

View File

@ -140,7 +140,7 @@ const handlePhotoUpdated = (evt = false) => {
<template #body="{ entity }"> <template #body="{ entity }">
<VnLv :label="t('globals.user')" :value="entity.user?.name" /> <VnLv :label="t('globals.user')" :value="entity.user?.name" />
<VnLv <VnLv
:label="t('worker.card.email')" :label="t('globals.params.email')"
:value="entity.user?.emailUser?.email" :value="entity.user?.emailUser?.email"
copy copy
/> />
@ -150,7 +150,7 @@ const handlePhotoUpdated = (evt = false) => {
/> />
<VnLv :value="entity.phone"> <VnLv :value="entity.phone">
<template #label> <template #label>
{{ t('worker.card.phone') }} {{ t('globals.phone') }}
<VnLinkPhone :phone-number="entity.phone" /> <VnLinkPhone :phone-number="entity.phone" />
</template> </template>
</VnLv> </VnLv>

View File

@ -53,7 +53,7 @@ onBeforeMount(async () => {
<template #body="{ entity: worker }"> <template #body="{ entity: worker }">
<QCard class="vn-one"> <QCard class="vn-one">
<VnTitle :url="basicDataUrl" :text="t('globals.summary.basicData')" /> <VnTitle :url="basicDataUrl" :text="t('globals.summary.basicData')" />
<VnLv :label="t('worker.card.name')" :value="worker.user?.nickname" /> <VnLv :label="t('globals.name')" :value="worker.user?.nickname" />
<VnLv :label="t('worker.list.department')"> <VnLv :label="t('worker.list.department')">
<template #value> <template #value>
<span class="link" v-text="worker.department?.department?.name" /> <span class="link" v-text="worker.department?.department?.name" />
@ -119,9 +119,9 @@ onBeforeMount(async () => {
</QCard> </QCard>
<QCard class="vn-one"> <QCard class="vn-one">
<VnTitle :text="t('worker.summary.userData')" /> <VnTitle :text="t('worker.summary.userData')" />
<VnLv :label="t('worker.card.name')" :value="worker?.user?.nickname" /> <VnLv :label="t('globals.name')" :value="worker?.user?.nickname" />
<VnLv <VnLv
:label="t('worker.list.email')" :label="t('globals.params.email')"
:value="worker.user?.emailUser?.email" :value="worker.user?.emailUser?.email"
copy copy
/> />

View File

@ -111,7 +111,7 @@ async function autofillBic(worker) {
<VnRow> <VnRow>
<VnInput <VnInput
v-model="data.firstName" v-model="data.firstName"
:label="t('worker.create.name')" :label="t('globals.name')"
:rules="validate('Worker.firstName')" :rules="validate('Worker.firstName')"
@update:model-value="generateCodeUser(data)" @update:model-value="generateCodeUser(data)"
/> />
@ -141,7 +141,7 @@ async function autofillBic(worker) {
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnSelect <VnSelect
:label="t('worker.create.company')" :label="t('globals.company')"
v-model="data.companyFk" v-model="data.companyFk"
:options="companiesOptions" :options="companiesOptions"
option-value="id" option-value="id"
@ -150,7 +150,7 @@ async function autofillBic(worker) {
:rules="validate('Worker.company')" :rules="validate('Worker.company')"
/> />
<VnSelect <VnSelect
:label="t('worker.create.boss')" :label="t('worker.summary.boss')"
v-model="data.bossFk" v-model="data.bossFk"
url="Workers/search" url="Workers/search"
option-value="id" option-value="id"
@ -185,7 +185,7 @@ async function autofillBic(worker) {
/> />
<VnInput <VnInput
v-model="data.phone" v-model="data.phone"
:label="t('worker.create.phone')" :label="t('globals.phone')"
:rules="validate('Worker.phone')" :rules="validate('Worker.phone')"
:disable="formData.isFreelance" :disable="formData.isFreelance"
/> />
@ -201,7 +201,7 @@ async function autofillBic(worker) {
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnInput <VnInput
:label="t('worker.create.street')" :label="t('globals.street')"
v-model="data.street" v-model="data.street"
:rules="validate('Worker.street')" :rules="validate('Worker.street')"
:disable="formData.isFreelance" :disable="formData.isFreelance"

View File

@ -233,7 +233,7 @@ async function autofillBic(worker) {
<VnInput <VnInput
next next
v-model="data.firstName" v-model="data.firstName"
:label="t('worker.create.name')" :label="t('globals.name')"
@update:model-value="generateCodeUser(data)" @update:model-value="generateCodeUser(data)"
/> />
<VnInput <VnInput
@ -253,7 +253,7 @@ async function autofillBic(worker) {
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnSelect <VnSelect
:label="t('worker.create.company')" :label="t('globals.company')"
v-model="data.companyFk" v-model="data.companyFk"
:options="companiesOptions" :options="companiesOptions"
option-value="id" option-value="id"
@ -261,7 +261,7 @@ async function autofillBic(worker) {
hide-selected hide-selected
/> />
<VnSelect <VnSelect
:label="t('worker.create.boss')" :label="t('worker.summary.boss')"
v-model="data.bossFk" v-model="data.bossFk"
url="Workers/search" url="Workers/search"
option-value="id" option-value="id"
@ -290,7 +290,7 @@ async function autofillBic(worker) {
/> />
<VnInput <VnInput
v-model="data.phone" v-model="data.phone"
:label="t('worker.create.phone')" :label="t('globals.phone')"
:disable="data.isFreelance" :disable="data.isFreelance"
/> />
</VnRow> </VnRow>