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

@lang('layout.InventorySiteReport')

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

@lang('layout.Customer') @lang('layout.Code') @lang('layout.Phone') @lang('layout.City') @lang('layout.Address')
{{ $customer->name }} {{ $customer->code }} {{ $customer->phone }} {{ $customer->city }} {{ $customer->address1 }}

@foreach($data AS $record)
Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customers\member_stock.blade.php on line 111

Warning: Attempt to read property "name" on null in E:\Ampps\www\CAS\resources\views\customers\member_stock.blade.php on line 111

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customers\member_stock.blade.php on line 111

Warning: Attempt to read property "measure" on null in E:\Ampps\www\CAS\resources\views\customers\member_stock.blade.php on line 111

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customers\member_stock.blade.php on line 113

Warning: Attempt to read property "quantity" on null in E:\Ampps\www\CAS\resources\views\customers\member_stock.blade.php on line 113

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customers\member_stock.blade.php on line 114

Warning: Attempt to read property "total" on null in E:\Ampps\www\CAS\resources\views\customers\member_stock.blade.php on line 114

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customers\member_stock.blade.php on line 116

Warning: Attempt to read property "cat" on null in E:\Ampps\www\CAS\resources\views\customers\member_stock.blade.php on line 116

Warning: Undefined variable $record in E:\Ampps\www\CAS\resources\views\customers\member_stock.blade.php on line 134

Warning: Attempt to read property "cat" on null in E:\Ampps\www\CAS\resources\views\customers\member_stock.blade.php on line 134
@endforeach @if(count($items) <= 1) @endif
# @lang('layout.Type') @lang('layout.Number') @lang('layout.Member') @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.Total') @lang('layout.User')
{{++$count}} {{__('type.' . $record->type)}} {{$record->number}} {{$record->from_customer}} {{$record->ref_no}} {{convertDate($record->date)}} {{$record->name}} {{$record->siteName}} {{__('type.' . $record->cat)}} {{$record->quantity}} {{$record->measure}} {{$record->cost}} {{$record->total}} {{$record->user}}
@lang('layout.Total') {{$totalQuantityItem}} {{$totalQuantityPrice}}
@lang('layout.InItems') @lang('layout.OutItems') @lang('layout.Total') @lang('layout.Total') @lang('layout.Price')
{{myRound($in)}} {{myRound($out)}} {{myRound($in-$out)}} {{myRound($total_balance_amount)}}

@if(count($items) <= 1) @endif {{-- --}}

@lang('layout.Items')

@lang('layout.Record') @lang('layout.Item') @lang('layout.Unit') @lang('layout.QutIn') @lang('layout.QutOut') @lang('layout.Remain')
{{++$count}} {{$key}} {{$item['measure']}} {{(isset($item['in']))?myRound($item['in']):0}} {{(isset($item['out']))?myRound($item['out']):0}} {{myRound($remain)}}
@lang('layout.Total') {{$totalQuantityIn}} {{$totalQuantityOut}} {{$totalQuantityRemaining}}

@lang('layout.HomeCurrencyTotal')

{{myRound($total_home_currency)}} {{getHomeCurrency()[getCurrencyType()]}}

@lang('layout.Total') @lang('layout.Commission')

{{myRound($total_comm_amount)}} {{getHomeCurrency()[getCurrencyType()]}}
@foreach(getCompanyInfo('sign','reports') AS $info) @endforeach
{{$info['name']}}
@endsection