@extends('layouts.factor-master') @section('content')

@lang('layout.CustomerItemDetailsReport')

@if($from_date) @endif @if($to_date) @endif @if($member_class_name) @endif
@lang('layout.FromDate'): {{convertDate($from_date)}} @lang('layout.ToDate'): {{convertDate($to_date)}} @lang('layout.MemberClass'): {{$member_class_name}}

@foreach ($data as $record)
Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 43

Warning: Attempt to read property "customer" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 43

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 43

Warning: Attempt to read property "siteName" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 43

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 43

Warning: Attempt to read property "name" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 43

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 50

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 50

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 51

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 51

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 52

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 52

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 53

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 53

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 54

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 54

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 55

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 55

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 56

Warning: Attempt to read property "qty" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 56

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 59

Warning: Attempt to read property "customer" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 59

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 59

Warning: Attempt to read property "siteName" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 59

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 59

Warning: Attempt to read property "name" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 59

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 67

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 67

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 68

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 68

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 69

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 69

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 70

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 70

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 71

Warning: Attempt to read property "qty" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 71

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 74

Warning: Attempt to read property "measure" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 74

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 77

Warning: Attempt to read property "measure" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 77

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 77

Warning: Attempt to read property "qty" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 77
@if(count($record['detail']) > 0) {{-- @dd($record['detail']) --}} @foreach($record['detail'] as $de)
Warning: Undefined variable $de in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 121

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 121

Warning: Undefined variable $de in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 124

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 124

Warning: Undefined variable $de in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 124

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 124

Warning: Undefined variable $de in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 126

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 126

Warning: Undefined variable $de in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 129

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 129

Warning: Undefined variable $de in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 133

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 133

Warning: Undefined variable $de in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 134

Warning: Trying to access array offset on value of type null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 134

Warning: Undefined variable $de in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 136

Warning: Attempt to read property "name" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 136

Warning: Undefined variable $de in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 136

Warning: Attempt to read property "measure" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 136

Warning: Undefined variable $de in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 137

Warning: Attempt to read property "name" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 137

Warning: Undefined variable $de in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 138

Warning: Attempt to read property "cat" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 138

Warning: Undefined variable $de in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 141

Warning: Attempt to read property "cat" on null in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 141
@endforeach @endif @endforeach
@lang('layout.Record') @lang('layout.Customer') @lang('layout.Code') @lang('layout.Phone')
{{++$count}} {{$record->customer}} {{$record->code}} {{$record->phone}}
@lang('layout.Record') @lang('layout.Type') @lang('layout.Number') @lang('layout.ReferenceNumber') @lang('layout.Date') @lang('layout.Item') @lang('layout.SiteName') @lang('layout.Category') @lang('layout.Quantity') @lang('layout.Measure') @lang('layout.Price') @lang('layout.TotalPcs') @lang('layout.User')
{{++$dCount}} {{__('type.' . $de['type'])}} {{$de['number']}} {{$de['ref_no']}} {{convertDate($de['date'])}} {{$de['name']}} {{$de['siteName']}} {{__('type.' . $de['cat'])}} {{myRound($de['quantity'])}} {{$de['measure']}} {{myRound($de['cost'])}} {{myRound($de['total'])}} {{$de['user']}}
@lang('layout.Total') @if(count($measure) <= 1) {{myRound($totalQuantityIn - $totalQuantityOut)}} @else @endif {{myRound($totalCost)}} {{myRound($totalAmount)}}


Warning: Undefined array key "in_quantity" in E:\Ampps\www\CAS\resources\views\customer_stock\customer_stock_details.blade.php on line 205
@if(count($measures) <= 1) @endif

@lang('layout.Total') - @lang('layout.Items')

@lang('layout.Record') @lang('layout.Item') @lang('layout.Unit') @lang('layout.TotalIn') @lang('layout.TotalOut') @lang('layout.CustomerReceive')
{{++$count}} {{$key}} {{$item['measure']}} {{myRound(isset($item['in_quantity']) ? $item['in_quantity'] : 0)}} {{myRound(isset($item['out_quantity']) ? $item['out_quantity'] : 0)}} {{myRound((isset($item['in_quantity']) ? $item['in_quantity'] : 0) - (isset($item['out_quantity']) ? $item['out_quantity'] : 0))}}
@lang('layout.Total') {{$totalFinalQuqantity}} {{$totalFinalQuqantityOut}} {{$totalReceive}}

{{--
@lang('layout.Total') @lang('layout.CustomerReceive')
@lang('layout.Record') @lang('layout.Customer') @lang('layout.Code') @lang('layout.Phone') @lang('layout.Site') @lang('layout.Item') @lang('layout.CustomerReceive') @lang('layout.Measure')
@lang('layout.Total') {{$allQty}}
--}}
{{--
@lang('layout.StockNearCustomer')
@lang('layout.Record') @lang('layout.Customer') @lang('layout.Site') @lang('layout.Item') @lang('layout.StockNearCustomer') @lang('layout.Measure')
@lang('layout.Total') {{abs($allQty)}}
--}} @foreach(getCompanyInfo('sign','reports') AS $info) @endforeach
{{$info['name']}}
@endsection