@extends('layouts.master') @section('styles') @endsection @section('content')

Report Management

Export Excel

Distributor Stock History Report

@if (collect($data['products'])->count()>0) @foreach (collect($data['products']) as $key => $item) @if($item->status == "in") @endif @if($item->status == "out") @if($item->type == "damage" || $item->type == "writing off damage stock") @else @endif @endif @endforeach @endif
Date Product SKU Product Name Transaction Type Transaction ID Condition Opening Stock (QTY) Debit (QTY) Credit (QTY) Sellable Balance (QTY) Damage/Expire Balance (QTY) Remarks
{{date('d-m-Y',strtotime($item->created_at))}} {{$item->item_sku}} {{$item->item_name}} {{$item->trans_type}} {{$item->table_id ? $item->table_id : 'NA'}} {{$item->product_condition}} {{number_format($item->opening_balance)}} {{number_format($item->child_quantity)}} 0 {{number_format($item->balance)}} 0 {{$item->adjustment_reason}}
{{date('d-m-Y',strtotime($item->created_at))}} {{$item->item_sku}} {{$item->item_name}} {{$item->trans_type}} {{$item->table_id ? $item->table_id : 'NA'}} {{$item->product_condition}} {{number_format($item->opening_balance)}} 0 {{number_format($item->child_quantity)}} {{number_format($item->balance)}}{{number_format($item->damage)}}0{{$item->adjustment_reason}}
@endsection @section('scripts') @endsection