Mails etc. in Lead finish
This commit is contained in:
parent
66ca252bfa
commit
b362b93bca
45 changed files with 1460 additions and 418 deletions
|
|
@ -9,16 +9,20 @@ class LeadFileRepository extends FileRepository {
|
|||
|
||||
protected $lead_file;
|
||||
protected $lead_id;
|
||||
protected $lead_mail_id;
|
||||
protected $identifier;
|
||||
|
||||
public function __construct(LeadFile $model){
|
||||
parent::__construct();
|
||||
$this->model = $model;
|
||||
$this->lead_mail_id = null;
|
||||
|
||||
}
|
||||
|
||||
public function save(){
|
||||
$this->lead_file = LeadFile::create([
|
||||
'lead_id' => $this->lead_id,
|
||||
'lead_mail_id' => $this->lead_mail_id,
|
||||
'identifier' => $this->identifier,
|
||||
'filename' => $this->allowed_filename,
|
||||
'dir' => $this->dir,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue