{{ __('Edit Bill') }} - {!! $bill->number !!}

@if (!empty($bill->createdBy))
Created By: {{$bill->createdBy->name}}@endif @if (!empty($bill->sentForApprovalBy))
Sent for approval By: {{$bill->sentForApprovalBy->name}}@endif @if (!empty($bill->approvedBy))
Approved By: {{$bill->approvedBy->name}}@endif
@php($class = "rounded-md shadow-sm border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 block mt-1 w-full")
{!! Form::model($bill, ['method' => 'PATCH', 'route' => ['bill.update', $bill->id] ]) !!}
@php($class = "rounded-md shadow-sm border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 mt-1")
{!! Form::label('month', 'Month', ['class' => 'required']) !!} / {!! Form::label('year', 'Year', ['class' => 'required']) !!}
{!! Form::selectMonth('month', null, ['class' => $class, 'disabled' => true]) !!} {!! Form::selectYear('year', 2000, date('Y')+1, null, ['class' => $class, 'disabled' => true]) !!}
@php($class .= " block w-full")
{!! Form::label('number', 'Bill Number', ['class' => 'required']) !!}
{!! Form::text('number', null, ['class' => $class, 'disabled' => true]) !!}
{!! Form::close() !!}
S.No. Pensioner Income Tax @php($count=1) @foreach($billItems as $billItem) {{$count++}} {{$billItem->pensioner->file_no}} / {{$billItem->pensioner_name}} {{$billItem->income_tax}} @endforeach
{{ $billItems->withQueryString()->links() }}