@extends('layouts.app') @section('header-title', __('Order Details')) @section('content')
{{ __('SL') }} | {{ __('Product') }} | @if ($businessModel == 'multi'){{ __('Shop') }} | @endif{{ __('Quantity') }} | {{ __('Price') }} | {{ __('Total') }} |
---|---|---|---|---|---|
{{ $key + 1 }} |
|
@if ($businessModel == 'multi')
{{ $product->shop?->name }} | @endif{{ $product->pivot->quantity }} | @php $price = $product->pivot->price > 0 ? $product->pivot->price : ($product->discount_price > 0 ? $product->discount_price : $product->price); @endphp {{ showCurrency($price) }} | {{ showCurrency($product->pivot->quantity * $price) }} |