diff --git a/app/Abstracts/View/Components/Contacts/Index.php b/app/Abstracts/View/Components/Contacts/Index.php index a29b02a00..0fe2b5ef0 100644 --- a/app/Abstracts/View/Components/Contacts/Index.php +++ b/app/Abstracts/View/Components/Contacts/Index.php @@ -88,7 +88,7 @@ abstract class Index extends Component public $classBulkAction; /** @var bool */ - public $showPicture; + public $showLogo; /** @var bool */ public $hideName; @@ -179,7 +179,7 @@ abstract class Index extends Component bool $hideEmptyPage = false, bool $hideSummary = false, $summaryItems = [], bool $hideSearchString = false, bool $hideBulkAction = false, string $searchStringModel = '', string $bulkActionClass = '', array $bulkActions = [], array $bulkActionRouteParameters = [], string $searchRoute = '', string $classBulkAction = '', - bool $showPicture = false, bool $hideName = false, bool $hideTaxNumber = false, string $classNameAndTaxNumber = '', string $textName = '', string $textTaxNumber = '', + bool $showLogo = false, bool $hideName = false, bool $hideTaxNumber = false, string $classNameAndTaxNumber = '', string $textName = '', string $textTaxNumber = '', bool $hideEmail = false, bool $hidePhone = false, string $classEmailAndPhone = '', string $textEmail = '', string $textPhone = '', bool $hideCountry = false, bool $hideCurrencyCode = false, string $classCountryAndCurrencyCode = '', string $textCountry = '', string $textCurrencyCode = '', bool $hideOpen = false, bool $hideOverdue = false, string $classOpenAndOverdue = '', string $textOpen = '', string $textOverdue = '', @@ -229,7 +229,7 @@ abstract class Index extends Component $this->classBulkAction = $this->getClassBulkAction($type, $classBulkAction); - $this->showPicture = $showPicture; + $this->showLogo = $showLogo; $this->hideName = $hideName; $this->hideTaxNumber = $hideTaxNumber; $this->classNameAndTaxNumber = $this->getClassNameAndTaxNumber($type, $classNameAndTaxNumber); diff --git a/resources/views/components/contacts/form/general.blade.php b/resources/views/components/contacts/form/general.blade.php index 98001414c..e3dca638d 100644 --- a/resources/views/components/contacts/form/general.blade.php +++ b/resources/views/components/contacts/form/general.blade.php @@ -64,7 +64,7 @@ @endif @if (! $hideLogo) - + @endif diff --git a/resources/views/components/contacts/index/content.blade.php b/resources/views/components/contacts/index/content.blade.php index 64fb324cb..da5c51bb6 100644 --- a/resources/views/components/contacts/index/content.blade.php +++ b/resources/views/components/contacts/index/content.blade.php @@ -136,15 +136,15 @@ @stack('name_td_start') @if (! $hideName) - @if ($showPicture) - @if (is_object($item->picture)) - + @if ($showLogo) + @if (is_object($item->logo)) + @else @endif @endif -
+ @@ -157,7 +157,7 @@ @stack('tax_number_td_start') @if (! $hideTaxNumber) - + @endif diff --git a/resources/views/purchases/vendors/index.blade.php b/resources/views/purchases/vendors/index.blade.php index 3e0b4c88e..43cc8669b 100644 --- a/resources/views/purchases/vendors/index.blade.php +++ b/resources/views/purchases/vendors/index.blade.php @@ -16,7 +16,7 @@ - +