[ 'model' => \Eform\Filing\Models\Filings::class, 'table' => 'eform_filing_filings', 'hidden'=> [], 'visible' => [], 'guarded' => ['*'], 'slugs' => ['slug' => 'name'], 'dates' => ['deleted_at', 'created_at', 'updated_at'], 'appends' => [], 'fillable' => ['filing_type', 'business_id', 'tax_period', 'first_used_month', 'final_return', 'tax_amount', 'tax_year_end_month', 'loss_event', 'sold_on', 'used_for_logging', 'explanation', 'attachment', 'sold_to_name', 'sold_to_phone', 'sold_to_email', 'sold_to_address1', 'sold_to_address2', 'sold_to_country', 'sold_to_state', 'sold_to_city', 'sold_to_zip', 'service_fee', 'subtotal', 'sales_tax', 'total', 'bill_to_card', 'status', 'user_id'], 'translatables' => [], 'upload_folder' => 'filing/filings', 'uploads' => [ /* 'images' => [ 'count' => 10, 'type' => 'image', ], 'file' => [ 'count' => 1, 'type' => 'file', ], */ ], 'casts' => [ /* 'images' => 'array', 'file' => 'array', */ ], 'revision' => [], 'perPage' => '20', 'search' => [ 'name' => 'like', 'status', ] ], 'search' => [ "filing_type" => [ "key" => "filing_type", "col" => 4, "operators" => ['LIKE', '=', 'IN', 'BETWEEN'], "type" => "text", "label" => 'filing::filings.label.filing_type', "placeholder" => 'filing::filings.placeholder.filing_type', ], "business_id" => [ "key" => "business_id", "col" => 4, "operators" => ['LIKE', '=', 'IN', 'BETWEEN'], "type" => "text", "label" => 'filing::filings.label.business_id', "placeholder" => 'filing::filings.placeholder.business_id', ], "tax_period" => [ "key" => "tax_period", "col" => 4, "operators" => ['LIKE', '=', 'IN', 'BETWEEN'], "type" => "text", "label" => 'filing::filings.label.tax_period', "placeholder" => 'filing::filings.placeholder.tax_period', ], "first_used_month" => [ "key" => "first_used_month", "col" => 4, "operators" => ['LIKE', '=', 'IN', 'BETWEEN'], "type" => "text", "label" => 'filing::filings.label.first_used_month', "placeholder" => 'filing::filings.placeholder.first_used_month', ], "final_return" => [ "key" => "final_return", "col" => 4, "operators" => ['LIKE', '=', 'IN', 'BETWEEN'], "type" => "text", "label" => 'filing::filings.label.final_return', "placeholder" => 'filing::filings.placeholder.final_return', ], "tax_amount" => [ "key" => "tax_amount", "col" => 4, "operators" => ['LIKE', '=', 'IN', 'BETWEEN'], "type" => "text", "label" => 'filing::filings.label.tax_amount', "placeholder" => 'filing::filings.placeholder.tax_amount', ], "tax_year_end_month" => [ "key" => "tax_year_end_month", "col" => 4, "operators" => ['LIKE', '=', 'IN', 'BETWEEN'], "type" => "text", "label" => 'filing::filings.label.tax_year_end_month', "placeholder" => 'filing::filings.placeholder.tax_year_end_month', ], "status" => [ "key" => "status", "col" => 4, "operators" => ['LIKE', '=', 'IN', 'BETWEEN'], "type" => "text", "label" => 'filing::filings.label.status', "placeholder" => 'filing::filings.placeholder.status', ], "user_id" => [ "key" => "user_id", "col" => 4, "operators" => ['LIKE', '=', 'IN', 'BETWEEN'], "type" => "text", "label" => 'filing::filings.label.user_id', "placeholder" => 'filing::filings.placeholder.user_id', ], ], 'list' => [ [ "key" => "filing_type", "type" => "text", "label" => 'filing::filings.label.filing_type', 'sort' => true, 'roles' => [], ], [ "key" => "business_id", "type" => "text", "label" => 'filing::filings.label.business_id', 'sort' => true, 'roles' => [], ], [ "key" => "tax_period", "type" => "text", "label" => 'filing::filings.label.tax_period', 'sort' => true, 'roles' => [], ], [ "key" => "first_used_month", "type" => "text", "label" => 'filing::filings.label.first_used_month', 'sort' => true, 'roles' => [], ], [ "key" => "final_return", "type" => "text", "label" => 'filing::filings.label.final_return', 'sort' => true, 'roles' => [], ], [ "key" => "tax_amount", "type" => "text", "label" => 'filing::filings.label.tax_amount', 'sort' => true, 'roles' => [], ], [ "key" => "tax_year_end_month", "type" => "text", "label" => 'filing::filings.label.tax_year_end_month', 'sort' => true, 'roles' => [], ], [ "key" => "status", "type" => "text", "label" => 'filing::filings.label.status', 'sort' => true, 'roles' => [], ], [ "key" => "user_id", "type" => "text", "label" => 'filing::filings.label.user_id', 'sort' => true, 'roles' => [], ], ], 'form' => [ [ "key" => 'business_id', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.business_id', "placeholder" => 'filing::filings.placeholder.business_id', "required" => 'true', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'tax_period', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.tax_period', "placeholder" => 'filing::filings.placeholder.tax_period', "required" => 'true', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'first_used_month', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.first_used_month', "placeholder" => 'filing::filings.placeholder.first_used_month', "required" => 'true', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'final_return', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.final_return', "placeholder" => 'filing::filings.placeholder.final_return', "required" => 'true', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'tax_amount', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.tax_amount', "placeholder" => 'filing::filings.placeholder.tax_amount', "required" => 'true', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'tax_year_end_month', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.tax_year_end_month', "placeholder" => 'filing::filings.placeholder.tax_year_end_month', "required" => 'true', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'attachment', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.attachment', "placeholder" => 'filing::filings.placeholder.attachment', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'sold_to_name', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.sold_to_name', "placeholder" => 'filing::filings.placeholder.sold_to_name', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'sold_to_phone', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.sold_to_phone', "placeholder" => 'filing::filings.placeholder.sold_to_phone', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'sold_to_email', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.sold_to_email', "placeholder" => 'filing::filings.placeholder.sold_to_email', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'sold_to_address1', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.sold_to_address1', "placeholder" => 'filing::filings.placeholder.sold_to_address1', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'sold_to_address2', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.sold_to_address2', "placeholder" => 'filing::filings.placeholder.sold_to_address2', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'sold_to_country', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.sold_to_country', "placeholder" => 'filing::filings.placeholder.sold_to_country', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'sold_to_state', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.sold_to_state', "placeholder" => 'filing::filings.placeholder.sold_to_state', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'sold_to_city', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.sold_to_city', "placeholder" => 'filing::filings.placeholder.sold_to_city', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'sold_to_zip', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.sold_to_zip', "placeholder" => 'filing::filings.placeholder.sold_to_zip', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'service_fee', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.service_fee', "placeholder" => 'filing::filings.placeholder.service_fee', "rules" => '', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], [ "key" => 'status', "element" => 'text', "type" => 'text', "label" => 'filing::filings.label.status', "placeholder" => 'filing::filings.placeholder.status', "required" => 'true', "group" => "main.main", "col" => "6", "append" => null, "prepend" => null, "roles" => [], "attributes" => [ 'wrapper' => [], "label" => [], "element" => [], ], ], ], 'urls' => [ 'new' => [ 'url' => 'filing/filings/new', 'method' => 'GET', ], 'create' => [ 'url' => 'filing/filings/create', 'method' => 'GET', ], 'store' => [ 'url' => 'filing/filings', 'method' => 'POST', ], 'update' => [ 'url' => 'filing/filings', 'method' => 'PUT', ], 'list' => [ 'url' => 'filing/filings', 'method' => 'GET', ], 'delete' => [ 'url' => 'filing/filings', 'method' => 'DELETE', ], ], 'order' => [ 'created_at' => 'filing::filings.label.created_at', 'name' => 'filing::filings.label.name', 'status' => 'filing::filings.label.status', ], 'groups' => [ [ 'icon' => "mdi:account-supervisor-outline", 'name' => "filing::filings.groups.main", 'group' => "main.main", 'title' => "filing::filings.groups.main", ], [ 'icon' => "fe:home", 'name' => "filing::filings.groups.details", 'group' => "main.details", 'title' => "filing::filings.groups.details", ], 'images' => [ 'icon' => "fe:home", 'name' => "filing::filings.groups.images", 'group' => "main.images", 'title' => "filing::filings.groups.images", ], 'settings' => [ 'icon' => "fe:home", 'name' => "filing::filings.groups.settings", 'group' => "main.settings", 'title' => "filing::filings.groups.settings", ] ], 'controller' => [ 'provider' => 'Eform', 'package' => 'Filing', 'module' => 'Filings', ], 'actions' => [ 'copy' => [ 'type' => ['Details', 'List'], 'label' => 'filing::filings.action.copy', 'roles' => [ 'user' => ['superuser', 'admin'], 'team' => ['admin'], 'permission' => ['filing.filings.copy', 'filing.filings.duplicate'], ], 'form' => [ 'count' => [ "element" => 'select', "type" => 'select', "label" => 'filing::filings.label.count', "placeholder" => 'filing::filings.placeholder.count', "options" => call_user_func(function () { return [ 1 => ['value' => 1, 'text' => 1], 2 => ['value' => 2, 'text' => 2], 3 => ['value' => 3, 'text' => 3], 4 => ['value' => 4, 'text' => 4], ]; }), "col" => "12", ], 'comment' => [ "element" => 'textarea', "type" => 'text', "required" => 'required', "label" => 'filing::filings.label.comment', "placeholder" => 'filing::filings.placeholder.comment', "col" => "12", ], ], ], 'empty' => [ 'type' => ['List', 'Details'], 'label' => 'filing::filings.action.empty', 'roles' => [ 'user' => ['superuser'], ], ], 'section' => [ 'type' => ['Group'], 'api_url' => '', 'action' => 'list', 'label' => 'filing::filings.action.section', 'store' => 'main.units', 'group' => 'main.units' ], ] ];