strict_timeline

This commit is contained in:
CHIEFSOFT\ameye
2024-10-02 17:47:42 -04:00
parent 84996198e1
commit 4c817b4b91
+5 -2
View File
@@ -1088,7 +1088,10 @@ long WrenchConcludeJobsOffer(CVars in, CVars &out) {
}
load_db_record(out, "SELECT jo.member_id AS owner_member_id,jo.id AS offer_id, j.id AS job_id,jo.added::date AS added_date,j.title,j.description, j.timeline_days, j.price,jo.offer_code,jo.job_description,jo.expire FROM members_jobs_offer jo LEFT JOIN members_jobs j ON j.id = jo.job_id WHERE jo.expire > now() AND jo.status = 1 AND jo.client_id = %lu AND jo.offer_code='%s'", in["member_id"].Long(), in["offer_code"].c_str());
load_db_record(out, "SELECT jo.strict_timeline, jo.member_id AS owner_member_id,jo.id AS offer_id, j.id AS job_id,jo.added::date AS added_date,j.title,j.description, j.timeline_days, j.price,jo.offer_code,jo.job_description,jo.expire "
" FROM members_jobs_offer jo LEFT JOIN members_jobs j ON j.id = jo.job_id "
" WHERE jo.expire > now() AND jo.status = 1 "
" AND jo.client_id = %lu AND jo.offer_code='%s'", in["member_id"].Long(), in["offer_code"].c_str());
in["offer_id"] = out["offer_id"];
@@ -1136,7 +1139,7 @@ long WrenchConcludeJobsOffer(CVars in, CVars &out) {
x["strict_timeline"] = out["strict_timeline"];
x["strict_timeline"].set_valid(true);
x["loc"] = loc;
x["loc"].set_valid(true);
//x[""] = out[""]; x[""].set_valid( true );