From 67fca4d5b9115f8b959a6b9bee976eef60cb4d5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Sat, 9 Jan 2021 23:24:59 +0300 Subject: [PATCH] fixed test --- app/Abstracts/View/Components/DocumentIndex.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Abstracts/View/Components/DocumentIndex.php b/app/Abstracts/View/Components/DocumentIndex.php index 99ca9446f..5b09838c6 100644 --- a/app/Abstracts/View/Components/DocumentIndex.php +++ b/app/Abstracts/View/Components/DocumentIndex.php @@ -235,7 +235,7 @@ abstract class DocumentIndex extends Base /* -- Card Header End -- */ /* -- Card Body Start -- */ - $this->textDocumentNumber = $this->getTextDocumentNumber($textDocumentNumber); + $this->textDocumentNumber = $this->getTextDocumentNumber($type, $textDocumentNumber); $this->textContactName = $this->getTextContactName($type, $textContactName); $this->textIssuedAt = $this->getTextIssuedAt($type, $textIssuedAt); $this->textDueAt = $this->getTextDueAt($type, $textDueAt); @@ -525,7 +525,7 @@ abstract class DocumentIndex extends Base return 'col-sm-2 col-md-1 col-lg-1 col-xl-1 d-none d-sm-block'; } - protected function getTextDocumentNumber($textDocumentNumber) + protected function getTextDocumentNumber($type, $textDocumentNumber) { if (!empty($textDocumentNumber)) { return $textDocumentNumber;