enhanced return
This commit is contained in:
@@ -1148,7 +1148,11 @@ long WrenchConcludeJobsOffer(CVars in, CVars &out) {
|
|||||||
/*
|
/*
|
||||||
READ OUT THE CONTRACT
|
READ OUT THE CONTRACT
|
||||||
*/
|
*/
|
||||||
load_db_record(out, "SELECT id AS contact_id, uid as contract_uid,contract FROM members_jobs_contract WHERE id = %lu", contract_id);
|
load_db_record(out, "SELECT c.id AS contact_id, c.uid as contract_uid, c.contract,j.description AS job_description, j.timeline_days,j.price,cc.description AS currency "
|
||||||
|
" FROM members_jobs_contract c "
|
||||||
|
" LEFT JOIN members_jobs j ON j.id = c.job_id "
|
||||||
|
" LEFT JOIN currency cc ON cc.country = j.country "
|
||||||
|
" WHERE c.id = %lu", contract_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user