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

11 lines
212 B
PHP
Raw Normal View History

2016-01-07 12:04:01 +01:00
<?php namespace App\Ninja\Presenters;
2016-05-23 11:26:08 +02:00
class VendorPresenter extends EntityPresenter {
2016-01-07 12:04:01 +01:00
public function country()
{
return $this->entity->country ? $this->entity->country->name : '';
}
2016-05-23 11:26:08 +02:00
}