CONTRACT_NOTIFY_COMPLETE

This commit is contained in:
CHIEFSOFT\ameye
2023-06-13 20:33:58 -04:00
parent 00ad0b38b2
commit 05eb4b04ab
+2 -2
View File
@@ -50,12 +50,12 @@ long WrenchContractStatus( CVars in, CVars &out )
long job_action = REQ_LONG( in, "job_action", 1, -1 );
out["result"] = "Yes i go to this back end";
long extension = 0;
logfmt( logINFO, "~~~~ ~~~~~ WrenchContractStatus() job_action == %lu", job_action);
long retF = load_db_record( out, "SELECT id AS contract_id FROM members_jobs_contract WHERE contract='%s' AND uid = '%s'",in["contract"].c_str(),in["contract_uid"].c_str());
if (retF){
if ( out["contract_id"].Long() > 0 ){
logfmt( logINFO, "~~~~ ~~~~~ WrenchContractStatus() ID found =%lu", out["contract_id"].Long());
}
else{
logfmt( logINFO, "~~~~ ~~~~~ WrenchContractStatus() ID not found 001" );