1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00
invoiceninja/app/Ninja/Presenters/VendorPresenter.php

15 lines
250 B
PHP
Raw Normal View History

2017-01-30 20:40:43 +01:00
<?php
namespace App\Ninja\Presenters;
2016-01-07 12:04:01 +01:00
class VendorPresenter extends EntityPresenter
{
/**
* @return string
*/
2016-01-07 12:04:01 +01:00
public function country()
{
return $this->entity->country ? $this->entity->country->getName() : '';
2016-01-07 12:04:01 +01:00
}
2016-05-23 11:26:08 +02:00
}