CONTRACT_NOTIFY_COMPLETE
This commit is contained in:
@@ -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" );
|
||||
|
||||
Reference in New Issue
Block a user