From c397062da203d4133c64bab9a377c3c5d76e7190 Mon Sep 17 00:00:00 2001 From: Rustem Date: Mon, 2 Dec 2024 23:48:28 +0500 Subject: [PATCH] fortenew commit test --- android/app/build.gradle | 2 +- android/app/src/main/AndroidManifest.xml | 3 +- .../kotlin/kz/com/aman/kassa/MainActivity.kt | 42 +++- .../aman/kassa/bank/JsonForExternalCall.kt | 2 +- lib/core/locator.dart | 7 +- .../models/{ => forte}/close_day_data.dart | 2 +- .../models/forte/forte_close_day_dao.dart | 180 ++++++++++++++++++ lib/core/models/forte/forte_post_session.dart | 75 ++++++++ lib/core/models/forte/forte_response_dao.dart | 155 +++++++++++++++ lib/core/models/halyk/close_day_data.dart | 54 ++++++ lib/core/route_names.dart | 1 + lib/core/router.dart | 21 +- lib/core/services/ApiService.dart | 13 ++ lib/core/services/BankService.dart | 27 ++- lib/core/services/ForteService.dart | 161 ++++++++++++++++ lib/redux/actions/bank_actions.dart | 48 ++++- lib/redux/reducers/bank_reducer.dart | 8 +- lib/redux/state/bank_state.dart | 50 +++-- lib/shared/app_colors.dart | 1 + lib/views/bank_setting/bank_setting_view.dart | 29 ++- .../bank_setting/forte_setting_view.dart | 142 ++++++++++++++ .../close_day_show_container.dart | 2 +- lib/views/history/history_view.dart | 2 +- lib/views/home/components/popup_menu.dart | 3 +- lib/views/home/home_view_m.dart | 2 + lib/views/home/tabs/AdditionalTab.dart | 72 ++++--- lib/views/payment/forte_pos_service.dart | 158 +++++++++++++++ 27 files changed, 1192 insertions(+), 70 deletions(-) rename lib/core/models/{ => forte}/close_day_data.dart (97%) create mode 100644 lib/core/models/forte/forte_close_day_dao.dart create mode 100644 lib/core/models/forte/forte_post_session.dart create mode 100644 lib/core/models/forte/forte_response_dao.dart create mode 100644 lib/core/models/halyk/close_day_data.dart create mode 100644 lib/core/services/ForteService.dart create mode 100644 lib/views/bank_setting/forte_setting_view.dart create mode 100644 lib/views/payment/forte_pos_service.dart diff --git a/android/app/build.gradle b/android/app/build.gradle index 70cd1f2..cb1eb9d 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -47,7 +47,7 @@ android { defaultConfig { applicationId "kz.com.aman.kassa" minSdkVersion 21 - targetSdkVersion 31 + targetSdkVersion 35 versionCode flutterVersionCode.toInteger() versionName flutterVersionName multiDexEnabled true diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 30e7277..e43c5c9 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -30,7 +30,8 @@ android:launchMode="singleTop" android:screenOrientation="portrait" android:theme="@style/LaunchTheme" - android:windowSoftInputMode="adjustResize"> + android:windowSoftInputMode="adjustResize" + android:exported="true">