@extends('layouts.back-end.app') @section('title', $seller?->shop->name ?? translate("shop_name_not_found")) @section('content')
{{translate('Vendor_details')}}
| {{ translate('sl') }} |
{{translate('Image')}}
{{translate('name')}}
|
{{ translate('unit_price') }} ({{ getCurrencySymbol(currencyCode: getCurrencyCode()) }}) | @if(isset($clearanceConfig->discount_type) && $clearanceConfig->discount_type == 'product_wise'){{ translate('discount_amount') }} | @else{{ translate('discount_amount') . ' (%)' }} | @endif{{ translate('discount_price') }} ({{ getCurrencySymbol(currencyCode: getCurrencyCode()) }}) |
|---|
| {{ translate('sl') }} |
{{translate('Image')}}
{{translate('name')}}
|
{{ translate('unit_price') }} ({{ getCurrencySymbol(currencyCode: getCurrencyCode()) }}) | @if(isset($clearanceConfig->discount_type) && $clearanceConfig->discount_type == 'product_wise'){{ translate('discount_amount') }} | @else{{ translate('discount_amount') . ' (%)' }} | @endif{{ translate('discount_price') }} ({{ getCurrencySymbol(currencyCode: getCurrencyCode()) }}) |
|---|---|---|---|---|---|
| {{ $key+1 }} |
{{ $clearanceProduct?->product?->name }}
@if($clearanceProduct?->product?->product_type !== 'digital')
{{ translate('current_stock') }}
{{ $clearanceProduct?->product?->current_stock }}
@endif
{{ translate('category') }}:
{{ $clearanceProduct?->product?->category->name ?? translate('not_found') }}
@if($clearanceProduct?->product?->product_type !== 'digital')
{{translate('brand')}}:
{{ $clearanceProduct?->product?->brand->name ?? translate('not_found') }}
@endif
|
{{setCurrencySymbol(amount: usdToDefaultCurrency(amount: $clearanceProduct?->product?->unit_price), currencyCode: getCurrencyCode()) }}
|
@if($clearanceConfig?->discount_type == 'flat')
{{ $clearanceProduct->discount_amount }}
@else
@if($clearanceProduct?->discount_type == 'flat')
{{ setCurrencySymbol(amount: usdToDefaultCurrency(amount: $clearanceProduct->discount_amount), currencyCode: getCurrencyCode()) }}
@else
{{ $clearanceProduct->discount_amount. ' %' }}
@endif
@endif
|
@if($clearanceConfig?->discount_type == 'flat')
{{setCurrencySymbol(amount: usdToDefaultCurrency(amount: $clearanceProduct?->product?->unit_price - ($clearanceProduct?->product?->unit_price * $clearanceProduct->discount_amount) / 100), currencyCode: getCurrencyCode()) }}
@else
@php($discountAmount = $clearanceProduct->discount_type === 'percentage'? ($clearanceProduct?->product?->unit_price - ($clearanceProduct?->product?->unit_price * $clearanceProduct->discount_amount) / 100): ($clearanceProduct?->product?->unit_price - $clearanceProduct->discount_amount))
{{setCurrencySymbol(amount: usdToDefaultCurrency(amount: $discountAmount), currencyCode: getCurrencyCode()) }}
@endif
|