feat: Add deposit success email notification system with new mailer, job, view, and client update request.

This commit is contained in:
pbao9
2026-02-19 20:33:24 +07:00
parent c720e62bda
commit 7769326ac9
9 changed files with 612 additions and 0 deletions
+19
View File
@@ -52,6 +52,25 @@ class Customer extends Authenticatable implements JWTSubject
'ward_code',
];
protected $updatable = [
'fullname',
'phone',
'company',
'address',
'province_code',
'ward_code',
'gender',
];
public function updatableFill(array $data): self
{
$data = array_intersect_key($data, array_flip($this->updatable));
foreach ($data as $key => $value) {
$this->{$key} = $value;
}
return $this;
}
/**
* Appends for API
*/