Order Info
| ID | Product | Price | @hasrole('admin')Seller | @endhasrole
|---|---|---|---|
| {{ $items->id }} |
{{ $items->product->name }}
@foreach (json_decode($items->variation) as $key => $value)
{{ $value->name }} - ${{ $value->price }} * {{ $value->qty }} ${{ $items->price }} @endforeach |
${{ $items->price }}
@php
$sales_vendor = DB::table('sale_vendors')
->where('order_id', $items->order_id)
->where('product_id', $items->product_id)
->first();
@endphp
Product Price: ${{ $items->price }} Harvest Commission: - ${{ $sales_vendor->admin_commission }} ({{ $items->product->user->package->marketplace_commission }}%) Earning: ${{ $sales_vendor->seller_commission }} |
@hasrole('admin')
@if ($items->product->user->image != null)
@endif
{{ $items->product->user->name }} {{ $items->product->user->email }} |
@endhasrole
| Shipping Amount: | {{ $data->shipping == 0 ? 'Free' : '$' . $data->shipping }} | ||
| Sales Tax: | {{ $data->tax }}% | ||
| Total Price: | ${{ $data->amount }} |
Shipping Address
| Name | {{ $data->name }} |
| {{ $data->email }} | |
| Phone | {{ $data->phone }} |
| Address | {{ $data->address }} |
| Address 1 | {{ $data->address_1 }} |
| Country | {{ $data->country }} |
| City | {{ $data->city }} |
| State | {{ $data->state }} |
| Zip | {{ $data->zip }} |
| Notes | {{ $data->notes }} |
Payment Details
| Method | {{ ucwords($data->payment_method) }} |
| Transaction ID | {{ $data->transaction_id }} |
@endif