Merge branch 'develop'

# Conflicts:
#	config/version.php
This commit is contained in:
snipe 2018-01-25 11:07:18 -08:00
commit 0b788f64f7
3 changed files with 6 additions and 6 deletions

View file

@ -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;
} }
} }

View file

@ -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',
); );

View file

@ -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