Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@
<p class="mt-4 text-sm">
@lang('We will send a confirmation of your order :orderid to :email', ['orderid' => '@{{ order.number }}', 'email' => '@{{ order.email }}'])
</p>
<p class="flex flex-wrap items-center gap-x-1 mt-4 text-sm">@lang('Your order is currently'): <strong v-blur>@{{ order.status }}</strong> <a class="inline-block" href="#" v-on:click.prevent="(e) => {e.target.classList.add('animate-spin'); refreshOrder().finally(() => e.target.classList.remove('animate-spin'))}"><x-heroicon-o-arrow-path class="size-4" /></a></p>

<template v-if="needsLogin">
<p class="mt-4 text-sm">@lang('Please log in to view the status of your order')</p>
</template>
<template v-else>
<p class="mt-4 text-sm">@lang('Your order is currently'): <span class="font-bold" v-blur>@{{ order.status }}</span> <a class="inline-block" href="#" v-on:click.prevent="(e) => {e.target.classList.add('animate-spin'); refreshOrder().finally(() => e.target.classList.remove('animate-spin'))}"><x-heroicon-o-arrow-path class="size-4" /></a></p>
</template>
2 changes: 1 addition & 1 deletion resources/views/checkout/steps/success.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@php($checkoutSteps = config('rapidez.frontend.checkout_steps.' . config('rapidez.store_code')) ?: config('rapidez.frontend.checkout_steps.default'))
<checkout-success>
<div slot-scope="{ order, refreshOrder, hideBilling, shipping, billing, items }" data-testid="checkout-success" class="container" v-cloak>
<div slot-scope="{ order, refreshOrder, hideBilling, shipping, billing, items, needsLogin }" data-testid="checkout-success" class="container" v-cloak>
<x-rapidez-ct::layout class="mt-4 sm:mt-12">
<x-rapidez-ct::title tag="h1">
@lang('Thank you for your order')
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.