public function showSellerOrder($id)
{
$user = \Auth::user();
$order = Order::where('id', $id)->where('seller_id', $user->id)->with('details')->first();
$totalItems = $order->details->sum('quantity');
$grandTotal = $order->details->sum('price');
$orderAddress = Address::find($order->address_id);
$order_comments = Comment::where('action_type_id', 3)->where('source_id', $id)->orderBy('created_at', 'asc')->get();
$panel = ['left' => ['width' => '2', 'class' => 'user-panel'], 'center' => ['width' => '10']];
$is_seller = true;
return view('orders.detail', compact('user', 'is_seller', 'panel', 'orderAddress', 'order', 'order_comments', 'totalItems', 'grandTotal'));
}