Pregmatch Removed
This commit is contained in:
parent
255f757521
commit
cde969868d
|
|
@ -2,21 +2,15 @@
|
|||
<thead>
|
||||
<tr>
|
||||
@foreach ($columns as $key => $value)
|
||||
<?php
|
||||
$title = $value == 'increment_id' ? 'order_id' : $value;
|
||||
?>
|
||||
<th>{{ $title }}</th>
|
||||
<th>{{ $value == 'increment_id' ? 'order_id' : $value }}</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($records as $record)
|
||||
<tr>
|
||||
@foreach($record as $column => $value)
|
||||
@php
|
||||
$value = preg_replace('/[^A-Za-z0-9@#$%^&*()_!+\-]/', '', $value);
|
||||
@endphp
|
||||
|
||||
<td>{{ $value }} </td>
|
||||
@endforeach
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue