I am working on a small project on learning how to fix laravel admin panel. However I am encounter an issue. Here is the code Dashboard.php <?php namespace AppAdminControllers; use EncoreAdminControllersDashboard; class ABCDashboard extends Dashboard { /** * @return IlluminateContractsViewFactory|IlluminateViewView */ public static function title() { return view(‘Dashboard.title’); } /** * @return IlluminateContractsViewFactory|IlluminateViewView */ public ..

I am working on a small project on learning how to fix laravel admin panel. However I am encounter an issue. Here is the code Dashboard.php <?php namespace AppAdminControllers; use EncoreAdminControllersDashboard; class ABCDashboard extends Dashboard { /** * @return IlluminateContractsViewFactory|IlluminateViewView */ public static function title() { return view(‘Dashboard.title’); } /** * @return IlluminateContractsViewFactory|IlluminateViewView */ public ..

I am stuck in a nested hasmany relation. Here is a scenario where there are no units entered separately by the user and milestones in this form must be equal to the number of units and each unit can have multiple milestones. I was trying to loop but it is not working. for($i = 1; .. Read more in controller$grid->column(‘cover_img’, ‘Cover’)->display(function ($cover_img) { return$cover_img ? asset(‘storage/media’).’/thumb_’.\$cover_img : asset(‘bnpt/assets/images/BNPT.png’); })->lightbox(); I want it if it is not the same as the one in the database or there is no image in the database, it will be automatically filled manually with the image no image, how do I solve the problem? Sourc..