Update print.blade.php

replace string in serial number with x except last five character
This commit is contained in:
ajsy 2019-04-19 15:43:40 +03:00
parent c974968821
commit 52add03e56

View file

@ -117,7 +117,7 @@
<tr>
<td>{{ $lcounter }}</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>
</tr>
@php