Compare commits
4 Commits
5281861053
...
1cdae8c4b3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1cdae8c4b3 | ||
|
|
0d01252d86 | ||
|
|
6430fbe707 | ||
|
|
f50d5deb60 |
4
.replit
4
.replit
@ -19,6 +19,10 @@ externalPort = 80
|
|||||||
localPort = 33035
|
localPort = 33035
|
||||||
externalPort = 3001
|
externalPort = 3001
|
||||||
|
|
||||||
|
[[ports]]
|
||||||
|
localPort = 39567
|
||||||
|
externalPort = 6000
|
||||||
|
|
||||||
[[ports]]
|
[[ports]]
|
||||||
localPort = 41295
|
localPort = 41295
|
||||||
externalPort = 5173
|
externalPort = 5173
|
||||||
|
|||||||
Binary file not shown.
BIN
database-backups/vigilanzaturni_v1.0.48_20251023_160305.sql.gz
Normal file
BIN
database-backups/vigilanzaturni_v1.0.48_20251023_160305.sql.gz
Normal file
Binary file not shown.
@ -3708,7 +3708,7 @@ export async function registerRoutes(app: Express): Promise<Server> {
|
|||||||
.where(
|
.where(
|
||||||
and(
|
and(
|
||||||
eq(shiftAssignments.guardId, routeData.guardId),
|
eq(shiftAssignments.guardId, routeData.guardId),
|
||||||
eq(shifts.shiftDate, routeData.shiftDate)
|
sql`DATE(${shifts.startTime}) = ${routeData.shiftDate}`
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
.limit(1);
|
.limit(1);
|
||||||
@ -3729,7 +3729,6 @@ export async function registerRoutes(app: Express): Promise<Server> {
|
|||||||
siteId: stop.siteId,
|
siteId: stop.siteId,
|
||||||
sequenceOrder: index + 1,
|
sequenceOrder: index + 1,
|
||||||
estimatedArrivalTime: stop.estimatedArrivalTime || null,
|
estimatedArrivalTime: stop.estimatedArrivalTime || null,
|
||||||
notes: stop.notes || null,
|
|
||||||
}));
|
}));
|
||||||
|
|
||||||
await db.insert(patrolRouteStops).values(stopsData);
|
await db.insert(patrolRouteStops).values(stopsData);
|
||||||
@ -3769,7 +3768,6 @@ export async function registerRoutes(app: Express): Promise<Server> {
|
|||||||
siteId: stop.siteId,
|
siteId: stop.siteId,
|
||||||
sequenceOrder: index + 1,
|
sequenceOrder: index + 1,
|
||||||
estimatedArrivalTime: stop.estimatedArrivalTime || null,
|
estimatedArrivalTime: stop.estimatedArrivalTime || null,
|
||||||
notes: stop.notes || null,
|
|
||||||
}));
|
}));
|
||||||
|
|
||||||
await db.insert(patrolRouteStops).values(stopsData);
|
await db.insert(patrolRouteStops).values(stopsData);
|
||||||
|
|||||||
10
version.json
10
version.json
@ -1,7 +1,13 @@
|
|||||||
{
|
{
|
||||||
"version": "1.0.47",
|
"version": "1.0.48",
|
||||||
"lastUpdate": "2025-10-23T15:51:51.675Z",
|
"lastUpdate": "2025-10-23T16:03:23.268Z",
|
||||||
"changelog": [
|
"changelog": [
|
||||||
|
{
|
||||||
|
"version": "1.0.48",
|
||||||
|
"date": "2025-10-23",
|
||||||
|
"type": "patch",
|
||||||
|
"description": "Deployment automatico v1.0.48"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "1.0.47",
|
"version": "1.0.47",
|
||||||
"date": "2025-10-23",
|
"date": "2025-10-23",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user