@extends('layouts.admin-main') @section('content')
{{--
--}} {{-- Back--}} {{--
--}}
{{--
--}} {{--
--}} {{-- GRN Number--}} {{--
--}} {{--
--}}

{{$settings_->shop_name}}

{{--
--}} {{--
--}} {{--
--}} {{-- {{__('message.cashier')}} : {{$cashie}}--}} {{--
--}} {{--
--}} {{-- {{__('message.invoice date')}} : {{now()->toDateTimeString()}}--}} {{--
--}} {{--
--}} {{--
--}}
{{__('message.location')}} : {{$settings_->address}}
{{__('message.phone number')}} : {{$settings_->phone}}
{{__('message.start date')}} {{date('d/m/y' , strtotime($start_date))}} {{__('message.to date')}} {{date('d/m/y' , strtotime($end_date))}}

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

@foreach($productCategoryWeightHistory as $index => $categoryHistory) @endforeach
# {{ __('message.product category') }} {{__('message.weight')}} {{ __('message.weight before transaction') }} {{ __('message.weight after transaction') }} {{ __('message.note') }} {{ __('message.user') }} {{ __('message.updated at') }}
{{$index+1}} {{$categoryHistory->productCategory->name??''}} {{-- {{abs($categoryHistory->weight)}}--}} {{number_format(($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))}}
{{--
--}} {{-- Print--}} {{--
--}}
@endsection @section('scripts') @endsection