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