@extends('layouts.app') @section('head') @if (request()->boolean('auto')) @endif @endsection @section('content')
{{ __('Orders received via webhook. Total :total, not sent to POS :unsynced.', ['total' => $stats['total'], 'unsynced' => $stats['unsynced']]) }}
| {{ __('Order') }} | {{ __('Store') }} | {{ __('Business') }} | {{ __('Status') }} | POS | {{ __('Order Time') }} | {{ __('Received') }} |
|---|---|---|---|---|---|---|
|
{{ data_get($order->payload, 'display_id') ?: ('#' . substr($order->order_id, 0, 8))
}}
{{ substr($order->order_id, 0, 8) }}…
|
{{ $order->store_id ? substr($order->store_id, 0, 8) . '…' : '-' }} | {{ $order->integration?->posAccess?->note ?? ($order->pos_service_id ? __('Business #:id', ['id' => $order->pos_service_id]) : '-') }} | {{ $status !== '' ? __(strtoupper($status)) : __('unknown') }} | @if ($order->synced_to_pos) {{ __('Sent') }} @else {{ __('Pending') }} @endif | {{ $order->placed_at ? $order->placed_at->format('d.m.Y H:i') : '-' }} | {{ $order->created_at ? $order->created_at->diffForHumans() : '-' }} |
{{ __('No orders yet.') }}
{{ __('To generate a test order:') }} php artisan uber-eats:simulate-webhook