@extends('layouts.admin-main') @section('content')
# | {{ __('message.part number') }} | {{ __('message.product category') }} | {{ __('message.name') }} | {{ __('message.price') }} | {{ __('message.fixed price') }} | @if($for_sale == 1){{ __('message.qty') }} | @endif{{ __('message.gold weight') }} | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $index + 1 }} |
@if($product->for_sale)
@endif
{{$product->part_number}}
|
{{$product->productCategory->name??''}} | {{ $product->name}} | @if($product->fixed_price){{number_format($product->price,2)}} {{$currency_->currency_symbol??''}} | @else{{number_format($product->sellingPrice(),2)}} {{$currency_->currency_symbol??''}} | @endif@if ($product->fixed_price) @else @endif | @if($for_sale == 1){{$product->tempQty()}} | @endif{{number_format($product->goldWeight()??0 , 2)}} | ||||||||||||||
@if($product->image)
![]() {{__('message.cost')}} : {{ number_format($product->cost(), 2) }} {{$currency_->currency_symbol??''}}
{{__('message.selling cost')}} : {{ number_format($product->sellingCost(), 2) }} {{$currency_->currency_symbol??''}}
{{__('message.current rate')}} : {{ number_format($product->productcategory->price(), 4) }} {{$currency_->currency_symbol??''}}
{{__('message.wages')}} {{$product->productCategory->fixed_price||$product->fixed_price?'':'(គិតជាលី)'}} :
@if($product->productCategory->fixed_price || $product->fixed_price)
{{number_format($product->selling_wagesInWeight()??0 , 2)}} {{$currency_->currency_symbol}}
@else
{{number_format($product->wages_in_weight??0 , 2)}}
@endif
{{__('message.original wages')}} {{$product->productCategory->fixed_price||$product->fixed_price?'':'(គិតជាលី)'}} :
@if($product->productCategory->fixed_price || $product->fixed_price)
{{number_format($product->cost_wagesInWeight()??0 , 2)}} {{$currency_->currency_symbol}}
@else
{{number_format($product->original_wages_in_weight??0 , 2)}}
@endif
{{__('message.weight')}} :
{{number_format($product->weight , 2)}}
@if($product->weight_description)
({{$product->weight_description}})
@endif
{{__('message.user')}} {{__('message.is_active')}} :
@if ($product->is_active)
@else
@endif
{{__('message.created at')}} :
{{date('d-m-y H:i' , strtotime($product->created_at))}}
{{__('message.diamond size')}} :{!!$product->diamond_size??0!!}
{{__('message.supplier')}} :{{$product->supplier->name??''}}
{{__('message.supplier rate')}} :{{number_format($product->supplier_rate??0 , 2)}} {{$currency_->currency_symbol}}
{{__('message.phone')}} :{{$product->supplier->phone??''}}
{{__('message.note')}} :{{$product->supplier->note??''}}
@if($product->productAttributes->count() > 0)
{{__('message.product attribute')}}
{{__('message.product attribute is empty')}}
@if($product->description)
{!!$product->description!!}
@else
{{__('message.description is empty')}} |