'Advert', 'names' => 'Adverts', 'icon' => 'las la-list', /** * Singlular and plural name of the module */ 'title' => [ 'main' => 'Adverts', 'sub' => 'Adverts' ], /** * Singlular and plural name of the module */ 'groups' => [ 'main' => 'Main', 'images' => 'Images', 'details' => 'Details', 'settings' => 'Settings' ], /** * Form sub section name for the module. */ 'sections' => [ 'main' => 'Main', 'details' => 'Details', ], /** * Options for select/radio/check. */ 'options' => [ 'category_id' => [ [ 'key' => 11, 'value' => 11, 'text' => 11, ], ], 'type' => [ [ 'key' => 30, 'value' => 30, 'text' => 30, ], ], 'conditions' => [ [ 'key' => 'New', 'value' => 'New', 'text' => 'New', ], [ 'key' => 'Used', 'value' => 'Used', 'text' => 'Used', ], [ 'key' => '', 'value' => '', 'text' => '', ], ], 'negotiable' => [ [ 'key' => 'Yes', 'value' => 'Yes', 'text' => 'Yes', ], [ 'key' => 'No', 'value' => 'No', 'text' => 'No', ], ], 'status' => [ [ 'key' => 'Active', 'value' => 'Active', 'text' => 'Active', ], [ 'key' => 'Inactive', 'value' => 'Inactive', 'text' => 'Inactive', ], [ 'key' => 'Paused', 'value' => 'Paused', 'text' => 'Paused', ], [ 'key' => 'Hold', 'value' => 'Hold', 'text' => 'Hold', ], [ 'key' => 'Draft', 'value' => 'Draft', 'text' => 'Draft', ], [ 'key' => 'Submitted', 'value' => 'Submitted', 'text' => 'Submitted', ], [ 'key' => '', 'value' => '', 'text' => '', ], ], ], /** * Placeholder for inputs */ 'placeholder' => [ 'id' => 'Please enter id', 'client_id' => 'Please enter client id', 'category_id' => 'Please enter category id', 'type' => 'Please enter type', 'slug' => 'Please enter slug', 'title' => 'Please enter title', 'details' => 'Please enter details', 'price' => 'Please enter price', 'images' => 'Please enter images', 'conditions' => 'Please select conditions', 'negotiable' => 'Please select negotiable', 'status' => 'Please select status', 'deleted_at' => 'Please select deleted at', 'created_at' => 'Please select created at', 'updated_at' => 'Please select updated at', ], /** * Labels for inputs. */ 'label' => [ 'id' => 'Id', 'client_id' => 'Client', 'category_id' => 'Category id', 'type' => 'Type', 'slug' => 'Slug', 'title' => 'Title', 'details' => 'Details', 'price' => 'Price', 'images' => 'Images', 'conditions' => 'Conditions', 'negotiable' => 'Negotiable', 'status' => 'Status', 'deleted_at' => 'Deleted at', 'created_at' => 'Created at', 'updated_at' => 'Updated at', ], /** * Label for workflows. */ 'workflow' => [ 'submit' => [ 'label' => 'Submit', 'icon' => 'save', 'varient' => 'outline', ], 'approve' => [ 'label' => 'Approve', 'icon' => 'save', 'varient' => 'outline', ], 'reject' => [ 'label' => 'Reject', 'icon' => 'save', 'varient' => 'danger', ], 'publish' => [ 'label' => 'Publish', 'icon' => 'save', 'varient' => 'outline', ], 'unpublish' => [ 'label' => 'Unpublish', 'icon' => 'save', 'varient' => 'outline', ], 'archive' => [ 'label' => 'Archive', 'icon' => 'save', 'varient' => 'danger', ], 'unarchive' => [ 'label' => 'Unarchive', 'icon' => 'save', 'varient' => 'outline', ], ], // Customize this permissions if needed. /** * Label for actions. */ 'actions' => [ 'copy' => [ 'label' => 'Copy', 'icon' => 'save', 'varient' => 'outline', ], 'empty' => [ 'label' => 'Empty', 'icon' => 'save', 'varient' => 'outline', ], ], ];