fix: upload source=srv, expense detail popup, invoice/expense filters, pie charts, date timezone fixes

This commit is contained in:
Krao Hasanee
2026-06-02 14:08:11 -04:00
parent 1f09ce0a1d
commit 770bb1c05b
4 changed files with 253 additions and 122 deletions
+5 -5
View File
@@ -630,8 +630,11 @@ export default function RequestsPage() {
</button>
))}
<div style={{ marginLeft: 'auto', display: 'flex', alignItems: 'center', gap: 8 }} ref={companyFilterMenuRef}>
{(isTeam || isClient) && (
<button className="btn btn-outline" onClick={() => { setShowAddForm(s => !s); setAddError(''); }}>+ Task</button>
)}
{isExternal && projectOptions.length > 0 && (
<div style={{ position: 'relative' }} ref={projectFilterMenuRef}>
<div style={{ position: 'relative', display: 'flex', alignItems: 'center' }} ref={projectFilterMenuRef}>
<button
className="btn btn-outline"
aria-label="Filter projects" title="Filter projects"
@@ -653,7 +656,7 @@ export default function RequestsPage() {
</div>
)}
{(isTeam || isClient) && (
<div style={{ position: 'relative' }}>
<div style={{ position: 'relative', display: 'flex', alignItems: 'center' }}>
<button
className="btn btn-outline"
aria-label="Filter companies" title="Filter companies"
@@ -683,9 +686,6 @@ export default function RequestsPage() {
)}
</div>
)}
{(isTeam || isClient) && (
<button className="btn btn-outline" onClick={() => { setShowAddForm(s => !s); setAddError(''); }}>+ Task</button>
)}
</div>
</div>