diff --git a/data/plugin.log b/data/plugin.log index e794fcda..d269199c 100755 --- a/data/plugin.log +++ b/data/plugin.log @@ -12258,3 +12258,15 @@ Response Patch CallBell: [2026-02-19 16:26:42.624708] [debug] Payload completo client.edit: {"uuid":"38e996bc-bcc6-4e2a-838a-a428dd65226d","changeType":"edit","entity":"client","entityId":"166","eventName":"client.edit","extraData":{"entity":{"id":166,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"39 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 39, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:52-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Tejeda Gonzalez","username":null,"contacts":[{"id":172,"clientId":166,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":176,"clientId":166,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh97YcTB2MxMC","clientZoneVisible":true},{"id":177,"clientId":166,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180553664533680","clientZoneVisible":true},{"id":425,"clientId":166,"customAttributeId":15,"name":"Site","key":"site","value":"VENUS","clientZoneVisible":false},{"id":426,"clientId":166,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial de pruebas 172.16.5.134","clientZoneVisible":false},{"id":427,"clientId":166,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"eY2TdmTr#6LHNRHG","clientZoneVisible":false}],"accountBalance":-570,"accountCredit":0,"accountOutstanding":570,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":11,"name":"PAGO EJIDO GV","colorBackground":"#fed74a","colorText":"#444"}],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1574639,"addressGpsLon":-100.9374511,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":166,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"39 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 39, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-02-10T00:00:00-0600","leadConvertedAt":"2025-02-10T23:11:52-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Sebastian","lastName":"Tejeda Gonzalez","username":null,"contacts":[{"id":172,"clientId":166,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":176,"clientId":166,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Rkh97YcTB2MxMC","clientZoneVisible":true},{"id":177,"clientId":166,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180553664533680","clientZoneVisible":true},{"id":425,"clientId":166,"customAttributeId":15,"name":"Site","key":"site","value":"VENUS","clientZoneVisible":false},{"id":426,"clientId":166,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial de pruebas 172.16.5.134","clientZoneVisible":false}],"accountBalance":-570,"accountCredit":0,"accountOutstanding":570,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":11,"name":"PAGO EJIDO GV","colorBackground":"#fed74a","colorText":"#444"}],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1574639,"addressGpsLon":-100.9374511,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}} [2026-02-19 16:26:42.624766] [info] Llamando a updatePasswordAntenaIfNeeded para cliente: 166 [2026-02-19 16:26:42.624805] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 166 +[2026-02-20 16:00:06.119843] [notice] Logging level set to:debug +[2026-02-20 16:00:06.124027] [debug] Payload recibido: {"uuid":"f8f99d5e-3795-434e-a785-af73c264d6a3","changeType":"draft_approved","entity":"invoice","entityId":"3120","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3120,"clientId":122,"number":"003066","createdDate":"2026-02-20T10:00:01-0600","dueDate":"2026-03-06T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-02-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3137,"type":"service","label":"plan300 20\/01\/2026 \u2013 19\/02\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLUTARCO ELIAS CALLES 8,LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}} + +[2026-02-20 16:00:06.521218] [debug] Evento recibido: invoice.draft_approved +[2026-02-20 16:00:06.521450] [debug] Aprobación de Factura + +[2026-02-20 16:00:10.508164] [notice] Logging level set to:debug +[2026-02-20 16:00:10.508318] [debug] Payload recibido: {"uuid":"cb31c1b0-2fe8-43ac-a51e-1bc077865dba","changeType":"draft_approved","entity":"invoice","entityId":"3121","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3121,"clientId":121,"number":"003067","createdDate":"2026-02-20T10:00:01-0600","dueDate":"2026-03-06T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-02-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3138,"type":"service","label":"INTERMEDIO 20\/01\/2026 \u2013 19\/02\/2026","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}} + +[2026-02-20 16:00:10.902672] [debug] Evento recibido: invoice.draft_approved +[2026-02-20 16:00:10.902920] [debug] Aprobación de Factura + diff --git a/public.php b/public.php index f3d4920e..b45268a3 100755 --- a/public.php +++ b/public.php @@ -1326,12 +1326,56 @@ $installersData = json_decode($config['installersDataWhatsApp'] ?? '{"instalador transform: translateY(-400px) translateX(100px); } } + + [data-theme="light"] #loginOverlay { + background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%); + } + + [data-theme="light"] .login-card { + background: rgba(255, 255, 255, 0.85); + border: 1px solid rgba(0, 0, 0, 0.05); + box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05); + } + + [data-theme="light"] .login-title { + color: #0f172a; + } + + [data-theme="light"] .login-subtitle, + [data-theme="light"] .login-field label, + [data-theme="light"] .login-footer { + color: #475569; + } + + [data-theme="light"] .login-field input { + background: #ffffff; + border: 1px solid #cbd5e1; + color: #0f172a; + } + + [data-theme="light"] .login-field input:focus { + border-color: #6366f1; + box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); + background: #fff; + } + + [data-theme="light"] .login-field input::placeholder { + color: #94a3b8; + } + + [data-theme="light"] .login-particles span { + background: rgba(99, 102, 241, 0.4); + }
@@ -1882,26 +1926,29 @@ $installersData = json_decode($config['installersDataWhatsApp'] ?? '{"instalador
}
function updateThemeBtn() {
- const btn = document.getElementById('themeBtn');
- const listBox = btn.querySelector('.theme-icon-box');
- const text = document.getElementById('themeText');
-
- // Icons
const iconSun = ``;
const iconMoon = ``;
- if (store.theme === 'dark') {
- listBox.innerHTML = iconMoon;
- text.textContent = 'Modo Oscuro';
- // Add subtle glow for active mode
- btn.style.borderColor = '#6366f1';
- btn.style.background = 'rgba(30, 41, 59, 0.8)'; // Darker bg
- } else {
- listBox.innerHTML = iconSun;
- text.textContent = 'Modo Claro';
- btn.style.borderColor = '#f59e0b';
- btn.style.background = '#fff';
- }
+ document.querySelectorAll('.theme-toggle').forEach(btn => {
+ const listBox = btn.querySelector('.theme-icon-box');
+ const text = btn.querySelector('.theme-text');
+
+ if (store.theme === 'dark') {
+ if (listBox) listBox.innerHTML = iconMoon;
+ if (text) text.textContent = 'Modo Oscuro';
+ if (!btn.classList.contains('login-theme-btn')) {
+ btn.style.borderColor = '#6366f1';
+ btn.style.background = 'rgba(30, 41, 59, 0.8)';
+ }
+ } else {
+ if (listBox) listBox.innerHTML = iconSun;
+ if (text) text.textContent = 'Modo Claro';
+ if (!btn.classList.contains('login-theme-btn')) {
+ btn.style.borderColor = '#f59e0b';
+ btn.style.background = '#fff';
+ }
+ }
+ });
}
document.documentElement.setAttribute('data-theme', store.theme);
updateThemeBtn();