@extends('layouts.admin-main') @section('content')
@foreach ($products as $index => $product) @endforeach
# {{ __('message.part number') }} {{ __('message.product category') }} {{ __('message.name') }} {{ __('message.price') }} {{ __('message.qty') }} {{ __('message.gold weight') }}
@if($product->image) @else @endif
{{--
--}} {{--
--}} {{--

--}} {{-- {{__('message.product category')}}--}} {{--

--}} {{--
--}} {{--
:{{$product->productCategory->name??''}}
--}} {{--
--}}

{{__('message.user')}}

{{__('message.is_active')}}

: @if ($product->is_active) @else @endif

{{__('message.cost')}}

:{{ number_format($product->cost, 2) }} {{$currency_->currency_symbol??''}}

{{__('message.original wages')}}

:{{$product->original_wages??0}}

{{__('message.weight')}}

:{{$product->weight}}
@if($product->diamond_size)

{{__('message.diamond size')}}

:{!!$product->diamond_size??0!!}
@endif
{{-- @include('products.card-footer')--}}
@if($product->productAttributes->count() > 0)

{{__('message.product attribute')}}

@foreach ($product->productAttributes as $i => $productAttribute) @endforeach
# {{ __('message.name') }} {{ __('message.price') }} {{ __('message.qty') }} {{ __('message.cost') }} {{ __('message.action') }}
{{ $i + 1 }} {{$productAttribute->name}} {{$productAttribute->price}} {{$currency_->currency_symbol}} {{$productAttribute->qty}} {{$productAttribute->cost}} {{$currency_->currency_symbol}}
{{ csrf_field() }}
@else

{{__('message.product attribute is empty')}}

@endif
@if($product->description)
{!!$product->description!!}
@else

{{__('message.description is empty')}}

@endif
@if($products->hasPages())
@csrf
{{ $products->appends($_GET)->links() }}
@endif