data['client'] ?? new NullClient(); $isNew = $client->id === 0; $clientImage = $this->data['clientImage'] ?? new NullMedia(); $clientStatus = ClientStatus::getConstants(); $logs = $this->data['logs'] ?? []; // @performance The client, supplier and item views should not use actual tabs but individual pages for better performance // Tabs require too many models to be loaded. Implement and then use a tab navigation if it doesn't already exist. // https://github.com/Karaka-Management/oms-ItemManagement/issues/13 /** * @var \phpOMS\Views\View $this */ echo $this->data['nav']->render(); ?>