mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 23:54:12 -08:00
Merge branch 'develop'
# Conflicts: # config/version.php
This commit is contained in:
commit
0b788f64f7
|
@ -231,7 +231,7 @@ class Asset extends Depreciable
|
||||||
*/
|
*/
|
||||||
public function get_depreciation()
|
public function get_depreciation()
|
||||||
{
|
{
|
||||||
if ($this->model) {
|
if (($this->model) && ($this->model->depreciation)) {
|
||||||
return $this->model->depreciation;
|
return $this->model->depreciation;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
return array (
|
return array (
|
||||||
'app_version' => 'v4.1.11-pre',
|
'app_version' => 'v4.1.11-pre',
|
||||||
'full_app_version' => 'v4.1.11-pre - build 3288-g426bf38',
|
'full_app_version' => 'v4.1.11-pre - build 3299-g3acf5f7',
|
||||||
'build_version' => '3288',
|
'build_version' => '3299',
|
||||||
'prerelease_version' => '',
|
'prerelease_version' => '',
|
||||||
'hash_version' => 'g426bf38',
|
'hash_version' => 'g3acf5f7',
|
||||||
'full_hash' => 'v4.1.11-pre-36-g426bf38',
|
'full_hash' => 'v4.1.11-pre-47-g3acf5f7',
|
||||||
'branch' => 'master',
|
'branch' => 'master',
|
||||||
);
|
);
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@if ($asset->checkedOutToUser())
|
@if (($asset->checkedOutToUser()) && ($asset->assigned))
|
||||||
{{ $asset->assigned->getFullNameAttribute() }}
|
{{ $asset->assigned->getFullNameAttribute() }}
|
||||||
@else
|
@else
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue