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

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

: @if($productQtyHistory->for_sale == 0 && $productQtyHistory->product_cost) {{number_format($productQtyHistory->product_cost??0 , 2)}} {{$currency_->currency_symbol}} @else {{number_format($productQtyHistory->product?->cost($productQtyHistory->weight)??0 , 2)}} {{$currency_->currency_symbol}} @endif

{{__('message.wages')}} {{$productQtyHistory->product?->productCategory?->fixed_price??''||$productQtyHistory->product?->fixed_price?'':'(គិតជាលី)'}}

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

{{__('message.original wages')}} {{$productQtyHistory->product?->productCategory?->fixed_price??''||$productQtyHistory->product?->fixed_price??''?'':'(គិតជាលី)'}}

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

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

: {{-- {{number_format($productQtyHistory->product->weight??0 ,2)}}--}} @if($productQtyHistory->weight) {{number_format($productQtyHistory->weight??0 ,2)}} @else {{number_format($productQtyHistory->product?->weight??0 ,2)}} @endif

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

: {{$productQtyHistory->note??''}}

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

: {{$productQtyHistory->product?->original_invoice??''}}
{{--
--}} {{--
--}} {{--

--}} {{-- {{__('message.updated at')}}--}} {{--

--}} {{--
--}} {{--
:--}} {{-- {{date('d-m-Y H-i-s' , strtotime($productQtyHistory->created_at))}}--}} {{--
--}} {{--
--}}