@extends('layouts.admin-main') @section('content')
# | {{__('message.grn')}} | {{__('message.product category')}} | {{ __('message.product name') }} | {{ __('message.sales price') }} | {{__('message.qty')}} | {{__('message.cost')}} | {{__('message.wages')}} | {{__('message.original wages')}} | {{__('message.weight')}} | {{__('message.gold weight')}} | {{__('message.diamond size')}} | {{ __('message.note') }} | {{ __('message.user') }} | {{ __('message.updated at') }} |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$index+1}} | {{$productQtyHistory->grn}} | {{$productQtyHistory->product->productCategory->name??''}} | {{$productQtyHistory->product->name??''}} | {{number_format($productQtyHistory->product->sellingPrice() , 2)}} {{$currency_->currency_symbol}} | {{abs($productQtyHistory->qty)}} | {{number_format($productQtyHistory->product->sellingCost() , 2)}} {{$currency_->currency_symbol}} | @if($productQtyHistory->product->productCategory->fixed_price) {{number_format($productQtyHistory->product->wages , 2)}} {{$currency_->currency_symbol}} @else @if($productQtyHistory->fixed_price) {{number_format($productQtyHistory->product->wages , 2)}} {{$currency_->currency_symbol}} @else {{number_format($productQtyHistory->product->wages_in_weight , 2)}} @endif @endif | @if($productQtyHistory->product->productCategory->fixed_price) {{number_format($productQtyHistory->product->original_wages , 2)}} {{$currency_->currency_symbol}} @else @if($productQtyHistory->product->fixed_price) {{number_format($productQtyHistory->product->original_wages , 2)}} {{$currency_->currency_symbol}} @else {{number_format($productQtyHistory->product->original_wages_in_weight , 2)}} @endif @endif | {{number_format($productQtyHistory->product->weight ,2)}} | {{number_format($productQtyHistory->product->goldWeight() ,2)}} | {!!$productQtyHistory->product->diamond_size!!} | {{$productQtyHistory->note??''}} | {{$productQtyHistory->user->name??''}} | {{date('d-m-Y H-i-s' , strtotime($productQtyHistory->created_at))}} |