@extends('layouts.admin-main') @section('content')
Back

{{$settings_->shop_name}}

{{__('message.cashier')}} : {{Auth::user()->name}}
{{__('message.invoice date')}} : {{now()->toDateTimeString()}}
{{__('message.location')}} : {{$settings_->address}}
{{__('message.phone number')}} : {{$settings_->phone}}

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

@if($for_sale == 0) @else @endif {{-- --}} @foreach($productQtyHistories as $index => $productQtyHistory) @if($for_sale == 0) @else @endif {{-- --}} @endforeach
# {{__('message.grn')}} {{__('message.part number')}} {{__('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.updated at') }}
{{$index+1}} {{$productQtyHistory->grn}} {{$productQtyHistory->product?->part_number}} {{$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))}}

{{__('message.prepare by')}} :

{{__('message.confirm by')}} :
Print
@endsection @section('scripts') @endsection