1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/app/Ninja/Presenters/AccountPresenter.php
2015-12-14 23:05:17 +02:00

17 lines
339 B
PHP

<?php namespace App\Ninja\Presenters;
use Utils;
use Laracasts\Presenter\Presenter;
class AccountPresenter extends Presenter {
public function name()
{
return $this->entity->name ?: trans('texts.untitled_account');
}
public function website()
{
return Utils::addHttp($this->entity->website);
}
}