This commit is contained in:
Hillel Coren 2020-03-03 21:09:09 +02:00
parent 03ba03973e
commit b0523b0cc0
4 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,7 @@ class CompanyGatewayScreen extends StatelessWidget {
bottomNavigationBar: AppBottomBar( bottomNavigationBar: AppBottomBar(
sortFields: [], sortFields: [],
onSelectedSortField: null, onSelectedSortField: null,
onlyList: true,
entityType: EntityType.companyGateway, entityType: EntityType.companyGateway,
onSelectedCustom1: (value) => onSelectedCustom1: (value) =>
store.dispatch(FilterCompanyGatewaysByCustom1(value)), store.dispatch(FilterCompanyGatewaysByCustom1(value)),

View File

@ -95,6 +95,7 @@ class GroupSettingsScreen extends StatelessWidget {
body: GroupListBuilder(), body: GroupListBuilder(),
bottomNavigationBar: AppBottomBar( bottomNavigationBar: AppBottomBar(
entityType: EntityType.group, entityType: EntityType.group,
onlyList: true,
onSelectedSortField: (value) => store.dispatch(SortGroups(value)), onSelectedSortField: (value) => store.dispatch(SortGroups(value)),
customValues1: company.getCustomFieldValues(CustomFieldType.group1, customValues1: company.getCustomFieldValues(CustomFieldType.group1,
excludeBlank: true), excludeBlank: true),

View File

@ -95,6 +95,7 @@ class TaxRateSettingsScreen extends StatelessWidget {
body: TaxRateListBuilder(), body: TaxRateListBuilder(),
bottomNavigationBar: AppBottomBar( bottomNavigationBar: AppBottomBar(
entityType: EntityType.taxRate, entityType: EntityType.taxRate,
onlyList: true,
onSelectedSortField: (value) => store.dispatch(SortTaxRates(value)), onSelectedSortField: (value) => store.dispatch(SortTaxRates(value)),
sortFields: [ sortFields: [
TaxRateFields.updatedAt, TaxRateFields.updatedAt,

View File

@ -96,6 +96,7 @@ class UserScreen extends StatelessWidget {
body: UserListBuilder(), body: UserListBuilder(),
bottomNavigationBar: AppBottomBar( bottomNavigationBar: AppBottomBar(
entityType: EntityType.user, entityType: EntityType.user,
onlyList: true,
onSelectedSortField: (value) => store.dispatch(SortUsers(value)), onSelectedSortField: (value) => store.dispatch(SortUsers(value)),
onSelectedCustom1: (value) => onSelectedCustom1: (value) =>
store.dispatch(FilterUsersByCustom1(value)), store.dispatch(FilterUsersByCustom1(value)),