From 325af7d73e5eeba334d440b5f1ad88975477e4eb Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 20 Sep 2024 18:45:21 -0400 Subject: [PATCH] offer_code --- wrenchboard/src/shared_tool/site_crons.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrenchboard/src/shared_tool/site_crons.cc b/wrenchboard/src/shared_tool/site_crons.cc index 988b7c16..03ff4865 100644 --- a/wrenchboard/src/shared_tool/site_crons.cc +++ b/wrenchboard/src/shared_tool/site_crons.cc @@ -360,7 +360,7 @@ if ( mode == 300 ){ } const PGresult *res = pgsql_query("SELECT jo.id AS offer_id,jo.added,j.title,jo.expire,to_char(jo.expire, 'Dy Mon dd, yyyy HH:MI AM') AS expire_formated, jo.email, jo.client_id, " - "jo.job_id,jo.reminder_count,jo.reminder_date,jo.email AS firstname, jo.email AS rec_username,j.description AS job_description " + "jo.job_id,jo.reminder_count,jo.reminder_date,jo.email AS firstname, jo.email AS rec_username,j.description AS job_description ,j.timeline_days,j.price, jo.offer_code " "FROM members_jobs_offer jo " "LEFT JOIN members_jobs j ON j.id = jo.job_id " " %s AND jo.reminder_count < 4 LIMIT %lu ",extraQ, limit);