refs #import date date time issue solved.
This commit is contained in:
@ -132,17 +132,6 @@ class Payment extends Model
|
||||
return $query->orderBy('paid_at', 'desc');
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert paid_at to datetime.
|
||||
*
|
||||
* @param string $value
|
||||
* @return void
|
||||
*/
|
||||
public function setPaidAtAttribute($value)
|
||||
{
|
||||
$this->attributes['paid_at'] = $value . ' ' . Date::now()->format('H:i:s');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the current balance.
|
||||
*
|
||||
|
Reference in New Issue
Block a user