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

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

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

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

: @if($productQtyHistory->product->productCategory->fixed_price || $productQtyHistory->product->fixed_price) {{number_format($productQtyHistory->product->wages??0 , 2)}} {{$currency_->currency_symbol}} @else {{number_format($productQtyHistory->product->wages_in_weight??0 , 2)}} @endif

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

: @if($productQtyHistory->product->productCategory->fixed_price || $productQtyHistory->product->fixed_price) {{number_format($productQtyHistory->product->original_wages??0 , 2)}} {{$currency_->currency_symbol}} @else {{number_format($productQtyHistory->product->original_wages_in_weight??0 , 2)}} @endif

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

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

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

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

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

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

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

: