{{-- --}} {!! Form::select('bulan',$month,isset($tagihan)?$selected_month:null,['class'=>'form-control','id'=>'bulan']) !!}
{!! Form::select('tahun',$year,isset($tagihan)?$selected_year:null,['class'=>'form-control','id'=>'tahun']) !!}
{!! Form::text('tanggal_p',isset($tagihan)?$tagihan->created_at->format('Y-m-d'):null,['class'=>'form-control','id'=>'tanggal_p','disabled'=>'disabled']) !!}
{{-- --}} {!! Form::radio('meteran',1,$tagihan->meter_penggunaan_awal != '0' ?true:'',['class'=>'form-check-input','id'=>'meteran']) !!}
{{-- --}} {!! Form::radio('meteran',0,$tagihan->meter_penggunaan_awal == '0'?true:'',['class'=>'form-check-input','id'=>'meteran1']) !!}
{!! Form::number('meter_sebelumnya',isset($tagihan)?$tagihan->meter_penggunaan_awal:0,['class'=>'form-control','id'=>'meter_sebelumnya','min'=>0,'required'=>'required']) !!}
{{-- --}} {!! Form::number('meter_sekarang',$tagihan->meter_penggunaan_awal == '0' ?0:$tagihan->meter_penggunaan,['class'=>'form-control','id'=>'meter_sekarang','min'=>0,'required'=>'required']) !!}
{{-- --}} {!! Form::number('pemakaian',$tagihan->meter_penggunaan_awal == '0' ? $tagihan->meter_penggunaan:$tagihan->meter_penggunaan - $tagihan->meter_penggunaan_awal,['class'=>'form-control','id'=>'pemakaian','required'=>'required','readonly'=>'readonly']) !!}