mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-28 15:09:40 -08:00
6b05106dcb
Since we are really checking out a license seat instead of the whole license, we operate the checkin/checkout on the license seat instance.
19 lines
289 B
PHP
19 lines
289 B
PHP
<?php
|
|
|
|
namespace App\Presenters;
|
|
|
|
use App\Helpers\Helper;
|
|
use Illuminate\Support\Facades\Gate;
|
|
|
|
/**
|
|
* Class LicensePresenter
|
|
* @package App\Presenters
|
|
*/
|
|
class LicenseSeatPresenter extends Presenter
|
|
{
|
|
public function name()
|
|
{
|
|
return $this->model->license->name;
|
|
}
|
|
}
|