@extends('layouts.app') @section('title', __('Order #:number', ['number' => $order->order_number])) @php /* * Administrative totals follow the currency selected in Payment Settings. * The money() helper supplies the configured symbol and number format. */ $displayCurrency = default_currency(); /* * Some legacy date fields may be returned as strings instead of Carbon * instances. Parse the value safely before displaying it. */ $formatAdminDate = static function ( mixed $value, string $format = 'M d, Y H:i' ): string { if (blank($value)) { return __('N/A'); } try { return \Illuminate\Support\Carbon::parse($value) ->format($format); } catch (\Throwable) { return __('N/A'); } }; @endphp @section('content')
{{ $stat['label'] }}