Beispiel #1
0
                public static List <StaticResourceDto> GetAll()
                {
                    var list = new List <StaticResourceDto>
                    {
                        HrParent,
                        Employee.AddParent(HrParent),
                    };

                    list.AddRange(Employee.AddCrudChildren());

                    return(list);
                }
Beispiel #2
0
                public static List <StaticResourceDto> GetAll()
                {
                    var list = new List <StaticResourceDto>
                    {
                        DataPermissionParent,
                        CompanyData.AddParent(DataPermissionParent),
                        UserBranchData.AddParent(DataPermissionParent)
                    };


                    return(list);
                }
Beispiel #3
0
                public static List <StaticResourceDto> GetAll()
                {
                    var list = new List <StaticResourceDto>
                    {
                        SaleParent,

                        //Child
                        Customer.AddParent(SaleParent),
                    };

                    //Crud Child
                    list.AddRange(Customer.AddCrudChildren());

                    return(list);
                }
Beispiel #4
0
                public static List <StaticResourceDto> GetAll()
                {
                    var list = new List <StaticResourceDto>
                    {
                        SystemAdministrationParent,
                        Feature.AddParent(SystemAdministrationParent),
                        Edition.AddParent(SystemAdministrationParent),
                        Tenant.AddParent(SystemAdministrationParent),
                        Subscription.AddParent(SystemAdministrationParent),
                        Payment.AddParent(SystemAdministrationParent),
                        ManageSubscription.AddParent(SystemAdministrationParent),
                        SubscriptionPayment.AddParent(SystemAdministrationParent),
                        TenantUser.AddParent(SystemAdministrationParent),
                        TenantCompany.AddParent(SystemAdministrationParent),
                        RfqManager.AddParent(SystemAdministrationParent),

                        Role.AddParent(SystemAdministrationParent),
                        Resource.AddParent(SystemAdministrationParent),
                        Permission.AddParent(SystemAdministrationParent),
                    };

                    list.AddRange(Feature.AddCrudChildren());
                    list.AddRange(Edition.AddCrudChildren());
                    list.AddRange(Tenant.AddCrudChildren());
                    list.AddRange(Subscription.AddCrudChildren());
                    list.AddRange(Payment.AddCrudChildren());

                    list.Add(ManageSubscription.AddViewChildren());
                    list.Add(ManageSubscription.AddCreateChildren());

                    list.Add(SubscriptionPayment.AddViewChildren());
                    list.Add(SubscriptionPayment.AddCreateChildren());

                    list.AddRange(TenantUser.AddCrudChildren());
                    list.AddRange(TenantCompany.AddCrudChildren());
                    list.AddRange(RfqManager.AddCrudChildren());

                    list.AddRange(Resource.AddCrudChildren());
                    list.Add(Permission.AddViewChildren());
                    list.Add(Permission.AddEditChildren());


                    list.AddRange(Role.AddCrudChildren());
                    list.Add(Role.AddChildren("Permission", $"{Role.State}.permission"));


                    return(list);
                }
Beispiel #5
0
                public static List <StaticResourceDto> GetAll()
                {
                    var list = new List <StaticResourceDto>
                    {
                        StockParent,

                        //Child
                        Warehouse.AddParent(StockParent),
                    };

                    //Crud Child
                    list.AddRange(Warehouse.AddCrudChildren());



                    return(list);
                }
Beispiel #6
0
                public static List <StaticResourceDto> GetAll()
                {
                    var list = new List <StaticResourceDto>
                    {
                        PurchaseParent,

                        //Child
                        Supplier.AddParent(PurchaseParent),
                    };


                    //Crud Child
                    list.AddRange(Supplier.AddCrudChildren());


                    return(list);
                }
Beispiel #7
0
                public static List <StaticResourceDto> GetAll()
                {
                    var list = new List <StaticResourceDto>
                    {
                        LandingParent,

                        //Child
                        Home.AddParent(LandingParent),
                        Dashboard.AddParent(LandingParent),

                        //Custom Child
                        Dashboard.AddChildren("View Note", "root.dashboard.view-note"),
                        Dashboard.AddChildren("Today Summary", "root.dashboard.today-summary")
                    };



                    return(list);
                }
Beispiel #8
0
                public static List <StaticResourceDto> GetAll()
                {
                    var list = new List <StaticResourceDto>
                    {
                        CommonParent,

                        //Child
                        Profile.AddParent(CommonParent),
                        LoginAttempt.AddParent(CommonParent),

                        //Crud Child
                        Profile.AddViewChildren(),
                        Profile.AddEditChildren(),
                        LoginAttempt.AddViewChildren()
                    };



                    return(list);
                }
Beispiel #9
0
                public static List <StaticResourceDto> GetAll()
                {
                    var list = new List <StaticResourceDto>
                    {
                        AdministrationParent,

                        //Child
                        Company.AddParent(AdministrationParent),
                        CompanyProfile.AddParent(Company),
                        CompanySettings.AddParent(Company),
                        CompanyLogo.AddParent(Company),
                        CompanyFiscalYear.AddParent(Company),
                        Branch.AddParent(Company),
                        Partner.AddParent(Company),
                        User.AddParent(AdministrationParent),
                        AuditLog.AddParent(AdministrationParent),
                        //Asset.AddParent(AdministrationParent),
                        //Equity.AddParent(AdministrationParent),
                        //Liability.AddParent(AdministrationParent)

                        //Crud Child
                        CompanyProfile.AddViewChildren(),
                        CompanyProfile.AddEditChildren(),
                        CompanySettings.AddViewChildren(),
                        CompanySettings.AddEditChildren()
                    };



                    list.AddRange(CompanyFiscalYear.AddCrudChildren());


                    list.AddRange(User.AddCrudChildren());
                    list.AddRange(Branch.AddCrudChildren());
                    list.AddRange(Partner.AddCrudChildren());
                    list.Add(AuditLog.AddViewChildren());
                    //list.AddRange(Asset.AddCrudChildren());
                    //list.AddRange(Equity.AddCrudChildren());

                    return(list);
                }