Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add done status #56703

Merged
merged 7 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add done status
  • Loading branch information
luacmartins committed Feb 11, 2025
commit caafd373fdb899492fae6e827034d9007b941524
1 change: 1 addition & 0 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6156,6 +6156,7 @@ const CONST = {
DRAFTS: 'drafts',
OUTSTANDING: 'outstanding',
APPROVED: 'approved',
DONE: 'done',
PAID: 'paid',
},
INVOICE: {
Expand Down
6 changes: 6 additions & 0 deletions src/components/Search/SearchStatusBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
import Navigation from '@libs/Navigation/Navigation';
import * as SearchQueryUtils from '@libs/SearchQueryUtils';

Check failure on line 14 in src/components/Search/SearchStatusBar.tsx

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Namespace imports from @libs are not allowed. Use named imports instead. Example: import { method } from "@libs/module"
import CONST from '@src/CONST';
import type {TranslationPaths} from '@src/languages/types';
import type {SearchDataTypes} from '@src/types/onyx/SearchResults';
Expand Down Expand Up @@ -49,6 +49,12 @@
icon: Expensicons.ThumbsUp,
text: 'iou.approved',
},
{
type: CONST.SEARCH.DATA_TYPES.EXPENSE,
status: CONST.SEARCH.STATUS.EXPENSE.DONE,
icon: Expensicons.Checkmark,
text: 'iou.done',
},
{
type: CONST.SEARCH.DATA_TYPES.EXPENSE,
status: CONST.SEARCH.STATUS.EXPENSE.PAID,
Expand Down
1 change: 1 addition & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,7 @@ const translations = {
other: 'Are you sure that you want to delete these expenses?',
}),
settledExpensify: 'Paid',
done: 'Done',
settledElsewhere: 'Paid elsewhere',
individual: 'Individual',
business: 'Business',
Expand Down
1 change: 1 addition & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,7 @@ const translations = {
other: '¿Estás seguro de que quieres eliminar estas solicitudes?',
}),
settledExpensify: 'Pagado',
done: 'Listo',
settledElsewhere: 'Pagado de otra forma',
individual: 'Individual',
business: 'Empresa',
Expand Down
Loading