@extends('layouts.admin') @section('title', 'Converted SO') @section('page-title', 'Converted SO') @section('breadcrumb') @endsection @section('scripts') @endsection @section('content')
Converted SO Queue
Showing latest 100 records
@forelse ($records as $rec) @php $loopId = $loop->iteration; // for modal target $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 Created Preview Action
{{ $loop->iteration }} {{ $rec->so_no ?? '-' }} {{ $rec->location_id ?? '-' }} {{ $rec->created_at ?? '-' }} @if ($hasPreview) @else n/a @endif @php $so = $rec->so_no ?? null; @endphp @if ($so) Convert Invoice @else @endif
No records found
@endsection