@extends('layouts.admin-main') @section('content')
@if($for_sale == 0) @else @endif @foreach($productQtyHistories as $index => $productQtyHistory) @if($for_sale == 0) @else @endif
# {{__('message.grn')}} {{__('message.product category')}} {{ __('message.product name') }} {{ __('message.selling cost') }}{{__('message.weight')}} {{ __('message.weight before transaction') }} {{ __('message.weight after transaction') }}{{__('message.qty')}} {{ __('message.qty before transaction') }} {{ __('message.qty after transaction') }}{{ __('message.note') }} {{ __('message.user') }} {{ __('message.created at') }} {{ __('message.action') }}
{{$index+1}} @if($for_sale==0) @endif {{$productQtyHistory->grn}} {{$productQtyHistory->product->productCategory->name??''}} {{$productQtyHistory->product->name??''}} {{number_format($productQtyHistory->product_cost??0 , 2)}} {{$currency_->currency_symbol}} {{abs($productQtyHistory->weight)}} {{number_format($productQtyHistory->weight_before_transaction , 2)}} {{number_format($productQtyHistory->weight_after_transaction , 2)}} {{abs($productQtyHistory->qty)}} {{number_format($productQtyHistory->qty_before_transaction , 2)}} {{number_format($productQtyHistory->qty_after_transaction , 2)}} {{$productQtyHistory->note??''}} {{$productQtyHistory->user->name??''}} {{date('d-m-Y H-i-s' , strtotime($productQtyHistory->created_at))}}