Show ticket Teamspace totals
This commit is contained in:
1 parent
0325631d02
commit
cfc4ef45a8
2 files changed
+11
-4
No files matched your search
@@ -665,7 +665,7 @@ async function getPeriodTicket(config: PeriodConfig, period: ParsedPeriod, ticke
|
||||
const periodClosureJoin =
|
||||
config.type === "month"
|
||||
? "LEFT JOIN month_closures pc ON pc.month = $3::date AND pc.user_id = $2"
|
||||
: "LEFT JOIN (SELECT NULL::timestamptz AS closed_at) pc ON true";
|
||||
: "LEFT JOIN (SELECT $3::date AS period_start, NULL::timestamptz AS closed_at) pc ON true";
|
||||
const ticketResult = await query(
|
||||
`
|
||||
SELECT
|
||||
|
||||
Reference in new issue
Block a user