@extends('layouts.app') @section('content')

📊 Comparison Difference ({{ $date }})

@csrf
@foreach($results as $connection => $data)

🔌 Connection: {{ strtoupper($connection) }}

@if(isset($data['error']))

❌ Error: {{ $data['error'] }}

@continue @endif
❗ In POS Sales But Missing/Inconsistent in Consolidated
@forelse($data['sales_diff'] as $row) @empty @endforelse
Sale ID Item Qty Subtotal
{{ $row['sale_id'] }} {{ $row['item_name'] }} {{ $row['quantity_purchased'] }} {{ number_format($row['subtotal'], 2) }}
✅ No Differences
❗ In Consolidated But Missing/Inconsistent in POS
@forelse($data['consolidated_diff'] as $row) @empty @endforelse
Sale ID Item Qty Subtotal
{{ $row['sale_id'] }} {{ $row['item_name'] }} {{ $row['quantity_purchased'] }} {{ number_format($row['subtotal'], 2) }}
✅ No Differences

@endforeach @endsection