refs #import date date time issue solved.

This commit is contained in:
cuneytsenturk
2018-08-06 18:41:58 +03:00
parent dbc4bd7608
commit 56a046b866
19 changed files with 193 additions and 96 deletions

View File

@ -86,17 +86,6 @@ class BillPayment extends Model
return $query->sum('amount');
}
/**
* 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.
*