Actions
 
 
 
      
GET /api/dlc-products/stats 200 in 302ms

🔗 PRODUCTION: getOrders() récupéré 51 commandes avec relations

Orders returned: 51 items

GET /api/orders 200 in 434ms

GET /api/groups 200 in 346ms

🌤️ [RESPONSE] Weather data prepared: {

  hasCurrentYear: true,

  hasPreviousYear: true,

  location: 'Frouard, France'

}

GET /api/weather/current 200 in 446ms

📊 Statistiques calculées: {

  ordersCount: 20,

  deliveriesCount: 42,

  pendingOrdersCount: 8,

  averageDeliveryTime: 0.3611111111111111,

  totalPalettes: 120,

  totalPackages: 36

}

GET /api/stats/monthly 200 in 444ms

Orders API called with: {

  startDate: undefined,

  endDate: undefined,

  storeId: '1',

  userRole: 'admin'

}

Admin filtering with groupIds: [ 1 ]

Fetching all orders

Customer Orders API called with: { groupIds: [ 1 ], userRole: 'admin' }

Deliveries API called with: {

  startDate: undefined,

  endDate: undefined,

  storeId: '1',

  withBL: undefined,

  userRole: 'admin'

}

Admin filtering deliveries with groupIds: [ 1 ]

Fetching all deliveries

🔗 PRODUCTION: getDeliveries() récupéré 86 livraisons avec relations

Deliveries returned: 86 items

GET /api/deliveries 200 in 455ms

Customer Orders returned: 10 items

GET /api/customer-orders 200 in 132ms

🔗 PRODUCTION: getOrders() récupéré 33 commandes avec relations

Orders returned: 33 items

GET /api/orders 200 in 295ms

🔗 PRODUCTION: getDeliveries() récupéré 48 livraisons avec relations

Deliveries returned: 48 items

GET /api/deliveries 200 in 248ms

Error fetching announcements: error: relation "announcements" does not exist

    at /app/node_modules/pg-pool/index.js:45:11

    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

    at async file:///app/node_modules/drizzle-orm/node-postgres/session.js:83:22

    at async DatabaseStorage.getAnnouncements (file:///app/dist/index.js:2074:25)

    at async file:///app/dist/index.js:7420:30 {

  length: 113,

  severity: 'ERROR',

  code: '42P01',

  detail: undefined,

  hint: undefined,

  position: '829',

  internalPosition: undefined,

  internalQuery: undefined,

  where: undefined,

  schema: undefined,

  table: undefined,

  column: undefined,

  dataType: undefined,

  constraint: undefined,

  file: 'parse_relation.c',

  line: '1392',

  routine: 'parserOpenTable'

}

GET /api/announcements 500 in 7ms

Error fetching announcements: error: relation "announcements" does not exist

    at /app/node_modules/pg-pool/index.js:45:11

    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

    at async file:///app/node_modules/drizzle-orm/node-postgres/session.js:83:22

    at async DatabaseStorage.getAnnouncements (file:///app/dist/index.js:2074:25)

    at async file:///app/dist/index.js:7420:30 {

  length: 113,

  severity: 'ERROR',

  code: '42P01',

  detail: undefined,

  hint: undefined,

  position: '829',

  internalPosition: undefined,

  internalQuery: undefined,

  where: undefined,

  schema: undefined,

  table: undefined,

  column: undefined,

  dataType: undefined,

  constraint: undefined,

  file: 'parse_relation.c',

  line: '1392',

  routine: 'parserOpenTable'

}

GET /api/announcements 500 in 11ms

HEAD /api/health 200 in 1ms

