diff --git a/Models/Client.php b/Models/Client.php index 7df2be3..22708ae 100644 --- a/Models/Client.php +++ b/Models/Client.php @@ -60,12 +60,24 @@ class Client private $defaultDeliveryAddress = null; private $defaultInvoiceAddress = null; + /** + * Constructor. + * + * @since 1.0.0 + */ public function __construct() { $this->createdAt = new \DateTime('now'); $this->profile = new Profile(); } + /** + * Get id. + * + * @return int Model id + * + * @since 1.0.0 + */ public function getId() : int { return $this->id; @@ -155,6 +167,13 @@ class Client $this->info = $info; } + /** + * Get created at date time + * + * @return \DateTime + * + * @since 1.0.0 + */ public function getCreatedAt() : \DateTime { return $this->createdAt; diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php index c607990..288d3df 100644 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -1,4 +1,4 @@ - [ ]]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index cc9e0b9..6c0c10f 100644 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -1,4 +1,4 @@ - [ 'Accounting' => 'Accounting', 'Address' => 'Address', diff --git a/Theme/Backend/clients-create.tpl.php b/Theme/Backend/clients-create.tpl.php index 473cf71..284cc46 100644 --- a/Theme/Backend/clients-create.tpl.php +++ b/Theme/Backend/clients-create.tpl.php @@ -1,4 +1,4 @@ -app, $this->request, $this->response); $footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); diff --git a/Theme/Backend/clients-profile.tpl.php b/Theme/Backend/clients-profile.tpl.php index d009ea6..44eab8e 100644 --- a/Theme/Backend/clients-profile.tpl.php +++ b/Theme/Backend/clients-profile.tpl.php @@ -1,4 +1,4 @@ -getData('client');