/** * Add the report widget. */ public function __construct() { parent::__construct(); \AxC\DataManagement\ReportWidgets\Base::create($this); }
/** * Index action. * @return null */ public function index() { $this->pageTitle = trans('axc.datamanagement::lang.insurance.label.singular'); \AxC\DataManagement\ReportWidgets\Base::create($this, '\\AxC\\DataManagement\\Models\\InsuranceCompany'); \AxC\DataManagement\ReportWidgets\Base::create($this, '\\AxC\\DataManagement\\Models\\InsuranceContent'); }