{{-- Shared by the full CRM Transfer Log page and by the popup on the customer list, so both always show the same columns in the same order (newest first). --}} {{-- The style rides along with the markup because this partial is also served on its own to the popup, where there is no layout to push a stylesheet into. --}} {{-- What is on screen, and the way to the rest of it. The button is a real link so it still works on the full page, where there is no script to intercept it; in the popup the handler catches it and reloads the popup body in place. --}} @if (!empty($since))
Since the current expire date, {{ $since->format('d-M-Y') }}. Load all history
@else Full history. @endif
@forelse ($logs as $log) {{-- optional(): the user who made the change may since have been deleted. --}} @empty @endforelse
# Previous New Description Change By Check Date Date
{{ $log->id }} {{ $log->previous_crm_status }} {{ $log->new_crm_status }} {{ $log->description }}{{ optional($log->changeBy)->name ?? '' }} {{ $log->crm_check_date ?? '' }} {{ $log->created_at }}
@if (!empty($since)) No transfer since the current expire date. @else No transfer has been recorded for this customer. @endif