@extends('layouts.page') @section('title') Scriptures {{ $year }} (Based on PR's) @endsection @section('navs') {{ Form::open(['method' => 'get', 'id' => 'idThisForm']) }} {!! Form::select("department[]", ['ict' => 'ICT', 'al' => 'AL', 'cdp' => 'CDP', 'llt' => 'LEAP', 'wep' => 'WEP'], request()->department, ['class' => 'form-control', 'id' => 'department', 'multiple' => true]) !!} @include ('common.multiselect', ['field' => 'department']) {!! Form::select('year', ['' => '-Year-']+AppHelper::options('years'), $year) !!} {!! Form::submit('Submit', ['class' => 'btn btn-info btn-sm px-2']) !!} @endsection @section('content')
@foreach($cat as $c) @endforeach @foreach($cat as $c) @foreach($langs[$c] as $l) @endforeach @endforeach @foreach($depts as $d) @foreach($cat as $c) @foreach($langs[$c] as $l)
Warning: Undefined variable $d in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 45

Warning: Undefined variable $c in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 45

Warning: Undefined variable $l in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 45

Warning: Undefined variable $c in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 48

Warning: Undefined variable $l in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 48

Warning: Undefined variable $c in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 49

Warning: Undefined variable $l in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 49

Warning: Undefined variable $c in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 51

Warning: Undefined variable $l in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 51
@endforeach @endforeach @endforeach @foreach($cat as $c) @foreach($langs[$c] as $l)
Warning: Undefined variable $c in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 62

Warning: Undefined variable $l in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 62

Warning: Undefined variable $c in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 62

Warning: Undefined variable $l in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 62
@endforeach @endforeach
Dept{{ $c }}
Total{{ $l }}
{{ $d }}{{ isset($report[$d][$c]) ? array_sum($report[$d][$c]) : 0 }} {{ $v }}
Total{{ isset($totals[$c]) ? array_sum($totals[$c]) : 0 }} {{ $v }}

Warning: Undefined variable $requests in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 71

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php:71 Stack trace: #0 {main} thrown in /var/www/html/pruthvi/resources/views/purchase_request/scriptures.blade.php on line 71