diff --git a/assets/images/tax.svg b/assets/images/coins.svg
similarity index 100%
rename from assets/images/tax.svg
rename to assets/images/coins.svg
diff --git a/assets/images/receipt-scan.svg b/assets/images/receipt-scan.svg
new file mode 100644
index 000000000000..ecdf3cf2e115
--- /dev/null
+++ b/assets/images/receipt-scan.svg
@@ -0,0 +1,14 @@
+
+
+
diff --git a/src/components/Icon/Expensicons.ts b/src/components/Icon/Expensicons.ts
index 2f0d8a05a572..208543b2d9c2 100644
--- a/src/components/Icon/Expensicons.ts
+++ b/src/components/Icon/Expensicons.ts
@@ -38,6 +38,7 @@ import ChatBubbles from '@assets/images/chatbubbles.svg';
import Checkmark from '@assets/images/checkmark.svg';
import Close from '@assets/images/close.svg';
import ClosedSign from '@assets/images/closed-sign.svg';
+import Coins from '@assets/images/coins.svg';
import Collapse from '@assets/images/collapse.svg';
import Concierge from '@assets/images/concierge.svg';
import Connect from '@assets/images/connect.svg';
@@ -123,6 +124,7 @@ import Printer from '@assets/images/printer.svg';
import Profile from '@assets/images/profile.svg';
import QrCode from '@assets/images/qrcode.svg';
import QuestionMark from '@assets/images/question-mark-circle.svg';
+import ReceiptScan from '@assets/images/receipt-scan.svg';
import ReceiptSearch from '@assets/images/receipt-search.svg';
import Receipt from '@assets/images/receipt.svg';
import RemoveMembers from '@assets/images/remove-members.svg';
@@ -143,7 +145,6 @@ import Stopwatch from '@assets/images/stopwatch.svg';
import Sync from '@assets/images/sync.svg';
import Tag from '@assets/images/tag.svg';
import Task from '@assets/images/task.svg';
-import Tax from '@assets/images/tax.svg';
import Thread from '@assets/images/thread.svg';
import ThreeDots from '@assets/images/three-dots.svg';
import ThumbsUp from '@assets/images/thumbs-up.svg';
@@ -234,7 +235,7 @@ export {
Fullscreen,
Folder,
Tag,
- Tax,
+ Coins,
Thread,
Gallery,
Gear,
@@ -288,6 +289,7 @@ export {
QrCode,
QuestionMark,
Receipt,
+ ReceiptScan,
RemoveMembers,
ReceiptSearch,
Rotate,
diff --git a/src/components/TabSelector/TabSelector.tsx b/src/components/TabSelector/TabSelector.tsx
index fc19e6a8062e..9fe1665f6b19 100644
--- a/src/components/TabSelector/TabSelector.tsx
+++ b/src/components/TabSelector/TabSelector.tsx
@@ -26,7 +26,7 @@ function getIconAndTitle(route: string, translate: LocaleContextProps['translate
case CONST.TAB_REQUEST.MANUAL:
return {icon: Expensicons.Pencil, title: translate('tabSelector.manual')};
case CONST.TAB_REQUEST.SCAN:
- return {icon: Expensicons.Receipt, title: translate('tabSelector.scan')};
+ return {icon: Expensicons.ReceiptScan, title: translate('tabSelector.scan')};
case CONST.TAB.NEW_CHAT:
return {icon: Expensicons.User, title: translate('tabSelector.chat')};
case CONST.TAB.NEW_ROOM:
diff --git a/src/libs/getIconForAction/index.ts b/src/libs/getIconForAction/index.ts
new file mode 100644
index 000000000000..820cf2687f02
--- /dev/null
+++ b/src/libs/getIconForAction/index.ts
@@ -0,0 +1,18 @@
+import type {ValueOf} from 'type-fest';
+import * as Expensicons from '@components/Icon/Expensicons';
+import CONST from '@src/CONST';
+
+const getIconForAction = (actionType: ValueOf) => {
+ switch (actionType) {
+ case CONST.IOU.TYPE.TRACK:
+ return Expensicons.Coins;
+ case CONST.IOU.TYPE.REQUEST:
+ return Expensicons.Receipt;
+ case CONST.IOU.TYPE.SEND:
+ return Expensicons.Cash;
+ default:
+ return Expensicons.MoneyCircle;
+ }
+};
+
+export default getIconForAction;
diff --git a/src/pages/home/report/ReportActionCompose/AttachmentPickerWithMenuItems.tsx b/src/pages/home/report/ReportActionCompose/AttachmentPickerWithMenuItems.tsx
index 1adb161a92e9..88ff6bd11266 100644
--- a/src/pages/home/report/ReportActionCompose/AttachmentPickerWithMenuItems.tsx
+++ b/src/pages/home/report/ReportActionCompose/AttachmentPickerWithMenuItems.tsx
@@ -19,6 +19,7 @@ import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
import useWindowDimensions from '@hooks/useWindowDimensions';
import * as Browser from '@libs/Browser';
+import getIconForAction from '@libs/getIconForAction';
import * as ReportUtils from '@libs/ReportUtils';
import * as IOU from '@userActions/IOU';
import * as Report from '@userActions/Report';
@@ -128,22 +129,22 @@ function AttachmentPickerWithMenuItems({
const moneyRequestOptions = useMemo(() => {
const options: MoneyRequestOptions = {
[CONST.IOU.TYPE.SPLIT]: {
- icon: Expensicons.Receipt,
+ icon: Expensicons.Transfer,
text: translate('iou.splitExpense'),
onSelected: () => IOU.startMoneyRequest(CONST.IOU.TYPE.SPLIT, report?.reportID ?? ''),
},
[CONST.IOU.TYPE.SUBMIT]: {
- icon: Expensicons.MoneyCircle,
+ icon: getIconForAction(CONST.IOU.TYPE.REQUEST),
text: translate('iou.submitExpense'),
onSelected: () => IOU.startMoneyRequest(CONST.IOU.TYPE.SUBMIT, report?.reportID ?? ''),
},
[CONST.IOU.TYPE.PAY]: {
- icon: Expensicons.Send,
+ icon: getIconForAction(CONST.IOU.TYPE.SEND),
text: translate('iou.paySomeone', {name: ReportUtils.getPayeeName(report)}),
onSelected: () => IOU.startMoneyRequest(CONST.IOU.TYPE.PAY, report?.reportID ?? ''),
},
[CONST.IOU.TYPE.TRACK]: {
- icon: Expensicons.DocumentPlus,
+ icon: getIconForAction(CONST.IOU.TYPE.TRACK),
text: translate('iou.trackExpense'),
onSelected: () => IOU.startMoneyRequest(CONST.IOU.TYPE.TRACK, report?.reportID ?? ''),
},
diff --git a/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx b/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx
index 428b0d52b6f5..d74ab3fbfb58 100644
--- a/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx
+++ b/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx
@@ -15,6 +15,7 @@ import usePermissions from '@hooks/usePermissions';
import usePrevious from '@hooks/usePrevious';
import useThemeStyles from '@hooks/useThemeStyles';
import useWindowDimensions from '@hooks/useWindowDimensions';
+import getIconForAction from '@libs/getIconForAction';
import interceptAnonymousUser from '@libs/interceptAnonymousUser';
import getTopmostCentralPaneRoute from '@libs/Navigation/getTopmostCentralPaneRoute';
import Navigation from '@libs/Navigation/Navigation';
@@ -97,7 +98,7 @@ const getQuickActionIcon = (action: QuickActionName): React.FC => {
case CONST.QUICK_ACTIONS.REQUEST_MANUAL:
return Expensicons.MoneyCircle;
case CONST.QUICK_ACTIONS.REQUEST_SCAN:
- return Expensicons.Receipt;
+ return Expensicons.ReceiptScan;
case CONST.QUICK_ACTIONS.REQUEST_DISTANCE:
return Expensicons.Car;
case CONST.QUICK_ACTIONS.SPLIT_MANUAL:
@@ -105,9 +106,13 @@ const getQuickActionIcon = (action: QuickActionName): React.FC => {
case CONST.QUICK_ACTIONS.SPLIT_DISTANCE:
return Expensicons.Transfer;
case CONST.QUICK_ACTIONS.SEND_MONEY:
- return Expensicons.Send;
+ return getIconForAction(CONST.IOU.TYPE.SEND);
case CONST.QUICK_ACTIONS.ASSIGN_TASK:
return Expensicons.Task;
+ case CONST.QUICK_ACTIONS.TRACK_DISTANCE:
+ case CONST.QUICK_ACTIONS.TRACK_MANUAL:
+ case CONST.QUICK_ACTIONS.TRACK_SCAN:
+ return getIconForAction(CONST.IOU.TYPE.TRACK);
default:
return Expensicons.MoneyCircle;
}
@@ -310,7 +315,7 @@ function FloatingActionButtonAndPopover(
...(canUseTrackExpense && selfDMReportID
? [
{
- icon: Expensicons.DocumentPlus,
+ icon: getIconForAction(CONST.IOU.TYPE.TRACK),
text: translate('iou.trackExpense'),
onSelected: () => {
interceptAnonymousUser(() =>
@@ -330,7 +335,7 @@ function FloatingActionButtonAndPopover(
]
: []),
{
- icon: Expensicons.MoneyCircle,
+ icon: getIconForAction(CONST.IOU.TYPE.REQUEST),
text: translate('iou.submitExpense'),
onSelected: () =>
interceptAnonymousUser(() =>
@@ -356,7 +361,7 @@ function FloatingActionButtonAndPopover(
),
},
{
- icon: Expensicons.Send,
+ icon: getIconForAction(CONST.IOU.TYPE.SEND),
text: translate('iou.paySomeone', {}),
onSelected: () =>
interceptAnonymousUser(() =>
diff --git a/src/pages/workspace/WorkspaceInitialPage.tsx b/src/pages/workspace/WorkspaceInitialPage.tsx
index eb41089160e3..4913a7db71b2 100644
--- a/src/pages/workspace/WorkspaceInitialPage.tsx
+++ b/src/pages/workspace/WorkspaceInitialPage.tsx
@@ -244,7 +244,7 @@ function WorkspaceInitialPage({policyDraft, policy: policyProp, reimbursementAcc
if (featureStates?.[CONST.POLICY.MORE_FEATURES.ARE_TAXES_ENABLED]) {
protectedCollectPolicyMenuItems.push({
translationKey: 'workspace.common.taxes',
- icon: Expensicons.Tax,
+ icon: Expensicons.Coins,
action: singleExecution(waitForNavigate(() => Navigation.navigate(ROUTES.WORKSPACE_TAXES.getRoute(policyID)))),
routeName: SCREENS.WORKSPACE.TAXES,
brickRoadIndicator: PolicyUtils.hasTaxRateError(policy) ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : undefined,