@extends('layouts.page') @section('title') Serving Form
{{ $serving_forms->total() }}
@endsection @section('navs')
{{ Form::open(['method' => 'get']) }} {{ EasyForm::setNoRows() }} {!! Form::select('date_type', ['' => 'Date Range']+AppHelper::options('DateRange'), $date_type, ['class' => 'form-control1 mr-2', 'onchange'=>'updateDatesRange(this)']) !!} {!! Form::date('from_date', $from) !!} {!! Form::date('to_date', $to) !!} {!! EasyForm::select('purpose_code', null, request()->purpose_code, ['' => '-Select Purpose-'] + $purposes, ['style' => 'width: 150px']) !!} {!! EasyForm::select('currency_type', null, request()->currency_type, ['' => '-Select Currency-','INR' => 'INR','USD' => 'USD'], ['style' => 'width: 150px']) !!} @foreach($vendors as $vendor) {!! Form::submit('Submit', ['class' => 'btn btn-info btn-sm px-2']) !!} @if (Auth::user()->hasAnyRole(['DFI'])) Budget @endif {!! Form::close() !!}
@endsection @section('content')
@foreach($report as $vendor => $amount) @endforeach @foreach($others as $other => $arr) @endforeach @foreach($report as $vendor => $amount)
Warning: Undefined variable $vendor in /var/www/html/pruthvi/resources/views/serving_form/index.blade.php on line 65
@endforeach @foreach($others as $vendor => $arr)
Warning: Undefined variable $vendor in /var/www/html/pruthvi/resources/views/serving_form/index.blade.php on line 70
@endforeach @foreach($report as $vendor => $amount)
Warning: Undefined variable $amount in /var/www/html/pruthvi/resources/views/serving_form/index.blade.php on line 80
@endforeach @foreach($others as $vendor => $arr)
Warning: Undefined variable $arr in /var/www/html/pruthvi/resources/views/serving_form/index.blade.php on line 83

Fatal error: Uncaught TypeError: array_column(): Argument #1 ($array) must be of type array, null given in /var/www/html/pruthvi/resources/views/serving_form/index.blade.php:83 Stack trace: #0 /var/www/html/pruthvi/resources/views/serving_form/index.blade.php(83): array_column() #1 {main} thrown in /var/www/html/pruthvi/resources/views/serving_form/index.blade.php on line 83
Entity{{ $vendor }}{{ $other }}Total
Budget {{ AppHelper::numberUS(round($budget)) }} {{ AppHelper::numberUS(round($budget)) }}{{ AppHelper::numberUS(round($budgetTotal)) }}
Released{{ AppHelper::numberUS(round($amount)) }}