(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{184:function(t,e,a){"use strict";a.r(e);var l=a(0),s=Object(l.a)({},(function(){this._self._c;return this._m(0)}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"content"},[e("h1",{attrs:{id:"custom-fields"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#custom-fields"}},[t._v("#")]),t._v(" Custom Fields")]),t._v(" "),e("p"),e("div",{staticClass:"table-of-contents"},[e("ul",[e("li",[e("a",{attrs:{href:"#overview"}},[t._v("Overview")])]),e("li",[e("a",{attrs:{href:"#fields"}},[t._v("Fields")])]),e("li",[e("a",{attrs:{href:"#field-groups"}},[t._v("Field Groups")])])])]),e("p"),t._v(" "),e("h2",{attrs:{id:"overview"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#overview"}},[t._v("#")]),t._v(" Overview")]),t._v(" "),e("p",[t._v("Custom fields can be associated to Eloquent models to allow custom data to be stored. You can use these fields to store any additional custom data you would like to collect in your CRM without needing to add fields to the core tables.")]),t._v(" "),e("h2",{attrs:{id:"fields"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#fields"}},[t._v("#")]),t._v(" Fields")]),t._v(" "),e("div",{staticClass:"language-php extra-class"},[e("pre",{pre:!0,attrs:{class:"language-php"}},[e("code",[t._v("VentureDrake\\LaravelCrm\\Models\\Field\n")])])]),e("table",[e("thead",[e("tr",[e("th",{staticStyle:{"text-align":"left"}},[t._v("Field")]),t._v(" "),e("th",{staticStyle:{"text-align":"left"}},[t._v("Description")])])]),t._v(" "),e("tbody",[e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("code",[t._v("type")])]),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("Field type")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("code",[t._v("name")])]),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("Field name")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("code",[t._v("label")])]),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("Field label")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("code",[t._v("required")])]),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("code",[t._v("default")])]),t._v(" "),e("td",{staticStyle:{"text-align":"left"}})]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("code",[t._v("validation")])]),t._v(" "),e("td",{staticStyle:{"text-align":"left"}})])])]),t._v(" "),e("h2",{attrs:{id:"field-groups"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#field-groups"}},[t._v("#")]),t._v(" Field Groups")])])}],!1,null,null,null);e.default=s.exports}}]);