mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-15 11:19:43 +02:00
Update invoice verification to use specific NocoDB table IDs
Refactor invoice verification service to correctly utilize `nocodbTableId` for NocoDB API calls, defaulting to 'mrr733dfb8wtt9b' if not provided. Updates column names for invoice and delivery slip searches to 'RefFacture' and 'Numero_BL' respectively. Also, corrects NocoDB configuration URLs and project IDs for production environments. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 7c468936-2a88-4686-ac0a-84921a45222d Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/7c468936-2a88-4686-ac0a-84921a45222d/t34W525
This commit is contained in:
1 parent
d7241e857e
commit
87c111741b
6 files changed
+356
-13
No files matched your search
+200
@@ -0,0 +1,200 @@
|
||||
}
|
||||
|
||||
🔍 Recherche NocoDB: {
|
||||
|
||||
url: 'https://nocodb.ffnancy.fr/api/v1/db/data/v1/pcg4uw79ukvycxc/CommandeF',
|
||||
|
||||
column: 'RefFacture',
|
||||
|
||||
value: '37424'
|
||||
|
||||
}
|
||||
|
||||
🔧 Configuration NocoDB active récupérée: {
|
||||
|
||||
id: 1,
|
||||
|
||||
name: 'Nocodb',
|
||||
|
||||
baseUrl: 'https://nocodb.ffnancy.fr',
|
||||
|
||||
projectId: 'pcg4uw79ukvycxc',
|
||||
|
||||
apiToken: 'z4BAwLo6dgoN_E7PKJSHN7PA7kdBePtKOYcsDlwQ',
|
||||
|
||||
description: '',
|
||||
|
||||
isActive: true,
|
||||
|
||||
createdBy: 'admin_local',
|
||||
|
||||
createdAt: 2025-07-22T11:12:54.971Z,
|
||||
|
||||
updatedAt: 2025-07-25T23:07:17.197Z
|
||||
|
||||
}
|
||||
|
||||
🔧 Configuration NocoDB trouvée: {
|
||||
|
||||
configName: 'Nocodb',
|
||||
|
||||
baseUrl: 'https://nocodb.ffnancy.fr',
|
||||
|
||||
projectId: 'pcg4uw79ukvycxc',
|
||||
|
||||
hasToken: true
|
||||
|
||||
}
|
||||
|
||||
🔍 Recherche NocoDB: {
|
||||
|
||||
url: 'https://nocodb.ffnancy.fr/api/v1/db/data/v1/pcg4uw79ukvycxc/CommandeF',
|
||||
|
||||
column: 'RefFacture',
|
||||
|
||||
value: '000752796'
|
||||
|
||||
}
|
||||
|
||||
✅ Résultat vérification: {
|
||||
|
||||
exists: false,
|
||||
|
||||
matchType: 'none',
|
||||
|
||||
errorMessage: 'Aucune correspondance trouvée dans NocoDB'
|
||||
|
||||
}
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
✅ Résultat vérification: {
|
||||
|
||||
exists: false,
|
||||
|
||||
matchType: 'none',
|
||||
|
||||
errorMessage: 'Aucune correspondance trouvée dans NocoDB'
|
||||
|
||||
}
|
||||
|
||||
✅ Résultat vérification: {
|
||||
|
||||
exists: false,
|
||||
|
||||
matchType: 'none',
|
||||
|
||||
errorMessage: 'Aucune correspondance trouvée dans NocoDB'
|
||||
|
||||
}
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
🔍 Recherche NocoDB: {
|
||||
|
||||
url: 'https://nocodb.ffnancy.fr/api/v1/db/data/v1/pcg4uw79ukvycxc/CommandeF',
|
||||
|
||||
column: 'Numero_BL',
|
||||
|
||||
value: 'F5164434'
|
||||
|
||||
}
|
||||
|
||||
POST /api/deliveries/38/verify-invoice 200 in 162ms
|
||||
|
||||
POST /api/deliveries/43/verify-invoice 200 in 167ms
|
||||
|
||||
POST /api/deliveries/11/verify-invoice 200 in 156ms
|
||||
|
||||
✅ Résultat vérification: {
|
||||
|
||||
exists: false,
|
||||
|
||||
matchType: 'none',
|
||||
|
||||
errorMessage: 'Aucune correspondance trouvée dans NocoDB'
|
||||
|
||||
}
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
POST /api/deliveries/33/verify-invoice 200 in 149ms
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
🔍 Recherche NocoDB: {
|
||||
|
||||
url: 'https://nocodb.ffnancy.fr/api/v1/db/data/v1/pcg4uw79ukvycxc/CommandeF',
|
||||
|
||||
column: 'Numero_BL',
|
||||
|
||||
value: '37424'
|
||||
|
||||
}
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
🔍 Recherche NocoDB: {
|
||||
|
||||
url: 'https://nocodb.ffnancy.fr/api/v1/db/data/v1/pcg4uw79ukvycxc/CommandeF',
|
||||
|
||||
column: 'Numero_BL',
|
||||
|
||||
value: '000752796'
|
||||
|
||||
}
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
✅ Résultat vérification: {
|
||||
|
||||
exists: false,
|
||||
|
||||
matchType: 'none',
|
||||
|
||||
errorMessage: 'Aucune correspondance trouvée dans NocoDB'
|
||||
|
||||
}
|
||||
|
||||
POST /api/deliveries/38/verify-invoice 200 in 166ms
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
✅ Résultat vérification: {
|
||||
|
||||
exists: false,
|
||||
|
||||
matchType: 'none',
|
||||
|
||||
errorMessage: 'Aucune correspondance trouvée dans NocoDB'
|
||||
|
||||
}
|
||||
|
||||
POST /api/deliveries/28/verify-invoice 200 in 154ms
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
✅ Résultat vérification: {
|
||||
|
||||
exists: false,
|
||||
|
||||
matchType: 'none',
|
||||
|
||||
errorMessage: 'Aucune correspondance trouvée dans NocoDB'
|
||||
|
||||
}
|
||||
|
||||
POST /api/deliveries/27/verify-invoice 200 in 166ms
|
||||
|
||||
HEAD /api/health 200 in 1ms
|
||||
|
||||
HEAD /api/health 200 in 1ms
|
||||
|
||||
HEAD /api/health 200 in 1ms
|
||||
|
||||
HEAD /api/health 200 in 2ms
|
||||
|
||||
+132
@@ -0,0 +1,132 @@
|
||||
matchType: 'none',
|
||||
|
||||
errorMessage: 'Aucune correspondance trouvée dans NocoDB'
|
||||
|
||||
}
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
✅ Résultat vérification: {
|
||||
|
||||
exists: false,
|
||||
|
||||
matchType: 'none',
|
||||
|
||||
errorMessage: 'Aucune correspondance trouvée dans NocoDB'
|
||||
|
||||
}
|
||||
|
||||
✅ Résultat vérification: {
|
||||
|
||||
exists: false,
|
||||
|
||||
matchType: 'none',
|
||||
|
||||
errorMessage: 'Aucune correspondance trouvée dans NocoDB'
|
||||
|
||||
}
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
🔍 Recherche NocoDB: {
|
||||
|
||||
url: 'https://nocodb.ffnancy.fr/api/v1/db/data/v1/pcg4uw79ukvycxc/CommandeF',
|
||||
|
||||
column: 'Numero_BL',
|
||||
|
||||
value: 'F5164434'
|
||||
|
||||
}
|
||||
|
||||
POST /api/deliveries/38/verify-invoice 200 in 162ms
|
||||
|
||||
POST /api/deliveries/43/verify-invoice 200 in 167ms
|
||||
|
||||
POST /api/deliveries/11/verify-invoice 200 in 156ms
|
||||
|
||||
✅ Résultat vérification: {
|
||||
|
||||
exists: false,
|
||||
|
||||
matchType: 'none',
|
||||
|
||||
errorMessage: 'Aucune correspondance trouvée dans NocoDB'
|
||||
|
||||
}
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
POST /api/deliveries/33/verify-invoice 200 in 149ms
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
🔍 Recherche NocoDB: {
|
||||
|
||||
url: 'https://nocodb.ffnancy.fr/api/v1/db/data/v1/pcg4uw79ukvycxc/CommandeF',
|
||||
|
||||
column: 'Numero_BL',
|
||||
|
||||
value: '37424'
|
||||
|
||||
}
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
🔍 Recherche NocoDB: {
|
||||
|
||||
url: 'https://nocodb.ffnancy.fr/api/v1/db/data/v1/pcg4uw79ukvycxc/CommandeF',
|
||||
|
||||
column: 'Numero_BL',
|
||||
|
||||
value: '000752796'
|
||||
|
||||
}
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
✅ Résultat vérification: {
|
||||
|
||||
exists: false,
|
||||
|
||||
matchType: 'none',
|
||||
|
||||
errorMessage: 'Aucune correspondance trouvée dans NocoDB'
|
||||
|
||||
}
|
||||
|
||||
POST /api/deliveries/38/verify-invoice 200 in 166ms
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
✅ Résultat vérification: {
|
||||
|
||||
exists: false,
|
||||
|
||||
matchType: 'none',
|
||||
|
||||
errorMessage: 'Aucune correspondance trouvée dans NocoDB'
|
||||
|
||||
}
|
||||
|
||||
POST /api/deliveries/28/verify-invoice 200 in 154ms
|
||||
|
||||
❌ Erreur réponse NocoDB: 404 Not Found
|
||||
|
||||
✅ Résultat vérification: {
|
||||
|
||||
exists: false,
|
||||
|
||||
matchType: 'none',
|
||||
|
||||
errorMessage: 'Aucune correspondance trouvée dans NocoDB'
|
||||
|
||||
}
|
||||
|
||||
POST /api/deliveries/27/verify-invoice 200 in 166ms
|
||||
|
||||
HEAD /api/health 200 in 1ms
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 243 KiB |
Reference in new issue
Block a user