@extends('layouts.syndron.app') @section('content')
| Shop | Owner | Phone | Approved | |
|---|---|---|---|---|
|
@if(!empty($shop->logo))
—
@endif
{{ $shop->name }}
{{ $shop->slug }}
|
{{ $shop->user->name ?? ('#'.$shop->user_id) }} | {{ $shop->phone ?? '-' }} | {{ $shop->email ?? '-' }} | @if($shop->is_approved) Yes @else No @endif |
| SKU | Barcode | Combination | Price Override | On hand | Status |
|---|---|---|---|---|---|
| {{ $v->sku_code ?? '-' }} | {{ $v->barcode ?? '-' }} |
@if(is_array($v->combination_items) && count($v->combination_items))
{{ json_encode($v->combination_items, JSON_UNESCAPED_UNICODE) }}
@else
-
@endif
|
{{ number_format($v->price_override ?? 0) }} | {{ optional($v->warehouseInventory)->qty_on_hand ?? '-' }} | {{ __($v->status) }} |
OrderItem model and DB fields,
I’ll write the exact query to fetch orders that contain this product.
| Tracking | Status | Amount | Created |
|---|---|---|---|
| {{ $order->tracking_code ?? ('#'.$order->id) }} | {{ __($order->status) }} | {{ number_format($order->amount ?? 0) }} | {{ optional($order->created_at)->format('Y-m-d H:i') }} |