From c151505c223370eb7a884abb477b9ddc0e7364a3 Mon Sep 17 00:00:00 2001 From: bsiggel Date: Thu, 26 Mar 2026 00:30:12 +0100 Subject: [PATCH] Update lastSyncTimestamp field in CDokumente metadata; adjust microtime values in config and state files --- .../Custom/Resources/metadata/entityDefs/CDokumente.json | 6 ++++-- data/config.php | 2 +- data/state.php | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/custom/Espo/Custom/Resources/metadata/entityDefs/CDokumente.json b/custom/Espo/Custom/Resources/metadata/entityDefs/CDokumente.json index cba8e270..f42bc16e 100644 --- a/custom/Espo/Custom/Resources/metadata/entityDefs/CDokumente.json +++ b/custom/Espo/Custom/Resources/metadata/entityDefs/CDokumente.json @@ -122,10 +122,12 @@ "isCustom": true }, "lastSyncTimestamp": { + "notNull": false, "type": "datetime", "tooltip": true, - "readOnly": true, - "isCustom": true + "readOnly": false, + "isCustom": true, + "minuteStep": 30 }, "advowareArt": { "type": "varchar", diff --git a/data/config.php b/data/config.php index 44dd7663..0b4a5125 100644 --- a/data/config.php +++ b/data/config.php @@ -360,7 +360,7 @@ return [ 0 => 'youtube.com', 1 => 'google.com' ], - 'microtime' => 1774473866.020977, + 'microtime' => 1774474438.570734, 'siteUrl' => 'https://crm.bitbylaw.com', 'fullTextSearchMinLength' => 4, 'webSocketUrl' => 'ws://api.bitbylaw.com:5000/espocrm/ws', diff --git a/data/state.php b/data/state.php index f2121648..a1763a41 100644 --- a/data/state.php +++ b/data/state.php @@ -1,7 +1,7 @@ 1774473866, - 'microtimeState' => 1774473866.194744, + 'cacheTimestamp' => 1774479720, + 'microtimeState' => 1774479720.604303, 'currencyRates' => [ 'EUR' => 1.0 ],