no refund
This commit is contained in:
@@ -1218,15 +1218,16 @@ long WrenchConcludeJobsOffer(CVars in, CVars &out) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( offer_result == OFFER_NOREFU){
|
if ( offer_result == OFFER_NOREFU){
|
||||||
|
logfmt(logINFO, "********* NO REFUND ************* NO REFUND WrenchConcludeJobsOffer() rc=FOUND");
|
||||||
pgsql_exec("UPDATE members_jobs_offer SET status = 4 WHERE id = %lu AND offer_code='%s' ", offer_id, in["offer_code"].c_str());
|
pgsql_exec("UPDATE members_jobs_offer SET status = 4 WHERE id = %lu AND offer_code='%s' ", offer_id, in["offer_code"].c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (WrenchRefundoffer(y, out) == PHP_CREATED_OK) {
|
// if (WrenchRefundoffer(y, out) == PHP_CREATED_OK) {
|
||||||
pgsql_exec("UPDATE members_jobs_offer SET status = 4 WHERE id = %lu AND offer_code='%s' ", offer_id, in["offer_code"].c_str());
|
// pgsql_exec("UPDATE members_jobs_offer SET status = 4 WHERE id = %lu AND offer_code='%s' ", offer_id, in["offer_code"].c_str());
|
||||||
// REFUND THE MONEY
|
// // REFUND THE MONEY
|
||||||
//job_email(JOBS_OFFER_CANCEL_MAIL, in, out); // the email will come from offer table
|
// //job_email(JOBS_OFFER_CANCEL_MAIL, in, out); // the email will come from offer table
|
||||||
}
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user