@extends('layouts.page') @section('title') Rejected Indent Records: {{ $indentRecords->total() }}, Totals: ({{ AppHelper::numberUS($total, 2) }}) @endsection @section('navs') {!! Form::open(['method' => 'GET', 'id' => 'idThisForm']) !!} {!! Form::select('department', ['' => 'Select Department'] + AppHelper::options('departments'), request()->department, [ 'class' => 'form-control-sm mr-2', 'style' => 'width: 150px;']) !!} {!! Form::select('entity', ['' => 'Select Entity'] + AppHelper::options('entities'), request()->entity, [ 'class' => 'form-control-sm mr-2', 'style' => 'width: 120px;']) !!} {!! Form::text('search', request()->search, [ 'class' => 'form-control-sm mr-2','style' => 'width: 180px;', 'placeholder' => 'Indent ID / Name']) !!} {!! Form::date('date_from', request()->date_from, [ 'class' => 'form-control-sm mr-2','style' => 'width: 120px;']) !!} {!! Form::date('date_to', request()->date_to, [ 'class' => 'form-control-sm mr-2','style' => 'width: 120px;']) !!} {{ Form::submit('Get', ['class' => 'btn btn-outline-success btn-sm mr-2']) }} Reset Export {!! Form::close() !!} @endsection @section('content')
@foreach ($indentRecords as $record) @endforeach
S.No Indent ID Name Entity Amount Comments Rejected Date
{{ $i++ }} {{ $record->indent->indent_id ?? $record->indent_id }} {{ $record->beneficiary_new->full_name ?? $record->employee->name ?? $record->vendor->full_name ?? '-' }} {{ $record->indent->entity ?? '-' }} {{ AppHelper::numberUS($record->indent_amount) }} {{ $record->comments ?? '-' }} {{ $record->updated_at ? $record->updated_at->format('d-M-Y H:i') : '-' }}
{{ $indentRecords->appends(request()->all())->links() }}
@endsection