mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2026-01-05 14:20:51 -05:00
* Refactor pivot table accessors * Add select2 for client - country selector * Fixes for client contact update * implement ctrans() function across application * Increase custom fields to 4 across the application * Refactor: remove repos calling other repos, implement 4 custom values across application * include querying the custom values in the client list * Fix null custom value labels * Scaffold for client - show view * Working on Client Show
14 lines
205 B
PHP
14 lines
205 B
PHP
<?php
|
|
|
|
namespace App\Models\Presenters;
|
|
|
|
class CompanyPresenter extends EntityPresenter
|
|
{
|
|
|
|
public function name()
|
|
{
|
|
return $this->entity->name ?: ctrans('texts.untitled_account');
|
|
}
|
|
|
|
}
|