WIP
This commit is contained in:
parent
835da52da0
commit
7f7159776b
|
@ -215,8 +215,6 @@ class _VisitsOnThePropertyState extends State<VisitsOnTheProperty> with TickerPr
|
||||||
uItem['VTA_VALIDADE'] ?? '',
|
uItem['VTA_VALIDADE'] ?? '',
|
||||||
'${FFLocalizations.of(context).getVariableText(ptText: "Motivo", enText: "Reason")}:':
|
'${FFLocalizations.of(context).getVariableText(ptText: "Motivo", enText: "Reason")}:':
|
||||||
uItem['MOT_DESCRICAO'][0].toUpperCase() + uItem['MOT_DESCRICAO'].substring(1).toLowerCase(),
|
uItem['MOT_DESCRICAO'][0].toUpperCase() + uItem['MOT_DESCRICAO'].substring(1).toLowerCase(),
|
||||||
if (uItem['VTA_DTFIM'] != '')
|
|
||||||
'${FFLocalizations.of(context).getVariableText(ptText: "Saída", enText: "Exit")}:': uItem['VTA_DTFIM'] ?? '',
|
|
||||||
},
|
},
|
||||||
statusHashMap: [
|
statusHashMap: [
|
||||||
if (uItem['VTA_FIXA'] == true)
|
if (uItem['VTA_FIXA'] == true)
|
||||||
|
@ -233,20 +231,6 @@ class _VisitsOnThePropertyState extends State<VisitsOnTheProperty> with TickerPr
|
||||||
enText: 'Single Entry',
|
enText: 'Single Entry',
|
||||||
): FlutterFlowTheme.of(context).success,
|
): FlutterFlowTheme.of(context).success,
|
||||||
},
|
},
|
||||||
if (uItem['VTA_DTFIM'] != '')
|
|
||||||
{
|
|
||||||
FFLocalizations.of(context).getVariableText(
|
|
||||||
ptText: 'Finalizada',
|
|
||||||
enText: 'Finished',
|
|
||||||
): FlutterFlowTheme.of(context).success,
|
|
||||||
},
|
|
||||||
if (uItem['VTA_DTFIM'] == '')
|
|
||||||
{
|
|
||||||
FFLocalizations.of(context).getVariableText(
|
|
||||||
ptText: 'Em aberto',
|
|
||||||
enText: 'Opened',
|
|
||||||
): FlutterFlowTheme.of(context).warning,
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
onTapCardItemAction: () async {
|
onTapCardItemAction: () async {
|
||||||
await showDialog(
|
await showDialog(
|
||||||
|
|
|
@ -231,11 +231,7 @@ class SQLiteStorageHelper implements Storage {
|
||||||
DatabaseConfig.columnCreatedAt: DateTime.now().toIso8601String(),
|
DatabaseConfig.columnCreatedAt: DateTime.now().toIso8601String(),
|
||||||
};
|
};
|
||||||
|
|
||||||
final result = await db.insert(
|
final result = await db.insert(DatabaseConfig.tableKeychain, data, conflictAlgorithm: ConflictAlgorithm.replace);
|
||||||
DatabaseConfig.tableKeychain,
|
|
||||||
data,
|
|
||||||
conflictAlgorithm: ConflictAlgorithm.replace,
|
|
||||||
);
|
|
||||||
log('Value $value set for key: $key with result: $result');
|
log('Value $value set for key: $key with result: $result');
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue