@extends('layouts.location') @section('title', 'SO Conversion') @section('page-title', 'SO Conversion') @push('scripts') @endpush @section('content')
SO Conversion Queue
Showing latest 100 records
{{-- --}} @forelse ($records as $rec) @php $loopId = $loop->iteration; $j = []; try { $decoded = json_decode($rec->data ?? '{}', true); if (json_last_error() === JSON_ERROR_NONE && is_array($decoded)) { $j = $decoded; } } catch (Throwable $e) {} $hasExtra = !empty($rec->extra_charge_type) || !empty($rec->extra_charge_remark) || !empty(($j['extra_charges']['type'] ?? null)) || !empty(($j['extra_charges']['remark'] ?? null)); $hasPreview = !empty($j) || $hasExtra; @endphp {{-- --}} @empty @endforelse
Sr. No SO No Location SO Sent for Conversion Time Status PreviewAction
{{ $loop->iteration }} {{ $rec->so_no ?? '-' }} {{ $rec->location_id ?? '-' }} {{ $rec->updated_at ?? '-' }} @php $status = $rec->status ?? null; @endphp @if ($status === 'pending') pending @elseif ($status === 'update') update @elseif ($status === 'complete') complete @else n/a @endif @if ($hasPreview) @else n/a @endif @php $so = $rec->so_no ?? null; @endphp @if ($so) @else @endif
No records found
@endsection