@extends('layouts.app') @section('title') {{ __('Physical Inventory Report') }} @endsection @section('breadcrumb')

{{ __('Physical Inventory Report') }}

@endsection @section('content')
has('date')) value="{{ request()->get('date') }}" @else value="{{ date('F d, Y', strtotime('-1month')) . ' - ' . date('F d, Y') }}" @endif id="date" required>
@if (isset($report_branches))
@php $branches_count = 0; @endphp @foreach ($report_branches as $branch)
{{-- --}} {{-- --}} @foreach ($branch['products'] as $key => $product) {{-- --}} {{-- --}} @endforeach {{-- --}}
{{ __('#') }} {{ __('Code') }} {{ __('Type') }} {{ __('Particulars') }} {{ __('Description') }} {{ __('Cost/Unit') }} {{ __('Ending Balance') }}
{{ date('F j, Y', strtotime($to)) }}
{{__('Actual Count')}}{{ __('RIS') }}
@if (\Carbon\Carbon::parse($to)->addDay()->format('F j, Y') > \Carbon\Carbon::now()->format('F j, Y')) {{ \Carbon\Carbon::parse($to)->addDay()->format('F j, Y') }} @else {{ \Carbon\Carbon::parse($to)->addDay()->format('F j, Y') }} - {{ \Carbon\Carbon::now()->format('F j, Y') }} @endif
{{__('Over/Short')}} {{__('Remarks')}}
{{ $key + 1 }} {{ $product['product']['code'] }} {{ isset($product['product']['product_type']['name']) ? $product['product']['product_type']['name'] : '' }} {{ $product['product']['name'] }} {{-- {{ $product['product']['product_category']['name'] }} --}} {{ $product['product']['description'] }} {{ $product['product']['description'] }} @if (isset($product['cost'])) @foreach ($product['cost'] as $bcl) {{ $bcl }}
@endforeach @endif {{-- {{$product['cost']}} --}} {{-- {{$product['product']['product_unit']['name']}} --}}
{{ $product['end_balance'] }} {{ $product['ris'] }}
{{ __('Download') }}
@php $branches_count++; @endphp @endforeach
@endif
@endsection @section('scripts') @endsection