This commit is contained in:
oliver
2026-06-14 20:56:04 -03:00
parent 897a8b459c
commit 99811f9f49
3 changed files with 136 additions and 70 deletions
+88 -66
View File
@@ -798,72 +798,6 @@
</button>
</div>
<span style="flex: 1; min-width: 0"></span>
<div
class="form-group"
style="flex: 1; min-width: 120px"
>
<input
type="text"
id="crm-search-name"
placeholder="Search Name…"
oninput="crmRender()"
/>
</div>
<div
class="form-group"
style="flex: 1; min-width: 120px"
>
<input
type="text"
id="crm-search-company"
placeholder="Search Company…"
oninput="crmRender()"
/>
</div>
<div
class="form-group"
style="flex: 1; min-width: 140px"
>
<input
type="text"
id="crm-search-email"
placeholder="Search Email…"
oninput="crmRender()"
/>
</div>
<div
class="form-group"
style="flex: 1; min-width: 100px"
>
<input
type="text"
id="crm-search-stage"
placeholder="Search Stage…"
oninput="crmRender()"
/>
</div>
<div
class="form-group"
style="flex: 1; min-width: 120px"
>
<input
type="text"
id="crm-search-strategy"
placeholder="Search Strategy…"
oninput="crmRender()"
/>
</div>
<div
class="form-group"
style="flex: 1; min-width: 100px"
>
<input
type="text"
id="crm-search-category"
placeholder="Search Category…"
oninput="crmRender()"
/>
</div>
</div>
</div>
@@ -991,6 +925,21 @@
data-sort="category"
></span>
</th>
<th
onclick="
crmToggleSort('affiliate')
"
style="
cursor: pointer;
user-select: none;
"
>
Referral
<span
class="sort-arrow"
data-sort="affiliate"
></span>
</th>
<th
onclick="
crmToggleSort(
@@ -1010,6 +959,79 @@
</th>
</tr>
</thead>
<tr class="crm-search-row">
<th></th>
<th>
<input
type="text"
id="crm-search-name"
placeholder="Filter Name…"
oninput="crmRender()"
class="crm-filter-input"
/>
</th>
<th>
<input
type="text"
id="crm-search-company"
placeholder="Filter Company…"
oninput="crmRender()"
class="crm-filter-input"
/>
</th>
<th>
<input
type="text"
id="crm-search-email"
placeholder="Filter Email…"
oninput="crmRender()"
class="crm-filter-input"
/>
</th>
<th>
<input
type="text"
id="crm-search-stage"
placeholder="Filter Stage…"
oninput="crmRender()"
class="crm-filter-input"
/>
</th>
<th>
<input
type="text"
id="crm-search-strategy"
placeholder="Filter Strategy…"
oninput="crmRender()"
class="crm-filter-input"
/>
</th>
<th>
<input
type="text"
id="crm-search-category"
placeholder="Filter Category…"
oninput="crmRender()"
class="crm-filter-input"
/>
</th>
<th style="white-space: nowrap">
<input
type="text"
id="crm-search-affiliate"
placeholder="Filter Referral…"
oninput="crmRender()"
class="crm-filter-input"
/>
<button
class="btn btn-ghost btn-sm"
onclick="crmClearFilters()"
title="Clear all filters"
>
</button>
</th>
</tr>
<tbody id="crm-table-body">
<tr>
<td colspan="9">