@extends('printlayout') @section('content')

{{ __('sitelabel.StockReport') }}

{{ __('sitelabel.StartDate') }}: {{ \Carbon\Carbon::parse($startDate)->format('d-F-Y') }} {{ __('sitelabel.EndDate') }}: {{ \Carbon\Carbon::parse($endDate)->format('d-F-Y') }}
@if(count($stockReport) > 0) @foreach($stockReport as $warehouse)

{{ __('sitelabel.Warehouse') }}: {{ $warehouse['name'] }}

@foreach($warehouse['products'] as $product) @endforeach
{{ __('sitelabel.Product') }} {{ __('sitelabel.OpeningBalance') }} {{ __('sitelabel.Inword') }} {{ __('sitelabel.TransferIn') }} {{ __('sitelabel.Outword') }} {{ __('sitelabel.TransferOut') }} {{ __('sitelabel.CurrentStock') }}
{{ $product['name'] }} {{ rtrim(rtrim(number_format($product['opening_balance'], 2), '0'), '.') }} {{ rtrim(rtrim(number_format($product['inword'], 2), '0'), '.') }} {{ rtrim(rtrim(number_format($product['transfer_in'], 2), '0'), '.') }} {{ rtrim(rtrim(number_format($product['outword'], 2), '0'), '.') }} {{ rtrim(rtrim(number_format($product['transfer_out'], 2), '0'), '.') }} {{ rtrim(rtrim(number_format($product['current_stock'], 2), '0'), '.') }}
@endforeach @else
{{ __('sitelabel.NoRecordAvailableBetweenTheseDates') }}
@endif @include('sign-subview.signandbuttons') @endsection