Fewo Mails / Booking Country Services

This commit is contained in:
Kevin Adametz 2020-05-28 19:03:42 +02:00
parent b9c26d06d0
commit 48a6eb2282
154 changed files with 7761 additions and 1643 deletions

View file

@ -8,7 +8,7 @@ use Response;
class CMSFileRepository extends FileRepository {
protected $identifier;
protected $data;
public function __construct($model){
parent::__construct();
@ -28,7 +28,8 @@ class CMSFileRepository extends FileRepository {
$data = [
"name" => $this->originalName,
"field" => "file",
"full_text" => \GuzzleHttp\json_encode($file_data),
"identifier" => $this->data['identifier'],
"object" => $file_data, //\GuzzleHttp\json_encode($file_data),
];
$this->model = CMSContent::create($data);
//store in cms old Datebase