Actualizar proveedores.html
This commit is contained in:
@@ -49,7 +49,11 @@
|
|||||||
<p class="text-sm text-slate-500 mt-1 font-medium">Filtra por proveedor, compañía o cualquier dato del asegurado.</p>
|
<p class="text-sm text-slate-500 mt-1 font-medium">Filtra por proveedor, compañía o cualquier dato del asegurado.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center gap-3">
|
<div class="flex items-center gap-3">
|
||||||
<button id="btnSmartSort" onclick="toggleSmartSort()" class="bg-indigo-50 border-2 border-indigo-100 hover:border-indigo-400 text-indigo-700 px-5 py-2.5 rounded-xl font-bold flex items-center gap-2 transition-all active:scale-95 shadow-sm">
|
<a href="importar_todo.html" target="_blank" class="bg-teal-50 border-2 border-teal-100 hover:border-teal-400 text-teal-700 px-5 py-2.5 rounded-xl font-bold flex items-center gap-2 transition-all active:scale-95 shadow-sm">
|
||||||
|
<i data-lucide="mail-plus" class="w-4 h-4"></i> Pegar TO&DO
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<button id="btnSmartSort" onclick="toggleSmartSort()" class="bg-indigo-50 ...">
|
||||||
<i data-lucide="sparkles" class="w-4 h-4"></i> Orden Inteligente
|
<i data-lucide="sparkles" class="w-4 h-4"></i> Orden Inteligente
|
||||||
</button>
|
</button>
|
||||||
<button onclick="loadInbox()" class="bg-white border-2 border-slate-200 hover:border-blue-600 hover:text-blue-600 text-slate-600 px-6 py-2.5 rounded-xl font-bold flex items-center gap-2 transition-all active:scale-95 shadow-sm">
|
<button onclick="loadInbox()" class="bg-white border-2 border-slate-200 hover:border-blue-600 hover:text-blue-600 text-slate-600 px-6 py-2.5 rounded-xl font-bold flex items-center gap-2 transition-all active:scale-95 shadow-sm">
|
||||||
@@ -73,6 +77,7 @@
|
|||||||
<option value="ALL">PROVEEDORES</option>
|
<option value="ALL">PROVEEDORES</option>
|
||||||
<option value="homeserve">HOME (HOMESERVE)</option>
|
<option value="homeserve">HOME (HOMESERVE)</option>
|
||||||
<option value="multiasistencia">MULTI (MULTIASISTENCIA)</option>
|
<option value="multiasistencia">MULTI (MULTIASISTENCIA)</option>
|
||||||
|
<option value="todo">TO&DO</option>
|
||||||
</select>
|
</select>
|
||||||
<select id="filterCompany" onchange="renderFilteredInbox()" class="bg-slate-50 border border-slate-200 text-[10px] font-black px-4 py-2.5 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 uppercase tracking-widest max-w-[200px]">
|
<select id="filterCompany" onchange="renderFilteredInbox()" class="bg-slate-50 border border-slate-200 text-[10px] font-black px-4 py-2.5 rounded-xl outline-none focus:ring-2 focus:ring-blue-500 uppercase tracking-widest max-w-[200px]">
|
||||||
<option value="ALL">COMPAÑÍAS</option>
|
<option value="ALL">COMPAÑÍAS</option>
|
||||||
@@ -395,7 +400,7 @@
|
|||||||
|
|
||||||
// FILTRO ESTRICTO: Solo proveedores oficiales (Excluimos 'particular'/'presupuestos' y 'SYSTEM_BLOCK')
|
// FILTRO ESTRICTO: Solo proveedores oficiales (Excluimos 'particular'/'presupuestos' y 'SYSTEM_BLOCK')
|
||||||
fetchedServices = fetchedServices.filter(s =>
|
fetchedServices = fetchedServices.filter(s =>
|
||||||
s.provider === 'homeserve' || s.provider === 'multiasistencia'
|
s.provider === 'homeserve' || s.provider === 'multiasistencia' || s.provider === 'todo'
|
||||||
);
|
);
|
||||||
|
|
||||||
if (JSON.stringify(scrapedData) !== JSON.stringify(fetchedServices)) {
|
if (JSON.stringify(scrapedData) !== JSON.stringify(fetchedServices)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user