Kapcsolat hozzáadása koordinátával a terepbejárás térképen.
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
This commit is contained in:
@@ -108,6 +108,10 @@ class ContactService extends GetxService {
|
||||
'phone': c.phone.trim(),
|
||||
'email': c.email.trim(),
|
||||
'note': c.note.trim(),
|
||||
'lat': c.lat,
|
||||
'lon': c.lon,
|
||||
'eov_y': c.eovY,
|
||||
'eov_x': c.eovX,
|
||||
'created_at': DateTime.now().toIso8601String(),
|
||||
});
|
||||
return true; // várólistán
|
||||
@@ -160,6 +164,10 @@ class ContactService extends GetxService {
|
||||
'phone': m['phone'],
|
||||
'email': m['email'],
|
||||
'note': m['note'],
|
||||
'lat': m['lat'],
|
||||
'lon': m['lon'],
|
||||
'eov_y': m['eov_y'],
|
||||
'eov_x': m['eov_x'],
|
||||
}, onConflict: 'client_uuid', ignoreDuplicates: true);
|
||||
|
||||
// Sikeres felküldés → a lokális példány törölhető.
|
||||
|
||||
Reference in New Issue
Block a user