@lang('product.variations') | @lang('product.sku') | @can('view_purchase_price')@lang('product.default_purchase_price') (@lang('product.exc_of_tax')) | @lang('product.default_purchase_price') (@lang('product.inc_of_tax')) | @endcan @can('access_default_selling_price') @can('view_purchase_price')@lang('product.profit_percent') | @endcan@lang('product.default_selling_price') (@lang('product.exc_of_tax')) | @lang('product.default_selling_price') (@lang('product.inc_of_tax')) | @endcan @if(!empty($allowed_group_prices))@lang('lang_v1.group_prices') | @endif@lang('lang_v1.variation_images') |
---|---|---|---|---|---|---|---|---|
{{$variation->product_variation->name}} - {{ $variation->name }} | {{ $variation->sub_sku }} | @can('view_purchase_price'){{ $variation->default_purchase_price }} | {{ $variation->dpp_inc_tax }} | @endcan @can('access_default_selling_price') @can('view_purchase_price'){{ @num_format($variation->profit_percent) }} | @endcan{{ $variation->default_sell_price }} | {{ $variation->sell_price_inc_tax }} | @endcan @if(!empty($allowed_group_prices))
@foreach($allowed_group_prices as $key => $value)
{{$value}} -
@if(!empty($group_price_details[$variation->id][$key]))
@if($group_price_details[$variation->id][$key]['price_type'] == 'fixed')
{{ $group_price_details[$variation->id][$key]['price'] }}
@elseif($group_price_details[$variation->id][$key]['price_type'] == 'percentage')
{{ $group_price_details[$variation->id][$key]['price'] }} %
@endif
@else
0
@endif
@endforeach |
@endif
@foreach($variation->media as $media) {!! $media->thumbnail([60, 60], 'img-thumbnail') !!} @endforeach |