<?php

return [
    [
        'name' => 'Real Estate',
        'flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Settings',
        'flag' => 'real-estate.settings',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Properties',
        'flag' => 'property.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Create',
        'flag' => 'property.create',
        'parent_flag' => 'property.index',
    ],
    [
        'name' => 'Edit',
        'flag' => 'property.edit',
        'parent_flag' => 'property.index',
    ],
    [
        'name' => 'Delete',
        'flag' => 'property.destroy',
        'parent_flag' => 'property.index',
    ],

    [
        'name' => 'Projects',
        'flag' => 'project.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Create',
        'flag' => 'project.create',
        'parent_flag' => 'project.index',
    ],
    [
        'name' => 'Edit',
        'flag' => 'project.edit',
        'parent_flag' => 'project.index',
    ],
    [
        'name' => 'Delete',
        'flag' => 'project.destroy',
        'parent_flag' => 'project.index',
    ],

    [
        'name' => 'Property Features',
        'flag' => 'property_feature.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Create',
        'flag' => 'property_feature.create',
        'parent_flag' => 'property_feature.index',
    ],
    [
        'name' => 'Edit',
        'flag' => 'property_feature.edit',
        'parent_flag' => 'property_feature.index',
    ],
    [
        'name' => 'Delete',
        'flag' => 'property_feature.destroy',
        'parent_flag' => 'property_feature.index',
    ],
    [
        'name' => 'Investors',
        'flag' => 'investor.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Create',
        'flag' => 'investor.create',
        'parent_flag' => 'investor.index',
    ],
    [
        'name' => 'Edit',
        'flag' => 'investor.edit',
        'parent_flag' => 'investor.index',
    ],
    [
        'name' => 'Delete',
        'flag' => 'investor.destroy',
        'parent_flag' => 'investor.index',
    ],

    [
        'name' => 'Reviews',
        'flag' => 'review.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Create',
        'flag' => 'review.create',
        'parent_flag' => 'review.index',
    ],
    [
        'name' => 'Edit',
        'flag' => 'review.edit',
        'parent_flag' => 'review.index',
    ],
    [
        'name' => 'Delete',
        'flag' => 'review.destroy',
        'parent_flag' => 'review.index',
    ],

    [
        'name' => 'Consult',
        'flag' => 'consult.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Create',
        'flag' => 'consult.create',
        'parent_flag' => 'consult.index',
    ],
    [
        'name' => 'Edit',
        'flag' => 'consult.edit',
        'parent_flag' => 'consult.index',
    ],
    [
        'name' => 'Delete',
        'flag' => 'consult.destroy',
        'parent_flag' => 'consult.index',
    ],
    [
        'name' => 'Categories',
        'flag' => 'property_category.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Create',
        'flag' => 'property_category.create',
        'parent_flag' => 'property_category.index',
    ],
    [
        'name' => 'Edit',
        'flag' => 'property_category.edit',
        'parent_flag' => 'property_category.index',
    ],
    [
        'name' => 'Delete',
        'flag' => 'property_category.destroy',
        'parent_flag' => 'property_category.index',
    ],

    [
        'name' => 'Facilities',
        'flag' => 'facility.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Create',
        'flag' => 'facility.create',
        'parent_flag' => 'facility.index',
    ],
    [
        'name' => 'Edit',
        'flag' => 'facility.edit',
        'parent_flag' => 'facility.index',
    ],
    [
        'name' => 'Delete',
        'flag' => 'facility.destroy',
        'parent_flag' => 'facility.index',
    ],

    [
        'name' => 'Accounts',
        'flag' => 'account.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Create',
        'flag' => 'account.create',
        'parent_flag' => 'account.index',
    ],
    [
        'name' => 'Edit',
        'flag' => 'account.edit',
        'parent_flag' => 'account.index',
    ],
    [
        'name' => 'Delete',
        'flag' => 'account.destroy',
        'parent_flag' => 'account.index',
    ],

    [
        'name' => 'Verify accounts',
        'flag' => 'unverified-accounts.index',
        'parent_flag' => 'plugins.real-estate',
    ],

    [
        'name' => 'Packages',
        'flag' => 'package.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Create',
        'flag' => 'package.create',
        'parent_flag' => 'package.index',
    ],
    [
        'name' => 'Edit',
        'flag' => 'package.edit',
        'parent_flag' => 'package.index',
    ],
    [
        'name' => 'Delete',
        'flag' => 'package.destroy',
        'parent_flag' => 'package.index',
    ],

    [
        'name' => 'Consults',
        'flag' => 'consults.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Edit',
        'flag' => 'consults.edit',
        'parent_flag' => 'consults.index',
    ],
    [
        'name' => 'Delete',
        'flag' => 'consults.destroy',
        'parent_flag' => 'consults.index',
    ],

    [
        'name' => 'Custom Fields',
        'flag' => 'real-estate.custom-fields.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Create',
        'flag' => 'real-estate.custom-fields.create',
        'parent_flag' => 'real-estate.custom-fields.index',
    ],
    [
        'name' => 'Edit',
        'flag' => 'real-estate.custom-fields.edit',
        'parent_flag' => 'real-estate.custom-fields.index',
    ],
    [
        'name' => 'Delete',
        'flag' => 'real-estate.custom-fields.destroy',
        'parent_flag' => 'real-estate.custom-fields.index',
    ],
    [
        'name' => 'Invoices',
        'flag' => 'invoice.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Edit',
        'flag' => 'invoice.edit',
        'parent_flag' => 'invoice.index',
    ],
    [
        'name' => 'Delete',
        'flag' => 'invoice.destroy',
        'parent_flag' => 'invoice.index',
    ],
    [
        'name' => 'Invoice Template',
        'flag' => 'invoice.template',
        'parent_flag' => 'invoice.index',
    ],
    [
        'name' => 'Import Properties',
        'flag' => 'import-properties.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Export Properties',
        'flag' => 'export-properties.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Import Projects',
        'flag' => 'import-projects.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Export Projects',
        'flag' => 'export-projects.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Coupon',
        'flag' => 'coupons.index',
        'parent_flag' => 'plugins.real-estate',
    ],
    [
        'name' => 'Delete',
        'flag' => 'coupons.destroy',
        'parent_flag' => 'coupons.index',
    ],
    [
        'name' => 'General Settings',
        'flag' => 'real-estate.settings.general',
        'parent_flag' => 'real-estate.settings',
    ],
    [
        'name' => 'Currency Settings',
        'flag' => 'real-estate.settings.currencies',
        'parent_flag' => 'real-estate.settings',
    ],
    [
        'name' => 'Account Settings',
        'flag' => 'real-estate.settings.accounts',
        'parent_flag' => 'real-estate.settings',
    ],
    [
        'name' => 'Invoice Settings',
        'flag' => 'real-estate.settings.invoices',
        'parent_flag' => 'real-estate.settings',
    ],
    [
        'name' => 'Invoice Template Settings',
        'flag' => 'real-estate.settings.invoice-template',
        'parent_flag' => 'real-estate.settings',
    ],
];
