diff --git a/api/application/config/api_user_auth_config.php b/api/application/config/api_user_auth_config.php index e2bc5e50..bbf223a8 100644 --- a/api/application/config/api_user_auth_config.php +++ b/api/application/config/api_user_auth_config.php @@ -32,7 +32,7 @@ $config['api_user_auth_info'] = array( 'saveNewUser' => array(10), 'updateExistUser' => array(10), //'getUsersDetails' => array(), -'triggerNewPD' => array(1,2,3,10,11,12,13,1,15,16,17,18,19,20), +//'triggerNewPD' => array(1,2,3,10,11,12,13,1,15,16,17,18,19,20), //'updatePDMaster' => array(1,2,3,10,11,12,13,1,15,16,17,18,19,20), 'updatePDDocs' => array(1,2,3,10,11,12,13,1,15,16,17,18,19,20), 'updatePDApplicants' => array(1,2,3,10,11,12,13,1,15,16,17,18,19,20), diff --git a/api/application/controllers/PD_Controller.php b/api/application/controllers/PD_Controller.php index 527bc1ff..36b7db35 100644 --- a/api/application/controllers/PD_Controller.php +++ b/api/application/controllers/PD_Controller.php @@ -2235,9 +2235,9 @@ class PD_Controller extends REST_Controller { $records = $this->saveCoApplicantsFromGeneralInfoForm($records); if(!count($inline_forms_photo_status_check)) { - // $records = INLINEPHOTOTRANSFORM::retransformGeneralFormInlinePhotos($records); - // //update general form photos saved once - // $this->PD_Model->saveRecords(array('fk_pd_id' => $pdid,'is_general_photo_saved' => 1),T_PD_INLINE_PHOTO_FORM_STATUS); + $records = INLINEPHOTOTRANSFORM::retransformGeneralFormInlinePhotos($records); + //update general form photos saved once + $this->PD_Model->saveRecords(array('fk_pd_id' => $pdid,'is_general_photo_saved' => 1),T_PD_INLINE_PHOTO_FORM_STATUS); } @@ -2282,7 +2282,7 @@ class PD_Controller extends REST_Controller { $where_condition_array['rental_count_id'] = $rental_count_id; } - //$id = $this->PD_Model->updateRecords($fields,PDFORMDETAILSJSON,$where_condition_array); + $id = $this->PD_Model->updateRecords($fields,PDFORMDETAILSJSON,$where_condition_array); /*****Call Form Specific funcitons to convert RAW JSON Data to Processed JSON DATA******/ @@ -7782,7 +7782,7 @@ class PD_Controller extends REST_Controller { //print_r($score);die(); $score_questions_display = $this->PD_Model->getScoreableQuestionToDispaly($pdid); $t = $this->load->view('report_templates/scorecard',array('pd_score' => $score,'score_questions_display' => $score_questions_display),true); - echo $t;die(); + //echo $t;die(); $data['dataStatus'] = true; $data['status'] = REST_Controller::HTTP_OK; diff --git a/api/application/docs/sample.pdf b/api/application/docs/sample.pdf index 46097315..2862345f 100644 Binary files a/api/application/docs/sample.pdf and b/api/application/docs/sample.pdf differ diff --git a/api/application/views/report_templates/JSONTOREPORT.php b/api/application/views/report_templates/JSONTOREPORT.php index 8f167ad3..432c9dbe 100644 --- a/api/application/views/report_templates/JSONTOREPORT.php +++ b/api/application/views/report_templates/JSONTOREPORT.php @@ -484,11 +484,18 @@ defined('BASEPATH') OR exit('No direct script access allowed');
Disclaimer: The information contained in this report (a) is provided for the benefit of Clix Capital Services Private Limited (hereinafter referred to as Clix) only, and is not for the benefit of any other parties; (b) has been compiled by Sineedge Consulting Private Limited (Hereinafter referred as SCPL) in accordance with the instructions given, by Clix; (c) has been obtained during the visit done at premises as instructed by Clix. Some of the information in this report, by the very nature of it, might have been obtained through informal sources. SCPL wishes to mention that all due care has been exercised by SCPL in collecting information and putting together this report. However, given the nature of some of these verifications, SCPL cannot be held liable for any financial or other loss to Clix on account of any errors or omissions in the report. SCPL does not guarantee absolute accuracy of information contained herein. SCPL does not take any responsibility for any action(s) that the client may take based on the contents of this report.
'; + echo 'Disclaimer: The information contained in this report (a) is provided for the benefit of Clix Capital Services Private Limited (hereinafter referred to as Clix) only, and is not for the benefit of any other parties; (b) has been compiled by Sineedge Consulting Private Limited (Hereinafter referred as SCPL) in accordance with the instructions given, by Clix; (c) has been obtained during the visit done at premises as instructed by Clix. Some of the information in this report, by the very nature of it, might have been obtained through informal sources. SCPL wishes to mention that all due care has been exercised by SCPL in collecting information and putting together this report. However, given the nature of some of these verifications, SCPL cannot be held liable for any financial or other loss to Clix on account of any errors or omissions in the report. SCPL does not guarantee absolute accuracy of information contained herein. SCPL does not take any responsibility for any action(s) that the client may take based on the contents of this report.
'; } + + echo 'Registered / Corporate Office: SineEdge Consulting Private Limited. A-211, Pioneer Urban Square, Golf Course Extension Road, Sector 62, Gurgaon, Haryana - 122002
'; ?> @@ -1088,15 +1095,15 @@ defined('BASEPATH') OR exit('No direct script access allowed'); if(isset($final_remark_data['outlet_location'])) { - if($final_remark_data['sealing_activity'] == 'heavy_footfall') + if($final_remark_data['outlet_location'] == 'heavy_footfall') { echo 'Out of total purchases done by ". $company_name_for_supplier_form_dispaly .", ". $total_payments_percent_on_credit_for_supplier ." % is done on credit in advance rest on delivery.
"; + echo "Out of total purchases done by ". $company_name_for_supplier_form_dispaly .", ". $total_payments_percent_on_credit_for_supplier ." % is done on credit.
"; //in advance rest on delivery. } } @@ -2770,7 +2778,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); $stock_form_remarks = ''; if(isset($pd_processed_forms[11][$business_count])) { - $stRow = $pd_processed_forms[11][$business_count]; + $stRow = $pd_processed_forms[11][$business_count]; $stockRow = json_decode($stRow['processed_json'],true); //print_r($stockRow); $stock_form_remarks = $stockRow['stock_remarks']; @@ -3904,34 +3912,36 @@ defined('BASEPATH') OR exit('No direct script access allowed'); echo 'Annexure A
'; if(isset($ai_core_details) && count($ai_core_details['sales_items_by_monthwise'])) { - echo "Kuchha Sales Book/Bills Details:
'; //print_r($ai_core_details_processed['sales_month_wise_to_display']);die(); foreach($ai_core_details_processed['sales_month_wise_to_display'] as $sale_month_wise) { - echo '| ';
+ echo ' ';
//echo ' ';
echo '';
//}
|