orgacode_fix #4

Merged
waqas.khurshid merged 1 commits from project_run into pre_developmnet_branch 1 week ago

@ -561,7 +561,7 @@ class AppRemoteDataSource {
Future<ServerResponse> getCurrencyList() { Future<ServerResponse> getCurrencyList() {
Map<String, Object> queryParams = {}; Map<String, Object> queryParams = {};
queryParams["porOrgacode"] = "0005"; queryParams["porOrgacode"] = "1962";
return ServerRequest.request( return ServerRequest.request(
RequestAttr.withHeaderAndParams(UrlContants.fetchUcoDepositProducts, HttpMethod.GET, {}, queryParams), RequestAttr.withHeaderAndParams(UrlContants.fetchUcoDepositProducts, HttpMethod.GET, {}, queryParams),

@ -1,6 +1,6 @@
class RequestConstants { class RequestConstants {
// static const String porOrgacode = "0004"; // Genish // static const String porOrgacode = "0004"; // Genish
static const String porOrgacode = "0005"; // BEMO static const String porOrgacode = "1962"; // BEMO
static const String pctCstycode = "I"; static const String pctCstycode = "I";
static const String channelCode = "01"; static const String channelCode = "01";
static const String plcLocacode = "plcLocacode"; static const String plcLocacode = "plcLocacode";

@ -499,7 +499,7 @@ class InputField extends GetView {
} else if (isPrefixRequired) { } else if (isPrefixRequired) {
return (prefixCode ?? "") + controller!.text; return (prefixCode ?? "") + controller!.text;
} }
return controller!.text; return controller?.text ?? "";
} }
} }

@ -41,7 +41,7 @@ class AddMoneyController extends GetxController {
late InputField searchAccount; late InputField searchAccount;
late InputField userTransactionPinField; late InputField userTransactionPinField = InputField();
List<DepositAccount> accountList = List.from(SessionCache.instance.depositAccountList); List<DepositAccount> accountList = List.from(SessionCache.instance.depositAccountList);

@ -77,7 +77,7 @@ class AddMoneyView extends GetView<AddMoneyController> {
child: Container( child: Container(
color: AppColors.transparent, color: AppColors.transparent,
child: SizedBox( child: SizedBox(
width: 130, width: 92,
height: 60, height: 60,
child: Row( child: Row(
children: [ children: [
@ -87,7 +87,7 @@ class AddMoneyView extends GetView<AddMoneyController> {
controller.selectedFromAccountCurrency.value.dmpProdshort, controller.selectedFromAccountCurrency.value.dmpProdshort,
style: context.textTheme.bodyMedium!.copyWith(fontSize: 16, color: AppColors.colorPrimary, fontWeight: FontWeight.w600), style: context.textTheme.bodyMedium!.copyWith(fontSize: 16, color: AppColors.colorPrimary, fontWeight: FontWeight.w600),
), ),
const SizedBox(width: 105), const SizedBox(width: 6),
Image.asset(AppAssets.drop_down_ic, width: 10, height: 10), Image.asset(AppAssets.drop_down_ic, width: 10, height: 10),
const SizedBox(width: 6), const SizedBox(width: 6),
], ],

@ -32,7 +32,7 @@ class OTPScreenController extends GetxController {
super.onReady(); super.onReady();
var arguments = Get.arguments; var arguments = Get.arguments;
firstStepData = (arguments != null ? arguments[AppConstants.SIGN_UP_FIRST_STEP_DATA] ?? AuthenticationRequest.empty() : AuthenticationRequest.empty()); firstStepData = (arguments != null ? arguments[AppConstants.SIGN_UP_FIRST_STEP_DATA] ?? AuthenticationRequest.empty() : AuthenticationRequest.empty());
loginUsingFingerPrint = arguments[1]; loginUsingFingerPrint = arguments[1] ?? false;
pinPutController.text = ""; pinPutController.text = "";
} }

Loading…
Cancel
Save