From 1307a19743d33d721da413276ea0a6e82b3cd28f Mon Sep 17 00:00:00 2001 From: R-Sourabh Date: Thu, 22 Aug 2024 18:55:40 +0530 Subject: [PATCH 1/6] Implemented: Added a button to the empty state. On click, it shows completed TOs (#673) --- src/locales/en.json | 1 + src/locales/es.json | 1 + src/locales/ja.json | 1 + src/views/TransferOrders.vue | 15 ++++++++++++++- 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/locales/en.json b/src/locales/en.json index e2a205aa..6bce3acb 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -285,6 +285,7 @@ "No orders are currently able to be shipped due to missing tracking codes.": "No orders are currently able to be shipped due to missing tracking codes.", "No payments found": "No payments found", "No reason": "No reason", + "No results found for .": "No results found for { searchedQuery }.", "No results found for . Try searching Open or Completed tab instead. If you still can't find what you're looking for, try switching stores.": "No results found for { searchedQuery }. Try searching Open or Completed tab instead.{ lineBreak } If you still can't find what you're looking for, try switching stores.", "No results found for . Try searching In Progress or Open tab instead. If you still can't find what you're looking for, try switching stores.": "No results found for { searchedQuery }. Try searching In Progress or Open tab instead.{ lineBreak } If you still can't find what you're looking for, try switching stores.", "No results found for . Try searching In Progress or Completed tab instead. If you still can't find what you're looking for, try switching stores.": "No results found for { searchedQuery }. Try searching In Progress or Completed tab instead.{ lineBreak } If you still can't find what you're looking for, try switching stores.", diff --git a/src/locales/es.json b/src/locales/es.json index 35190eef..d8b7024a 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -280,6 +280,7 @@ "No orders found.": "No se encontraron pedidos.", "No payments found": "No se encontraron pagos", "No reason": "Sin motivo", + "No results found for .": "No results found for { searchedQuery }.", "No results found for . Try searching Open or Completed tab instead. If you still can't find what you're looking for, try switching stores.": "No se encontraron resultados para { searchedQuery }. Intenta buscar en la pestaña 'Abierto' o 'Completado' en su lugar.{ lineBreak } Si aún no puedes encontrar lo que buscas, prueba cambiando de tiendas.", "No results found for . Try searching In Progress or Open tab instead. If you still can't find what you're looking for, try switching stores.": "No se encontraron resultados para { searchedQuery }. Intenta buscar en la pestaña 'En Curso' o 'Abierto' en su lugar.{ lineBreak } Si aún no puedes encontrar lo que buscas, prueba cambiando de tiendas.", "No results found for . Try searching In Progress or Completed tab instead. If you still can't find what you're looking for, try switching stores.": "No se encontraron resultados para { searchedQuery }. Intenta buscar en la pestaña 'En Curso' o 'Completado' en su lugar.{ lineBreak } Si aún no puedes encontrar lo que buscas, prueba cambiando de tiendas.", diff --git a/src/locales/ja.json b/src/locales/ja.json index 0ce4872a..18fddc82 100644 --- a/src/locales/ja.json +++ b/src/locales/ja.json @@ -284,6 +284,7 @@ "No orders are currently able to be shipped due to missing tracking codes.": "追跡コードがないため、現在出荷可能な注文はありません。", "No payments found": "支払いが見つかりません", "No reason": "理由なし", + "No results found for .": "No results found for { searchedQuery }.", "No results found for . Try searching Open or Completed tab instead. If you still can't find what you're looking for, try switching stores.": "{ searchedQuery }の結果は見つかりませんでした。代わりに「オープン」または「完了」タブで検索してみてください。 { lineBreak } それでも見つからない場合は、ストアを切り替えてみてください。", "No results found for . Try searching In Progress or Open tab instead. If you still can't find what you're looking for, try switching stores.": "{ searchedQuery }の結果は見つかりませんでした。代わりに「進行中」または「オープン」タブで検索してみてください。 { lineBreak } それでも見つからない場合は、ストアを切り替えてみてください。", "No results found for . Try searching In Progress or Completed tab instead. If you still can't find what you're looking for, try switching stores.": "{ searchedQuery }の結果は見つかりませんでした。代わりに「進行中」または「完了」タブで検索してみてください。 { lineBreak } それでも見つからない場合は、ストアを切り替えてみてください。", diff --git a/src/views/TransferOrders.vue b/src/views/TransferOrders.vue index 6ad5df1f..ed043567 100644 --- a/src/views/TransferOrders.vue +++ b/src/views/TransferOrders.vue @@ -45,6 +45,9 @@

+ + {{ translate("Show completed transfer orders") }} +
@@ -53,6 +56,7 @@