chore: update app version to 1.3.39+35, change build mode to release, and enhance role handling in authentication logic for improved user experience
This commit is contained in:
@@ -869,11 +869,11 @@ class CreateInspectionBottomSheetLogic extends GetxController
|
||||
hatchingTemperatureController.text;
|
||||
submitInspectionResponse?.generalConditionHall?.drinkingWaterQuality =
|
||||
waterQuality.value;
|
||||
submitInspectionResponse?.casualties?.abnormalLosses = int.parse(
|
||||
abnormalLossesController.text,
|
||||
submitInspectionResponse?.casualties?.abnormalLosses = int.tryParse(
|
||||
abnormalLossesController.text.clearComma,
|
||||
);
|
||||
submitInspectionResponse?.casualties?.normalLosses = int.parse(
|
||||
normalLossesController.text,
|
||||
submitInspectionResponse?.casualties?.normalLosses = int.tryParse(
|
||||
normalLossesController.text.clearComma,
|
||||
);
|
||||
|
||||
if (isOthercauseOfUnusualCasualties.value) {
|
||||
@@ -926,13 +926,13 @@ class CreateInspectionBottomSheetLogic extends GetxController
|
||||
submitInspectionResponse?.infrastructureEnergy?.additionalNotes =
|
||||
additionalNotesController.text;
|
||||
|
||||
submitInspectionResponse?.hr?.numberEmployed = int.parse(
|
||||
submitInspectionResponse?.hr?.numberEmployed = int.tryParse(
|
||||
employedWorkersCountController.text.clearComma,
|
||||
);
|
||||
submitInspectionResponse?.hr?.numberIndigenous = int.parse(
|
||||
submitInspectionResponse?.hr?.numberIndigenous = int.tryParse(
|
||||
nativeWorkersCountController.text.clearComma,
|
||||
);
|
||||
submitInspectionResponse?.hr?.numberNonIndigenous = int.parse(
|
||||
submitInspectionResponse?.hr?.numberNonIndigenous = int.tryParse(
|
||||
nonNativeWorkersCountController.text.clearComma,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user