fix: agregar número de teléfono a la información del negocio en los servicios de cotización y ticket

This commit is contained in:
Juan Felipe Zapata Moreno 2026-03-14 13:16:52 -06:00
parent a5411a6318
commit 847d2af7ef
2 changed files with 6 additions and 6 deletions

View File

@ -11,10 +11,11 @@ const quoteService = {
*/
getBusinessInfo() {
return {
name: import.meta.env.VITE_APP_NAME || 'HIKVISION DISTRIBUIDOR',
city: import.meta.env.VITE_BUSINESS_CITY || 'Villahermosa',
state: import.meta.env.VITE_BUSINESS_STATE || 'Tabasco',
country: import.meta.env.VITE_BUSINESS_COUNTRY || 'México',
name: import.meta.env.VITE_APP_NAME,
city: import.meta.env.VITE_BUSINESS_CITY,
state: import.meta.env.VITE_BUSINESS_STATE,
country: import.meta.env.VITE_BUSINESS_COUNTRY,
phone: import.meta.env.VITE_BUSINESS_PHONE || '',
};
},
@ -103,8 +104,6 @@ const quoteService = {
const fmtDate = (d) => d.toLocaleDateString('es-MX', { year: 'numeric', month: 'long', day: 'numeric' });
doc.text(`Fecha: ${fmtDate(now)}`, left, y);
y += 4;
doc.text(`Vigencia: ${fmtDate(expiry)}`, left, y);
y += 6;
line(y);
y += 5;

View File

@ -17,6 +17,7 @@ const ticketService = {
city: import.meta.env.VITE_BUSINESS_CITY || 'Villahermosa',
state: import.meta.env.VITE_BUSINESS_STATE || 'Tabasco',
country: import.meta.env.VITE_BUSINESS_COUNTRY || 'México',
phone: import.meta.env.VITE_BUSINESS_PHONE || '',
};
},