|
@@ -12,6 +12,7 @@ import 'package:cpt_form/modules/apply/type_of_application_page.dart';
|
|
|
import 'package:cpt_form/modules/apply/vehicle_info_page.dart';
|
|
|
import 'package:cs_resources/generated/assets.dart';
|
|
|
import 'package:cs_resources/generated/l10n.dart';
|
|
|
+import 'package:plugin_basic/provider/user_config/user_config_service.dart';
|
|
|
|
|
|
//每一种 formType 对应的详情页面类型
|
|
|
enum DetailPageType {
|
|
@@ -164,7 +165,7 @@ class FormTypes {
|
|
|
],
|
|
|
'detail_data': {
|
|
|
'note_management_txt': '${S.current.car_cancel_txt}\n\n${S.current.car_cancel_txt_1}\n${S.current.car_cancel_txt_2}',
|
|
|
- 'signature_txt': S.current.signature_vehicle,
|
|
|
+ 'signature_txt': S.current.car_cancel_signature_txt(UserConfigService.getState().getDefaultEstateName() ?? "-"),
|
|
|
}
|
|
|
},
|
|
|
//Moving In
|
|
@@ -208,7 +209,7 @@ class FormTypes {
|
|
|
],
|
|
|
'detail_data': {
|
|
|
'note_management_txt': S.current.overnight_parking_msg,
|
|
|
- 'signature_txt': S.current.signature_vehicle,
|
|
|
+ 'signature_txt': S.current.signature_vehicle(UserConfigService.getState().getDefaultEstateName() ?? "-"),
|
|
|
}
|
|
|
},
|
|
|
//Registration of 2nd Vehicle
|
|
@@ -224,7 +225,7 @@ class FormTypes {
|
|
|
'detail_data': {
|
|
|
'attachment_txt': '${S.current.label_txt}\n\n${S.current.label_txt_1}\n\n${S.current.label_txt_2}\n\n${S.current.label_txt_3}',
|
|
|
'note_management_txt': S.current.moving_in_msg,
|
|
|
- 'signature_txt': S.current.signature_vehicle,
|
|
|
+ 'signature_txt': S.current.signature_vehicle(UserConfigService.getState().getDefaultEstateName() ?? "-"),
|
|
|
}
|
|
|
},
|
|
|
//Renovation
|
|
@@ -259,7 +260,7 @@ class FormTypes {
|
|
|
'detail_data': {
|
|
|
'attachment_txt': '${S.current.label_txt}\n\n${S.current.label_txt_1}\n\n${S.current.label_txt_2}\n\n${S.current.label_txt_3}',
|
|
|
'note_management_txt': S.current.moving_in_msg,
|
|
|
- 'signature_txt': S.current.signature_vehicle,
|
|
|
+ 'signature_txt': S.current.signature_vehicle(UserConfigService.getState().getDefaultEstateName() ?? "-"),
|
|
|
}
|
|
|
},
|
|
|
//Re-Registration of 1st Vehicle-Owner
|
|
@@ -275,7 +276,7 @@ class FormTypes {
|
|
|
'detail_data': {
|
|
|
'attachment_txt': '${S.current.label_txt}\n\n${S.current.label_txt_1}\n\n${S.current.label_txt_2}\n\n${S.current.label_txt_3}',
|
|
|
'note_management_txt': S.current.moving_in_msg,
|
|
|
- 'signature_txt': S.current.signature_vehicle,
|
|
|
+ 'signature_txt': S.current.signature_vehicle(UserConfigService.getState().getDefaultEstateName() ?? "-"),
|
|
|
}
|
|
|
},
|
|
|
//Re-Registration of Bicycles
|
|
@@ -307,7 +308,7 @@ class FormTypes {
|
|
|
'detail_data': {
|
|
|
'attachment_txt': '${S.current.label_txt}\n\n${S.current.label_txt_1}\n\n${S.current.label_txt_2}\n\n${S.current.label_txt_3}',
|
|
|
'note_management_txt': S.current.label_replace_note,
|
|
|
- 'signature_txt': S.current.signature_vehicle,
|
|
|
+ 'signature_txt': S.current.signature_vehicle(UserConfigService.getState().getDefaultEstateName() ?? "-"),
|
|
|
}
|
|
|
},
|
|
|
};
|