guard('contact')->user()->company->enabled_modules & PortalComposer::MODULE_INVOICES; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'notes' => 'required|bail|', 'amount' => 'required|bail|', ]; } }