Passolution
This commit is contained in:
parent
f79806ffe8
commit
06fc3ba919
31 changed files with 337 additions and 119 deletions
|
|
@ -25,8 +25,8 @@ class CMSContentController extends Controller
|
|||
'destco' => $destco,
|
||||
'tdat' => $tdat,
|
||||
];
|
||||
$passolution = new Passolution();
|
||||
$passolution->fill($data);
|
||||
$passolution = new Passolution($data);
|
||||
//$passolution->fill($data);
|
||||
$html = $passolution->read();
|
||||
|
||||
return response()->json(['response' => $html]);
|
||||
|
|
@ -71,12 +71,15 @@ class CMSContentController extends Controller
|
|||
'tdat' => $tdat,
|
||||
];
|
||||
|
||||
$passolution = new Passolution();
|
||||
$passolution->fill($data);
|
||||
$html = $passolution->read();
|
||||
|
||||
return response()->json(['success' => true, "response" => $html, "data" => $data], 200, $headers);
|
||||
|
||||
$passolution = new Passolution($data);
|
||||
//$passolution->fill($data);
|
||||
$html = $passolution->read(true);
|
||||
return response()->json(['success' => true,
|
||||
"response" => $html,
|
||||
"pdf"=> $passolution->getPdfPath(['filename', 'url']),
|
||||
"additionalContent" => $passolution->additionalContent,
|
||||
"data" => $data],
|
||||
200, $headers);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue