@extends('layouts.layout') @section('content')
@php $refundData = $refundItems; $refundItems = explode(',', $refundData->refunded_items); @endphp @foreach ($orderItem as $orderItem) {{-- ############################################################ --}} @php $orderdata = json_decode($orderItem['order_data']); if (!in_array($orderItem->id, $refundItems)) { continue; } @endphp
Refund Processed Successfully!

Your refund has been successfully processed. We’re confirming the details below for your records.

Refunded Item
Order Number : {{ $ordervalue->order_id }}
Order Date : {{ date('M d, Y', strtotime($ordervalue->created_at)) }}
Shipping To : Billing To :
{{ ucfirst($shipping_address->address_line1) }}
{{ $shipping_address->city }} , {{ $shipping_address->state }}
{{ $shipping_address->email }}
{{ formateNumber($shipping_address->phone) }}
{{ ucfirst($billing_address->address_line1) }}
{{ $billing_address->city }} , {{ $billing_address->state }}
{{ $billing_address->email }}
{{ formateNumber($billing_address->phone) }}
@if ($orderdata->product_type == 'ring_diamond' || $orderdata->product_type == 'ring_gemstone') Ring (Completed) @else Wedding Band @endif
@if ($orderdata->product_type == 'ring_diamond' || $orderdata->product_type == 'ring_gemstone') {{-- print the complete ring based on type gemstone or diamond --}} @php $ringImage = getProductImages( $orderdata->ring_id, $orderdata->ring_color, $orderdata->center_stone_shape, ); $ringName = getRingName( $orderdata->ring_id, ); $ringSku = getRingSKU( $orderdata->ring_id, ); if ( $orderdata->product_type == 'ring_diamond' ) { // get the diamond Data and pric $diamondDetails = getResponseFromSavedData( $orderItem->diamond_response, ); $stone_image = $diamondDetails->image_url; $size = $diamondDetails->size . ' Carat'; $shape = $diamondDetails->shape; $diamondType = $orderdata->diamond_type == 'Lab_grown_Diamond' ? 'Lab Diamond' : 'Natural Diamond'; $cut = $diamondDetails->cut . ' Cut'; $color = $diamondDetails->color . ' Color'; $clarity = $diamondDetails->clarity . ' Clarity'; } else { // get the gemstone data and print $gemstoneDetails = getResponseFromSavedData( $orderItem->gemstone_response, ); $title = $gemstoneDetails->short_title; $stone_image = $gemstoneDetails->image_url; } @endphp {{-- //printed ring data --}} {{-- //stone details ring data --}} @else @php $ringImage = getProductImages( $orderdata->ring_id, $orderdata->ring_color, $orderdata->center_stone_shape, ); $ringName = getRingName( $orderdata->ring_id, ); $ringSku = getRingSKU( $orderdata->ring_id, ); @endphp @endif @endforeach {{-- ######################################################### --}}
{{ $ringName }} {{ $ringName }}
{{ $ringSku }}
Ring Size : {{ $orderdata->ring_size }}

${{ formatPrice($orderdata->ring_price) }}
@php if (isset($shape)) { $errorImg = env( 'AWS_URL', ) . 'frontend/images/' . ucfirst( $shape, ) . '.' . 'jpg'; } else { $errorImg = env( 'AWS_URL', ) . 'frontend/images/' . 'grayscalelogo.png'; } @endphp
stone @if ($orderdata->product_type == 'ring_diamond') {{ $size }} {{ $shape }} {{ $diamondType }}
{{ $cut }}, {{ $color }}, {{ $clarity }} @else {{ $title }} @endif
${{ formatPrice($orderdata->product_type == 'ring_diamond' ? $orderdata->diamond_price : $orderdata->gemstone_price) }}
{{ $ringName }} {{ $ringName }}
{{ $ringSku }}
Ring Size : {{ $orderdata->ring_size }}

${{ formatPrice($orderdata->ring_price) }}
@if ($ordervalue->coupon_discount != 0 || !empty($ordervalue->coupon_discount)) @endif
Subtotal : ${{ number_format($ordervalue->amount, 2) }}
Shipping Fees : {{ $ordervalue->shipping == 0 ? 'Free' : '$' . $ordervalue->shipping }}
Sales TAX : ${{ $ordervalue->tax == 0 ? 0 : number_format($ordervalue->tax, 2) }}
Discount : ${{ number_format($ordervalue->coupon_discount) }}
Total Refund : ${{ number_format($refundData->refunded_amount, 2) }}
Your Refund With SAMA Has Been Processed
Please note that it may take 5–10 business days for the refund to reflect in your account, depending on your bank or card issuer.
If you have any questions about your refund or need further assistance, our customer service team is here to help. You can reach us at customerservice@rocksama.com or call us at 332-295-2110.
Thank you again for choosing SAMA.We hope to serve you again soon!
Warmly,
The SAMA Team
We hope you love your next piece even more.
{{-- {!! $emailContent->content !!} --}}
@endsection