diff --git a/app/Abstracts/View/Components/DocumentIndex.php b/app/Abstracts/View/Components/DocumentIndex.php index 6df551e5a..724ac5165 100644 --- a/app/Abstracts/View/Components/DocumentIndex.php +++ b/app/Abstracts/View/Components/DocumentIndex.php @@ -713,7 +713,7 @@ abstract class DocumentIndex extends Base return $translation; } - return 'invoices.statuses.'; + return $default_key; } protected function getClassStatus($type, $classStatus) diff --git a/app/Abstracts/View/Components/DocumentShow.php b/app/Abstracts/View/Components/DocumentShow.php index cb7dfff54..fee4eb296 100644 --- a/app/Abstracts/View/Components/DocumentShow.php +++ b/app/Abstracts/View/Components/DocumentShow.php @@ -647,7 +647,7 @@ abstract class DocumentShow extends Base return $translation; } - return 'invoices.statuses.'; + return $default_key; } protected function getRouteButtonAddNew($type, $routeButtonAddNew)