From 0f158cdc7eb81c35e00a92aee49175637b79edc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Sun, 10 Jan 2021 22:09:45 +0300 Subject: [PATCH] index status translations.. --- app/Abstracts/View/Components/DocumentIndex.php | 2 +- app/Abstracts/View/Components/DocumentShow.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)