Browse Source

Merge branch 'main' of https://git.2fi-solutions.com/wayne.lee/tsms

tags/Baseline_180220205_Frontend
MSI\2Fi 10 months ago
parent
commit
115c1505d9
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/components/InvoiceSearch/InvoiceSearchWrapper.tsx

+ 3
- 3
src/components/InvoiceSearch/InvoiceSearchWrapper.tsx View File

@@ -27,10 +27,10 @@ const InvoiceSearchWrapper: React.FC & SubComponents = async () => {
let filteredInvoice = invoices
if (teamId) {
filteredInvoice = invoices.filter(i => i.teamId === teamId)
if (userStaff.isTeamLead == false) {
filteredInvoice = invoices
}
}
// else {
// filteredInvoice = []
// }

const convertedInvoices = filteredInvoice.map((invoice)=>{
return{


Loading…
Cancel
Save