Merge branch 'develop' into feat/fd-1023
This commit is contained in:
commit
528b3ad0f5
|
@ -1380,7 +1380,7 @@ class GetDadosCall {
|
||||||
cache: false,
|
cache: false,
|
||||||
isStreamingApi: false,
|
isStreamingApi: false,
|
||||||
alwaysAllowBody: false,
|
alwaysAllowBody: false,
|
||||||
);
|
).timeout(const Duration(seconds: 30));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool? errorBolean(dynamic response) => castToType<bool>(getJsonField(
|
bool? errorBolean(dynamic response) => castToType<bool>(getJsonField(
|
||||||
|
|
|
@ -11,7 +11,7 @@ class ScheduleProvisionalVisitPageModel extends FlutterFlowModel<ScheduleProvisi
|
||||||
String cliUUID = '';
|
String cliUUID = '';
|
||||||
String devUUID = '';
|
String devUUID = '';
|
||||||
String userUUID = '';
|
String userUUID = '';
|
||||||
String cliName = '';
|
String ownerName = '';
|
||||||
String ownerUUID = '';
|
String ownerUUID = '';
|
||||||
VoidCallback? setState;
|
VoidCallback? setState;
|
||||||
|
|
||||||
|
@ -140,8 +140,7 @@ class ScheduleProvisionalVisitPageModel extends FlutterFlowModel<ScheduleProvisi
|
||||||
devUUID = (await StorageHelper().get(KeychainStorageKey.devUUID.value)) ?? '';
|
devUUID = (await StorageHelper().get(KeychainStorageKey.devUUID.value)) ?? '';
|
||||||
userUUID = (await StorageHelper().get(KeychainStorageKey.userUUID.value)) ?? '';
|
userUUID = (await StorageHelper().get(KeychainStorageKey.userUUID.value)) ?? '';
|
||||||
cliUUID = (await StorageHelper().get(KeychainStorageKey.clientUUID.value)) ?? '';
|
cliUUID = (await StorageHelper().get(KeychainStorageKey.clientUUID.value)) ?? '';
|
||||||
;
|
ownerName = (await StorageHelper().get(KeychainStorageKey.ownerName.value)) ?? '';
|
||||||
cliName = (await StorageHelper().get(KeychainStorageKey.clientName.value)) ?? '';
|
|
||||||
ownerUUID = (await StorageHelper().get(KeychainStorageKey.ownerUUID.value)) ?? '';
|
ownerUUID = (await StorageHelper().get(KeychainStorageKey.ownerUUID.value)) ?? '';
|
||||||
setState?.call();
|
setState?.call();
|
||||||
}
|
}
|
||||||
|
|
|
@ -153,7 +153,7 @@ class _ScheduleProvisionalVisitPageWidgetState extends State<ScheduleProvisional
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsetsDirectional.fromSTEB(15.0, 0.0, 0.0, 0.0),
|
padding: const EdgeInsetsDirectional.fromSTEB(15.0, 0.0, 0.0, 0.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
model.cliName,
|
model.ownerName,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
style: FlutterFlowTheme.of(context).bodyMedium.override(
|
style: FlutterFlowTheme.of(context).bodyMedium.override(
|
||||||
|
|
|
@ -43,6 +43,11 @@ class VisitsModel extends FlutterFlowModel<VehicleOnTheProperty> {
|
||||||
return DetailsComponentWidget(
|
return DetailsComponentWidget(
|
||||||
buttons: [],
|
buttons: [],
|
||||||
labelsHashMap: Map<String, String>.from({
|
labelsHashMap: Map<String, String>.from({
|
||||||
|
if (item['VTA_NOME'] != null && item['VTA_NOME'] != '')
|
||||||
|
'${FFLocalizations.of(context).getVariableText(
|
||||||
|
ptText: "Nome",
|
||||||
|
enText: "Name",
|
||||||
|
)}:': item['VTA_NOME'].toString().toUpperCase(),
|
||||||
if (item['MOT_DESCRICAO'] != null && item['MOT_DESCRICAO'] != '')
|
if (item['MOT_DESCRICAO'] != null && item['MOT_DESCRICAO'] != '')
|
||||||
'${FFLocalizations.of(context).getVariableText(
|
'${FFLocalizations.of(context).getVariableText(
|
||||||
ptText: "Motivo",
|
ptText: "Motivo",
|
||||||
|
|
Loading…
Reference in New Issue