generated from boboko/starter
Feat: Adding Order reference to views
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
@extends('layouts.account')
|
||||
|
||||
@section('title', __('storefront.orders.order_title', ['number' => $order->reference]))
|
||||
@php
|
||||
$orderReference = \Modules\Core\Order\Support\OrderReferenceDisplay::resolve($order);
|
||||
@endphp
|
||||
|
||||
@section('title', __('storefront.orders.order_title', ['number' => $orderReference]))
|
||||
|
||||
@php
|
||||
$productLines = $order->lines->where('type', '!=', 'shipping');
|
||||
@@ -18,7 +22,7 @@
|
||||
</a>
|
||||
|
||||
<h1 class="font-display text-h3 font-black tracking-tight sm:text-h2">
|
||||
{{ __('storefront.orders.order_title', ['number' => $order->reference]) }}
|
||||
{{ __('storefront.orders.order_title', ['number' => $orderReference]) }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user