Merge remote-tracking branch 'origin/develop'
This commit is contained in:
commit
adb166fb8d
2 changed files with 9 additions and 1 deletions
|
@ -186,6 +186,14 @@ class Asset extends Depreciable
|
||||||
'model.manufacturer' => ['name'],
|
'model.manufacturer' => ['name'],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// To properly set the expected checkin as Y-m-d
|
||||||
|
public function setExpectedCheckinAttribute($value)
|
||||||
|
{
|
||||||
|
if ($value == '') {
|
||||||
|
$value = null;
|
||||||
|
}
|
||||||
|
$this->attributes['expected_checkin'] = $value;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This handles the custom field validation for assets
|
* This handles the custom field validation for assets
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
## {{ $licenses->count() }} {{ trans('general.licenses') }}
|
## {{ $licenses->count() }} {{ trans('general.licenses') }}
|
||||||
|
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
<tr><th align="left"{{ trans('mail.name') }} </th></tr>
|
<tr><th align="left">{{ trans('mail.name') }} </th></tr>
|
||||||
@foreach($licenses as $license)
|
@foreach($licenses as $license)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ $license->name }}</td>
|
<td>{{ $license->name }}</td>
|
||||||
|
|
Loading…
Add table
Reference in a new issue