@component('mail::layout', ["company" => $company])
@component('mail::header', ['image' => isset($company->link) ? $company->link : $company['link']]) {{--

CONGRATULATION

--}} {{--

Data Feed Notification

--}} @endcomponent

Order #{{$order_no}} has been added to the {{$type}}. You may view the information below, or select the order # to be redirected to that order. You may Also click here to be redirected to the {{$type}} to view all entries of this type.

@if ($type == 'return feed') @foreach ($data['data'] as $item)
Order # {{$item['order_no']}}
Date {{\Carbon\Carbon::parse($item['date'])->format('m/d/Y')}}
Model # {{$item['model']}}
Quantity {{$item['quantity']}}
Refund Method {{$item['refund_method']}}
Refund Reason {{$item['refund_reason']}}
Location {{$item['store']['store_name']}}
Note {{$item['note'] ? $item['note'] : '-'}}
@endforeach @else
Order # {{$data->order_no}}
Customer Name {{$data->order->ship_name}}
Customer Delivery Email {{$data->order->ship_email}}
Customer Delivery Phone # {{$data->order->ship_phone_number}}
Model # {{$data->product_model}}
Serial # {{$data->serial_number}}
Description {{$data->description}}
Amount ${{number_format($data->amount,2)}}
Driver Name {{$data->driver_name}}
Date Accepted {{\Carbon\Carbon::parse($data->date_accepted)->format('m/d/Y')}}
Credit Memo {{$data->credit_memo ? $data->credit_memo : '-'}}
Status Open
@endif
@endcomponent