@extends('layouts.admin-main') @section('content')
@foreach($productCategoryWeightHistory as $index => $categoryHistory)
# {{ __('message.product category') }} {{__('message.weight')}} {{ __('message.weight before transaction') }} {{ __('message.weight after transaction') }} {{ __('message.note') }} {{ __('message.user') }} {{ __('message.updated at') }} {{ __('message.action') }}
{{$index+1}} {{$categoryHistory->productCategory->name??''}} {{number_format(abs($categoryHistory->weight) , 2)}} {{$categoryHistory->weight_before_transaction}} {{$categoryHistory->weight_after_transaction}} {{$categoryHistory->note??''}} {{$categoryHistory->user->name??''}} {{date('d-m-Y H-i-s' , strtotime($categoryHistory->created_at))}}