@extends('layouts.app') @section('title', 'View Product ') @section('content')
| User | Log | Date |
|---|---|---|
| {{ auth()->user()->first_name }} | @php $details = $log->details; $updatedAtPosition = strpos($details, "'updated_at'"); if ($updatedAtPosition !== false) { $details = substr($details, 0, $updatedAtPosition); } $detailsWithNewLines = wordwrap($details, 40, "\n", true); @endphp {!! nl2br(e($detailsWithNewLines)) !!} | {{ $log->created_at->format('Y-m-d - H:i:s') }} |
| No logs found. | ||