Allow admins to delete corporate card transactions - #100548
Open
arosiclair wants to merge 13 commits into
Open
Conversation
arosiclair
force-pushed
the
arosiclair-admin-delete-card-transaction
branch
from
September 7, 2026 20:23
92667f8 to
179c2ae
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Contributor
🦜 Polyglot Parrot! 🦜Squawk! Looks like you added some shiny new English strings. Allow me to parrot them back to you in other tongues: View the translation diffdiff --git a/src/languages/de.ts b/src/languages/de.ts
index 61e5e366..ca9176c3 100644
--- a/src/languages/de.ts
+++ b/src/languages/de.ts
@@ -6491,7 +6491,7 @@ _Für ausführlichere Anweisungen [besuchen Sie unsere Hilfeseite](${CONST.NETSU
corporate: 'Löschen von Transaktionen einschränken',
personal: 'Löschen von Transaktionen erlauben',
setFeedNameDescription: 'Gib dem Karten-Feed einen eindeutigen Namen, damit du ihn von den anderen unterscheiden kannst',
- setTransactionLiabilityDescription: 'Wenn aktiviert, können Karteninhaber Kartentransaktionen löschen. Neue Transaktionen folgen dieser Regel.',
+ setTransactionLiabilityDescription: 'Karteninhaber können Transaktionen löschen. Gilt nur für neue Transaktionen.',
emptyAddedFeedTitle: 'Keine Karten in diesem Feed',
emptyAddedFeedDescription: 'Stelle sicher, dass sich Karten im Kartenfeed deiner Bank befinden.',
pendingFeedTitle: `Wir überprüfen Ihre Anfrage …`,
diff --git a/src/languages/el.ts b/src/languages/el.ts
index 120e90da..86fdf0f1 100644
--- a/src/languages/el.ts
+++ b/src/languages/el.ts
@@ -6615,8 +6615,7 @@ _Για πιο αναλυτικές οδηγίες, [επισκεφθείτε τ
corporate: 'Περιορισμός διαγραφής συναλλαγών',
personal: 'Να επιτρέπεται η διαγραφή συναλλαγών',
setFeedNameDescription: 'Δώστε στη ροή κάρτας ένα μοναδικό όνομα ώστε να τη διακρίνετε από τις άλλες',
- setTransactionLiabilityDescription:
- 'Όταν είναι ενεργοποιημένο, οι κάτοχοι καρτών μπορούν να διαγράφουν συναλλαγές κάρτας. Οι νέες συναλλαγές θα ακολουθούν αυτόν τον κανόνα.',
+ setTransactionLiabilityDescription: 'Οι κάτοχοι κάρτας μπορούν να διαγράφουν συναλλαγές. Ισχύει μόνο για νέες συναλλαγές.',
emptyAddedFeedTitle: 'Δεν υπάρχουν κάρτες σε αυτήν τη ροή',
emptyAddedFeedDescription: 'Βεβαιωθείτε ότι υπάρχουν κάρτες στη ροή καρτών της τράπεζάς σας.',
pendingFeedTitle: `Εξετάζουμε το αίτημά σας...`,
diff --git a/src/languages/es.ts b/src/languages/es.ts
index 49bae03a..9ecdbaaf 100644
--- a/src/languages/es.ts
+++ b/src/languages/es.ts
@@ -6369,8 +6369,7 @@ ${amount} para ${merchant} - ${date}`,
corporate: 'Restringir eliminación de transacciones',
personal: 'Permitir eliminación de transacciones',
setFeedNameDescription: 'Dale al feed de tarjeta un nombre único para que puedas distinguirlo de los demás',
- setTransactionLiabilityDescription:
- 'Cuando está habilitada, los titulares de tarjetas pueden eliminar transacciones con tarjeta. Las transacciones nuevas seguirán esta regla.',
+ setTransactionLiabilityDescription: 'Los titulares de la tarjeta pueden eliminar transacciones. Aplica solo a transacciones nuevas.',
emptyAddedFeedTitle: 'Asignar tarjetas de empresa',
emptyAddedFeedDescription: 'Comienza asignando tu primera tarjeta a un miembro.',
pendingFeedTitle: `Estamos revisando tu solicitud...`,
diff --git a/src/languages/fr.ts b/src/languages/fr.ts
index 940aec66..17fbafb3 100644
--- a/src/languages/fr.ts
+++ b/src/languages/fr.ts
@@ -6507,8 +6507,7 @@ _Pour des instructions plus détaillées, [visitez notre site d’aide](${CONST.
corporate: 'Restreindre la suppression des transactions',
personal: 'Autoriser la suppression des transactions',
setFeedNameDescription: 'Donnez au flux de cartes un nom unique afin de pouvoir le distinguer des autres',
- setTransactionLiabilityDescription:
- 'Lorsque cette option est activée, les titulaires de carte peuvent supprimer les transactions de carte. Les nouvelles transactions suivront cette règle.',
+ setTransactionLiabilityDescription: 'Les titulaires de carte peuvent supprimer des transactions. S’applique uniquement aux nouvelles transactions.',
emptyAddedFeedTitle: 'Aucune carte dans ce flux',
emptyAddedFeedDescription: 'Assurez-vous qu’il y a des cartes dans le flux de cartes de votre banque.',
pendingFeedTitle: `Nous examinons votre demande...`,
diff --git a/src/languages/it.ts b/src/languages/it.ts
index 5d035722..69512ff0 100644
--- a/src/languages/it.ts
+++ b/src/languages/it.ts
@@ -6459,7 +6459,7 @@ _Per istruzioni più dettagliate, [visita il nostro sito di assistenza](${CONST.
corporate: 'Limita l’eliminazione delle transazioni',
personal: 'Consenti l’eliminazione delle transazioni',
setFeedNameDescription: 'Dai al feed della carta un nome univoco così potrai distinguerlo dagli altri',
- setTransactionLiabilityDescription: 'Quando è abilitato, i titolari della carta possono eliminare le transazioni della carta. Le nuove transazioni seguiranno questa regola.',
+ setTransactionLiabilityDescription: 'I titolari della carta possono eliminare le transazioni. Si applica solo alle nuove transazioni.',
emptyAddedFeedTitle: 'Nessuna carta in questo feed',
emptyAddedFeedDescription: 'Assicurati che ci siano carte nel flusso di carte della tua banca.',
pendingFeedTitle: `Stiamo esaminando la tua richiesta...`,
diff --git a/src/languages/ja.ts b/src/languages/ja.ts
index 85239e2b..f81bd7ad 100644
--- a/src/languages/ja.ts
+++ b/src/languages/ja.ts
@@ -6371,7 +6371,7 @@ _詳しい手順については、[ヘルプサイトをご覧ください](${CO
corporate: '取引の削除を制限',
personal: '取引の削除を許可',
setFeedNameDescription: '他と区別できるように、カードフィードに一意の名前を付けてください',
- setTransactionLiabilityDescription: '有効にすると、カード保有者はカード取引を削除できるようになります。新しい取引にもこのルールが適用されます。',
+ setTransactionLiabilityDescription: 'カード保有者は取引を削除できます。新しい取引にのみ適用されます。',
emptyAddedFeedTitle: 'このフィードにはカードがありません',
emptyAddedFeedDescription: '銀行のカード明細フィードにカードが含まれていることを確認してください。',
pendingFeedTitle: `リクエストを確認しています…`,
diff --git a/src/languages/nl.ts b/src/languages/nl.ts
index 3f318117..f360cf74 100644
--- a/src/languages/nl.ts
+++ b/src/languages/nl.ts
@@ -6442,7 +6442,7 @@ _Voor meer gedetailleerde instructies, [bezoek onze help-site](${CONST.NETSUITE_
corporate: 'Beperken van het verwijderen van transacties',
personal: 'Verwijderen van transacties toestaan',
setFeedNameDescription: 'Geef de kaartfeed een unieke naam zodat je deze van de andere kunt onderscheiden',
- setTransactionLiabilityDescription: 'Indien ingeschakeld kunnen kaarthouders kaarttransacties verwijderen. Nieuwe transacties zullen deze regel volgen.',
+ setTransactionLiabilityDescription: 'Kaarthouders kunnen transacties verwijderen. Geldt alleen voor nieuwe transacties.',
emptyAddedFeedTitle: 'Geen kaarten in deze feed',
emptyAddedFeedDescription: 'Controleer of er kaarten in de kaartfeed van je bank staan.',
pendingFeedTitle: `We beoordelen je aanvraag...`,
diff --git a/src/languages/pl.ts b/src/languages/pl.ts
index f6ea8087..6a9fec5a 100644
--- a/src/languages/pl.ts
+++ b/src/languages/pl.ts
@@ -6468,7 +6468,7 @@ _Aby uzyskać bardziej szczegółowe instrukcje, [odwiedź naszą stronę pomocy
corporate: 'Ogranicz usuwanie transakcji',
personal: 'Zezwól na usuwanie transakcji',
setFeedNameDescription: 'Nadaj kanałowi karty unikalną nazwę, aby odróżnić go od pozostałych',
- setTransactionLiabilityDescription: 'Po włączeniu posiadacze kart mogą usuwać transakcje kartą. Nowe transakcje będą podlegać tej zasadzie.',
+ setTransactionLiabilityDescription: 'Posiadacze kart mogą usuwać transakcje. Dotyczy tylko nowych transakcji.',
emptyAddedFeedTitle: 'Brak kart w tym kanale',
emptyAddedFeedDescription: 'Upewnij się, że w strumieniu kart Twojego banku znajdują się karty.',
pendingFeedTitle: `Przeglądamy Twoje zgłoszenie…`,
diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts
index 9e452c1a..77a104fb 100644
--- a/src/languages/pt-BR.ts
+++ b/src/languages/pt-BR.ts
@@ -6446,7 +6446,7 @@ _Para instruções mais detalhadas, [visite nossa central de ajuda](${CONST.NETS
corporate: 'Restringir exclusão de transações',
personal: 'Permitir excluir transações',
setFeedNameDescription: 'Dê um nome exclusivo ao feed de cartão para diferenciá-lo dos demais',
- setTransactionLiabilityDescription: 'Quando ativado, titulares de cartão podem excluir transações do cartão. Novas transações seguirão esta regra.',
+ setTransactionLiabilityDescription: 'Portadores do cartão podem excluir transações. Aplica-se apenas a novas transações.',
emptyAddedFeedTitle: 'Nenhum cartão neste feed',
emptyAddedFeedDescription: 'Verifique se há cartões no feed de cartões do seu banco.',
pendingFeedTitle: `Estamos analisando sua solicitação...`,
diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts
index 92d8469d..a6359e75 100644
--- a/src/languages/zh-hans.ts
+++ b/src/languages/zh-hans.ts
@@ -6213,7 +6213,7 @@ _如需更详细的说明,请[访问我们的帮助网站](${CONST.NETSUITE_IM
corporate: '限制删除交易',
personal: '允许删除交易',
setFeedNameDescription: '为该卡片流水命名一个唯一名称,以便与其他区分',
- setTransactionLiabilityDescription: '启用后,持卡人可以删除卡片交易。新的交易将遵循此规则。',
+ setTransactionLiabilityDescription: '持卡人可以删除交易。仅适用于新交易。',
emptyAddedFeedTitle: '此订阅源中没有卡片',
emptyAddedFeedDescription: '请确保在您银行的卡片交易流水中有可用的卡片。',
pendingFeedTitle: `我们正在审核你的请求…`,
Note You can apply these changes to your branch by copying the patch to your clipboard, then running |
…-delete-card-transaction
…-delete-card-transaction
Contributor
Author
This seems broken on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation of Change
We're giving admins the ability to delete card transactions regardless of their liability type (usually controlled by the Allow deleting transactions setting.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/678788
Tests
Offline tests
None
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos