Skip to content

Commit

Permalink
Merge branch 'main' into search/bulk-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekBoman committed Jul 2, 2024
2 parents e9d58ea + fbd7d7e commit 4c82eac
Show file tree
Hide file tree
Showing 174 changed files with 4,608 additions and 761 deletions.
1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {
arrowParens: 'always',
printWidth: 190,
singleAttributePerLine: true,
plugins: [require.resolve('@trivago/prettier-plugin-sort-imports')],
/** `importOrder` should be defined in an alphabetical order. */
importOrder: [
'@assets/(.*)$',
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1009000302
versionName "9.0.3-2"
versionCode 1009000306
versionName "9.0.3-6"
// Supported language variants must be declared here to avoid from being removed during the compilation.
// This also helps us to not include unnecessary language variants in the APK.
resConfigs "en", "es"
Expand Down
4 changes: 2 additions & 2 deletions docs/_data/_routes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ platforms:
icon: /assets/images/shield.svg
description: Configure rules, settings, and limits for your company’s spending.

- href: expenses
title: Expenses
- href: expenses-&-payments
title: Expenses & Payments
icon: /assets/images/money-into-wallet.svg
description: Learn more about expense tracking and submission.

Expand Down
File renamed without changes.
11 changes: 11 additions & 0 deletions docs/redirects.csv
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,14 @@ https://help.expensify.com/articles/new-expensify/chat/Expensify-Chat-For-Admins
https://help.expensify.com/articles/new-expensify/bank-accounts-and-payments/Connect-a-Bank-Account.html,https://help.expensify.com/articles/new-expensify/expenses/Connect-a-Business-Bank-Account
https://help.expensify.com/articles/expensify-classic/travel/Coming-Soon,https://help.expensify.com/expensify-classic/hubs/travel/
https://help.expensify.com/articles/new-expensify/expenses/Manually-submit-reports-for-approval,https://help.expensify.com/new-expensify/hubs/expenses/
https://help.expensify.com/articles/new-expensify/expenses/Approve-and-pay-expenses,https://help.expensify.com/articles/new-expensify/expenses-&-payments/Approve-and-pay-expenses
https://help.expensify.com/articles/new-expensify/expenses/Connect-a-Business-Bank-Account,https://help.expensify.com/articles/new-expensify/expenses-&-payments/Connect-a-Business-Bank-Account
https://help.expensify.com/articles/new-expensify/expenses/Create-an-expense,https://help.expensify.com/articles/new-expensify/expenses-&-payments/Create-an-expense
https://help.expensify.com/articles/new-expensify/expenses/Distance-Requests,https://help.expensify.com/articles/new-expensify/expenses-&-payments/Distance-Requests
https://help.expensify.com/articles/new-expensify/expenses/Resolve-Errors-Adding-a-Bank-Account,https://help.expensify.com/articles/new-expensify/expenses-&-payments/Resolve-Errors-Adding-a-Bank-Account
https://help.expensify.com/articles/new-expensify/expenses/Send-an-invoice,https://help.expensify.com/articles/new-expensify/expenses-&-payments/Send-an-invoice
https://help.expensify.com/articles/new-expensify/expenses/Set-up-your-wallet,https://help.expensify.com/articles/new-expensify/expenses-&-payments/Set-up-your-wallet
https://help.expensify.com/articles/new-expensify/expenses/Split-an-expense,https://help.expensify.com/articles/new-expensify/expenses-&-payments/Split-an-expense
https://help.expensify.com/articles/new-expensify/expenses/Track-expenses,https://help.expensify.com/articles/new-expensify/expenses-&-payments/Track-expenses
https://help.expensify.com/articles/new-expensify/expenses/Unlock-a-Business-Bank-Account,https://help.expensify.com/articles/new-expensify/expenses-&-payments/Unlock-a-Business-Bank-Account
https://help.expensify.com/articles/new-expensify/expenses/Validate-a-Business-Bank-Account,https://help.expensify.com/articles/new-expensify/expenses-&-payments/Validate-a-Business-Bank-Account
2 changes: 1 addition & 1 deletion ios/NewExpensify/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>9.0.3.2</string>
<string>9.0.3.6</string>
<key>FullStory</key>
<dict>
<key>OrgId</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/NewExpensifyTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>9.0.3.2</string>
<string>9.0.3.6</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion ios/NotificationServiceExtension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleShortVersionString</key>
<string>9.0.3</string>
<key>CFBundleVersion</key>
<string>9.0.3.2</string>
<string>9.0.3.6</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
Expand Down
20 changes: 14 additions & 6 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,13 @@ PODS:
- react-native-config (1.5.0):
- react-native-config/App (= 1.5.0)
- react-native-config/App (1.5.0):
- React-Core
- RCT-Folly
- RCTRequired
- RCTTypeSafety
- React
- React-Codegen
- React-RCTFabric
- ReactCommon/turbomodule/core
- react-native-document-picker (9.1.1):
- RCT-Folly
- RCTRequired
Expand Down Expand Up @@ -1974,7 +1980,7 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- RNScreens (3.30.1):
- RNScreens (3.32.0):
- glog
- hermes-engine
- RCT-Folly (= 2022.05.16.00)
Expand All @@ -1988,13 +1994,14 @@ PODS:
- React-ImageManager
- React-NativeModulesApple
- React-RCTFabric
- React-RCTImage
- React-rendererdebug
- React-utils
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- RNScreens/common (= 3.30.1)
- RNScreens/common (= 3.32.0)
- Yoga
- RNScreens/common (3.30.1):
- RNScreens/common (3.32.0):
- glog
- hermes-engine
- RCT-Folly (= 2022.05.16.00)
Expand All @@ -2008,6 +2015,7 @@ PODS:
- React-ImageManager
- React-NativeModulesApple
- React-RCTFabric
- React-RCTImage
- React-rendererdebug
- React-utils
- ReactCommon/turbomodule/bridging
Expand Down Expand Up @@ -2552,7 +2560,7 @@ SPEC CHECKSUMS:
react-native-airship: 38e2596999242b68c933959d6145512e77937ac0
react-native-blob-util: 1ddace5234c62e3e6e4e154d305ad07ef686599b
react-native-cameraroll: f373bebbe9f6b7c3fd2a6f97c5171cda574cf957
react-native-config: 5330c8258265c1e5fdb8c009d2cabd6badd96727
react-native-config: 5ce986133b07fc258828b20b9506de0e683efc1c
react-native-document-picker: 8532b8af7c2c930f9e202aac484ac785b0f4f809
react-native-geolocation: f9e92eb774cb30ac1e099f34b3a94f03b4db7eb3
react-native-image-picker: f8a13ff106bcc7eb00c71ce11fdc36aac2a44440
Expand Down Expand Up @@ -2612,7 +2620,7 @@ SPEC CHECKSUMS:
RNPermissions: 0b61d30d21acbeafe25baaa47d9bae40a0c65216
RNReactNativeHapticFeedback: 616c35bdec7d20d4c524a7949ca9829c09e35f37
RNReanimated: 323436b1a5364dca3b5f8b1a13458455e0de9efe
RNScreens: 9ec969a95987a6caae170ef09313138abf3331e1
RNScreens: abd354e98519ed267600b7ee64fdcb8e060b1218
RNShare: 2a4cdfc0626ad56b0ef583d424f2038f772afe58
RNSound: 6c156f925295bdc83e8e422e7d8b38d33bc71852
RNSVG: 18f1381e046be2f1c30b4724db8d0c966238089f
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "new.expensify",
"version": "9.0.3-2",
"version": "9.0.3-6",
"author": "Expensify, Inc.",
"homepage": "https://new.expensify.com",
"description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",
Expand Down Expand Up @@ -168,7 +168,7 @@
"react-native-release-profiler": "^0.1.6",
"react-native-render-html": "6.3.1",
"react-native-safe-area-context": "4.8.2",
"react-native-screens": "3.30.1",
"react-native-screens": "3.32.0",
"react-native-share": "^10.0.2",
"react-native-sound": "^0.11.2",
"react-native-svg": "14.1.0",
Expand Down
12 changes: 0 additions & 12 deletions patches/react-native-screens+3.30.1+001+fix-screen-type.patch

This file was deleted.

135 changes: 127 additions & 8 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ const CONST = {
NETSUITE_ON_NEW_EXPENSIFY: 'netsuiteOnNewExpensify',
REPORT_FIELDS_FEATURE: 'reportFieldsFeature',
WORKSPACE_FEEDS: 'workspaceFeeds',
NETSUITE_USA_TAX: 'netsuiteUsaTax',
},
BUTTON_STATES: {
DEFAULT: 'default',
Expand Down Expand Up @@ -1337,10 +1338,6 @@ const CONST = {
},
},

NETSUITE_CONFIG: {
SUBSIDIARY: 'subsidiary',
},

QUICKBOOKS_REIMBURSABLE_ACCOUNT_TYPE: {
VENDOR_BILL: 'bill',
CHECK: 'check',
Expand All @@ -1353,6 +1350,130 @@ const CONST = {
REPORT_SUBMITTED: 'REPORT_SUBMITTED',
},

NETSUITE_CONFIG: {
SUBSIDIARY: 'subsidiary',
EXPORTER: 'exporter',
EXPORT_DATE: 'exportDate',
REIMBURSABLE_EXPENSES_EXPORT_DESTINATION: 'reimbursableExpensesExportDestination',
NON_REIMBURSABLE_EXPENSES_EXPORT_DESTINATION: 'nonreimbursableExpensesExportDestination',
DEFAULT_VENDOR: 'defaultVendor',
REIMBURSABLE_PAYABLE_ACCOUNT: 'reimbursablePayableAccount',
PAYABLE_ACCT: 'payableAcct',
JOURNAL_POSTING_PREFERENCE: 'journalPostingPreference',
RECEIVABLE_ACCOUNT: 'receivableAccount',
INVOICE_ITEM_PREFERENCE: 'invoiceItemPreference',
INVOICE_ITEM: 'invoiceItem',
TAX_POSTING_ACCOUNT: 'taxPostingAccount',
PROVINCIAL_TAX_POSTING_ACCOUNT: 'provincialTaxPostingAccount',
ALLOW_FOREIGN_CURRENCY: 'allowForeignCurrency',
EXPORT_TO_NEXT_OPEN_PERIOD: 'exportToNextOpenPeriod',
},

NETSUITE_EXPORT_DATE: {
LAST_EXPENSE: 'LAST_EXPENSE',
EXPORTED: 'EXPORTED',
SUBMITTED: 'SUBMITTED',
},

NETSUITE_EXPORT_DESTINATION: {
EXPENSE_REPORT: 'EXPENSE_REPORT',
VENDOR_BILL: 'VENDOR_BILL',
JOURNAL_ENTRY: 'JOURNAL_ENTRY',
},

NETSUITE_INVOICE_ITEM_PREFERENCE: {
CREATE: 'create',
SELECT: 'select',
},

NETSUITE_JOURNAL_POSTING_PREFERENCE: {
JOURNALS_POSTING_INDIVIDUAL_LINE: 'JOURNALS_POSTING_INDIVIDUAL_LINE',
JOURNALS_POSTING_TOTAL_LINE: 'JOURNALS_POSTING_TOTAL_LINE',
},

NETSUITE_EXPENSE_TYPE: {
REIMBURSABLE: 'reimbursable',
NON_REIMBURSABLE: 'nonreimbursable',
},

/**
* Countries where tax setting is permitted (Strings are in the format of Netsuite's Country type/enum)
*
* Should mirror the list on the OldDot.
*/
NETSUITE_TAX_COUNTRIES: [
'_canada',
'_unitedKingdomGB',
'_unitedKingdom',
'_australia',
'_southAfrica',
'_india',
'_france',
'_netherlands',
'_germany',
'_singapore',
'_spain',
'_ireland',
'_denmark',
'_brazil',
'_japan',
'_philippines',
'_china',
'_argentina',
'_newZealand',
'_switzerland',
'_sweden',
'_portugal',
'_mexico',
'_israel',
'_thailand',
'_czechRepublic',
'_egypt',
'_ghana',
'_indonesia',
'_iranIslamicRepublicOf',
'_jordan',
'_kenya',
'_kuwait',
'_lebanon',
'_malaysia',
'_morocco',
'_myanmar',
'_nigeria',
'_pakistan',
'_saudiArabia',
'_sriLanka',
'_unitedArabEmirates',
'_vietnam',
'_austria',
'_bulgaria',
'_greece',
'_cyprus',
'_norway',
'_romania',
'_poland',
'_hongKong',
'_luxembourg',
'_lithuania',
'_malta',
'_finland',
'_koreaRepublicOf',
'_italy',
'_georgia',
'_hungary',
'_latvia',
'_estonia',
'_slovenia',
'_serbia',
'_croatiaHrvatska',
'_belgium',
'_turkey',
'_taiwan',
'_azerbaijan',
'_slovakRepublic',
'_costaRica',
] as string[],

QUICKBOOKS_EXPORT_DATE: {
LAST_EXPENSE: 'LAST_EXPENSE',
REPORT_EXPORTED: 'REPORT_EXPORTED',
Expand Down Expand Up @@ -1728,6 +1849,7 @@ const CONST = {
ARE_WORKFLOWS_ENABLED: 'areWorkflowsEnabled',
ARE_REPORT_FIELDS_ENABLED: 'areReportFieldsEnabled',
ARE_CONNECTIONS_ENABLED: 'areConnectionsEnabled',
ARE_EXPENSIFY_CARDS_ENABLED: 'areExpensifyCardsEnabled',
ARE_TAXES_ENABLED: 'tax',
},
CATEGORIES_BULK_ACTION_TYPES: {
Expand Down Expand Up @@ -2058,6 +2180,7 @@ const CONST = {
WORKSPACE_INVOICES: 'WorkspaceSendInvoices',
WORKSPACE_TRAVEL: 'WorkspaceBookTravel',
WORKSPACE_MEMBERS: 'WorkspaceManageMembers',
WORKSPACE_EXPENSIFY_CARD: 'WorkspaceExpensifyCard',
WORKSPACE_WORKFLOWS: 'WorkspaceWorkflows',
WORKSPACE_BANK_ACCOUNT: 'WorkspaceBankAccount',
WORKSPACE_SETTINGS: 'WorkspaceSettings',
Expand Down Expand Up @@ -4923,10 +5046,6 @@ const CONST = {
},

SUBSCRIPTION_PRICE_FACTOR: 2,
SUBSCRIPTION_POSSIBLE_COST_SAVINGS: {
COLLECT_PLAN: 10,
CONTROL_PLAN: 18,
},
FEEDBACK_SURVEY_OPTIONS: {
TOO_LIMITED: {
ID: 'tooLimited',
Expand Down
Loading

0 comments on commit 4c82eac

Please sign in to comment.