6e4e99c33c
All invoice popup modals (team invoice, sub-invoice team, client invoice, external sub-invoice) now share InvoiceDetailPopup + SubcontractorInvoiceDetailView. Same overlay, header, scroll body, footer action row — just different data per role. - New InvoiceDetailPopup component (overlay shell, header, scrollable body, footer) - SubcontractorInvoiceDetailView: respects item._inferredType if pre-set - ClientInvoiceModal: uses shared components, adds sortable headers - TeamInvoiceDetailPanel embedded: uses shared components, keeps edit-dates/email/company - TeamInvoices sub-invoice popup: uses shared components, cleans descriptions - ExternalMyInvoices popup: uses shared components, fixes detailSort vars (was unused) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
21 lines
770 B
JSON
21 lines
770 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(npm run *)",
|
|
"Bash(awk 'NR>=547 && /^}/ {print NR\": \"$0; c++; if\\(c>=1\\) exit}' src/pages/Companies.jsx)",
|
|
"Bash(sed -n '545,548p' src/pages/Companies.jsx)",
|
|
"Bash(sed -i '' '545,715d' src/pages/Companies.jsx)",
|
|
"Bash(sed -n '542,548p' src/pages/Companies.jsx)",
|
|
"Bash(sed -n '76,80p' src/pages/team/TeamSubInvoiceDetail.jsx)",
|
|
"Bash(sed -n '147p' src/pages/Profile.jsx)",
|
|
"Bash(awk '{print $5, $9}')",
|
|
"Bash(git add *)",
|
|
"Bash(git commit -q -m ' *)",
|
|
"Bash(git push *)",
|
|
"Bash(vercel --prod --yes)",
|
|
"Bash(sed -n '1,15p' src/pages/external/ExternalMyInvoices.jsx)",
|
|
"Bash(sed -n '1,15p' src/pages/client/ClientMyInvoices.jsx)"
|
|
]
|
|
}
|
|
}
|