mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Update print.blade.php
replace string in serial number with x except last five character
This commit is contained in:
parent
c974968821
commit
52add03e56
|
@ -117,7 +117,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ $lcounter }}</td>
|
<td>{{ $lcounter }}</td>
|
||||||
<td>{{ $license->name }}</td>
|
<td>{{ $license->name }}</td>
|
||||||
<td>{{ $license->serial }}</td>
|
<td>{{ preg_replace ('/[a-zA-Z\d-]/', 'x', $license->serial, strlen($license->serial) -5) }}</td>
|
||||||
<td>{{ $license->assetlog->first()->created_at }}</td>
|
<td>{{ $license->assetlog->first()->created_at }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@php
|
@php
|
||||||
|
|
Loading…
Reference in a new issue