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(
sortFields: [],
onSelectedSortField: null,
onlyList: true,
entityType: EntityType.companyGateway,
onSelectedCustom1: (value) =>
store.dispatch(FilterCompanyGatewaysByCustom1(value)),

View File

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

View File

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

View File

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