@extends('emails.email-template') @section('content')

New Vendor Order Notification

Hello {{ $order->items->first()->product->agent->name }},

A vendor you manage has received a new order #{{ $order->order_no }} on {{ $order->created_at->format('F j, Y \a\t g:i A') }}.

Vendor: {{ $order->items->first()->product->vendor->name }}

Please note the below customer and shipping information:

Customer: {{ $order->customer->first_name . ' ' . $order->customer->last_name }}

@php $shipping_address = json_decode($order->shipping_address_data, true); @endphp

Shipping Address:

{{ $shipping_address['street_address'] ?? '' }} {{ !empty($shipping_address['address_line2']) ? ', '.$shipping_address['address_line2'] : '' }}, {{ $shipping_address['city'] ?? '' }}, {{ $shipping_address['zip'] ?? '' }}, {{ $shipping_address['state'] ?? '' }}, {{ $shipping_address['country'] ?? '' }}

View Order in Agent Dashboard

If you need assistance, please contact support@tvikla.com.

@endsection