mirror of
https://github.com/Karaka-Management/oms-Finance.git
synced 2026-02-01 14:38:39 +00:00
fix bugs
This commit is contained in:
parent
30c813dbc9
commit
a7f28e7979
|
|
@ -44,7 +44,7 @@ final class BackendController extends Controller
|
|||
*/
|
||||
public function viewDashboard(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : RenderableInterface
|
||||
{
|
||||
$head = $response->get('Content')->head;
|
||||
$head = $response->data['Content']->head;
|
||||
$head->addAsset(AssetType::CSS, 'Resources/chartjs/Chartjs/chart.css');
|
||||
$head->addAsset(AssetType::JSLATE, 'Resources/chartjs/Chartjs/chart.js');
|
||||
$head->addAsset(AssetType::JSLATE, 'Modules/ClientManagement/Controller.js', ['type' => 'module']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user