diff --git a/Theme/Backend/client-create.tpl.php b/Theme/Backend/client-create.tpl.php
index 183ffe7..00054e7 100644
--- a/Theme/Backend/client-create.tpl.php
+++ b/Theme/Backend/client-create.tpl.php
@@ -279,8 +279,8 @@ echo $this->getData('nav')->render(); ?>
| = $this->printHtml($this->request->getOrigin()); ?>
- | = $this->printHtml($this->request->header->account); ?>
- | = $this->printHtml($this->request->header->account); ?>
+ | = $this->printHtml((string) $this->request->header->account); ?>
+ | = $this->printHtml((string) $this->request->header->account); ?>
| Creating customer
| = $this->printHtml((new \DateTime('now'))->format('Y-m-d H:i:s')); ?>
diff --git a/Theme/Backend/client-list.tpl.php b/Theme/Backend/client-list.tpl.php
index eb05aa6..ee4ddbb 100644
--- a/Theme/Backend/client-list.tpl.php
+++ b/Theme/Backend/client-list.tpl.php
@@ -50,10 +50,10 @@ echo $this->getData('nav')->render(); ?>
|
| = $this->printHtml($value->number); ?>
| = $this->printHtml($value->profile->account->name1); ?> = $this->printHtml($value->profile->account->name2); ?>
- | = $this->printHtml($value->getMainAddress()->city); ?>
- | = $this->printHtml($value->getMainAddress()->postal); ?>
- | = $this->printHtml($value->getMainAddress()->address); ?>
- | = $this->printHtml($value->getMainAddress()->getCountry()); ?>
+ | = $this->printHtml($value->mainAddress->city); ?>
+ | = $this->printHtml($value->mainAddress->postal); ?>
+ | = $this->printHtml($value->mainAddress->address); ?>
+ | = $this->printHtml($value->mainAddress->getCountry()); ?>
|
| = $this->getHtml('Empty', '0', '0'); ?>
diff --git a/Theme/Backend/client-profile.tpl.php b/Theme/Backend/client-profile.tpl.php
index 5fe97be..4522b11 100644
--- a/Theme/Backend/client-profile.tpl.php
+++ b/Theme/Backend/client-profile.tpl.php
@@ -95,23 +95,23 @@ echo $this->getData('nav')->render();
= $this->getHtml('Address'); ?>
@@ -441,8 +441,8 @@ echo $this->getData('nav')->render();
|