@tykus again one problem actually problem is that when i try to pay fee of last year september month its not updated means still showing "0 => "Your fees are due for September"
its because i save month in the format of current year
here is my method
protected $fillable = [
'tution_fee','development_fee','other_fee','month','remarks','late_fee','course_id'
];
protected $dates = ['month'];
public function setMonthAttribute($value)
{
//dd($value);
$this->attributes['month'] = Carbon::createFromFormat('m',$value);
}
input
{{ Form::selectMonth('month', null, ['placeholder' => '---Select Month','class' => 'form-control','required'=> ' "" ' ]) }}
how to fixed this problem