@extends('layouts.admin-main') @section('content')
{{__('message.back')}}
{{__('message.print')}}

{{__('message.products list')}}

@foreach($products as $index => $product) @endforeach
# {{__('message.name')}} {{__('message.sales price')}} {{__('message.discount')}} {{__('message.buy back')}} {{__('message.user')}} {{__('message.created at')}}
@if($product->image) @else @endif

{{__('message.part number')}}

: {{$product->part_number}}

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

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

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

: {{$product->qty??0}}
@if($product->already_buy_back)

{{__('message.buy back price')}}

: {{$product->buy_back_price??0}} {{$currency_->currency_symbol}}

{{__('message.date buy back')}}

: @if($product->buy_back_date) {{$product->buy_back_date->format('d-m-Y H:i')}} @endif
@endif @if($product->diamond_size)

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

: {!!$product->diamond_size??0!!}
@endif

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

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

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

: {{$product->weight}}

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

: {{$product->goldWeight()}}

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

: {{number_format($product->wages??0 , 2)}} {{$currency_->currency_symbol}}

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

: {{number_format($product->originale_wages??0 , 2)}} {{$currency_->currency_symbol}}
@include('members.card-footer')
@if($product->description)
{!! $product->description !!}
@endif

{{__('message.show member')}}

{{__('message.name')}} {{$member[0]?->name}}
{{__('message.phone')}} {{$member[0]?->phone}}
{{__('message.note')}} {{$member[0]?->note}}
@if($products->hasPages())
{{ $products->appends($_GET)->links() }}
@endif
@endsection