Work to invoice

This commit is contained in:
Kevin Adametz 2021-02-10 10:42:24 +01:00
parent 224bf9e951
commit 02e78e7255
101 changed files with 23483 additions and 154 deletions

View file

@ -389,6 +389,13 @@ class User extends Authenticatable
return "de";
}
public function getBirthdayFormat($format = "d.m.Y"){
if($this->account && $this->account->getBirthdayRaw()){
return (int) Carbon::parse($this->account->getBirthdayRaw())->format($format);
}
return null;
}
/**
* Send the password reset notification.
*