From 52add03e568149c06c06200a786628d1e5e0e0f0 Mon Sep 17 00:00:00 2001 From: ajsy <35658596+ajsy@users.noreply.github.com> Date: Fri, 19 Apr 2019 15:43:40 +0300 Subject: [PATCH] Update print.blade.php replace string in serial number with x except last five character --- resources/views/users/print.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/users/print.blade.php b/resources/views/users/print.blade.php index 974f32d997..76b7dab57f 100644 --- a/resources/views/users/print.blade.php +++ b/resources/views/users/print.blade.php @@ -117,7 +117,7 @@ {{ $lcounter }} {{ $license->name }} - {{ $license->serial }} + {{ preg_replace ('/[a-zA-Z\d-]/', 'x', $license->serial, strlen($license->serial) -5) }} {{ $license->assetlog->first()->created_at }} @php