TINY PROD ISSUES

This commit is contained in:
Velz2020 2020-02-21 17:31:04 +05:30
parent a14f994a2c
commit 2fa1fd446d
3 changed files with 8 additions and 6 deletions

View File

@ -8205,10 +8205,11 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
if($person['is_person_met'] == true )
{
//print_r($person);die();
if(!$person['is_person_met_pic'])
{
$person_met_selfie_count++;
}
if(!$person['is_person_met_id_proof'])
@ -8232,8 +8233,8 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
}
//if(!$person_met_is_applicant_count && $sal_check == null){ $incomplete_details[] = 'General Section - Person met is not an applicant'; }
if(!$person_met_selfie_count && $sal_check == null){ $incomplete_details[] = 'General Section - Person met selfie image with PD officer not captured'; }
if(!$person_met_id_proof_count && $sal_check == null ){ $incomplete_details[] = 'General Section - Person met ID proof image not captured'; }
if($person_met_selfie_count && $sal_check == null){ $incomplete_details[] = 'General Section - Person met selfie image with PD officer not captured'; }
if($person_met_id_proof_count && $sal_check == null ){ $incomplete_details[] = 'General Section - Person met ID proof image not captured'; }
#####End of General Form Questions########

View File

@ -657,7 +657,7 @@ class Sales_PD_Controller extends REST_Controller {
{
case 1: //General section
//update Applicant ID and applicant Name to sales pD master Table
$applicant_id = '';
$applicant_id = null;
$applicant_name = '';
if($records['questions'])
{
@ -668,7 +668,7 @@ class Sales_PD_Controller extends REST_Controller {
$applicant_id = $g_value['answer_value'] ? $g_value['answer_value'] : 'Not Provided';
}
if($g_value['question_key'] == 'main_loan_applicant')
if($g_value['question_key'] == 'company_name')
{
$applicant_name = $g_value['answer_value'];
}
@ -690,6 +690,7 @@ class Sales_PD_Controller extends REST_Controller {
break;
case 4: //brief of business
break;
case 5: //Financial
break;

View File

@ -1871,7 +1871,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
echo '<tr> <th>Name of the Financial Insitution</th> <th>TID Number of POS machine</th> </tr>';
foreach($fetchRow['pos_machines_details'] as $pos)
{
echo '<tr> <td class="customtd">'.($pos['pos_machines_financial_institution_name'] ? $pos['pos_machines_financial_institution_name'] : 'Not Provided').'</td> <td class="customtd">'.(is_numeric($pos['tid_no_of_pos_machine']) ? $pos['tid_no_of_pos_machine'] : 'Not Provided').'</td> </tr>';
echo '<tr> <td class="customtd">'.($pos['pos_machines_financial_institution_name'] ? $pos['pos_machines_financial_institution_name'] : 'Not Provided').'</td> <td class="customtd">'.(($pos['tid_no_of_pos_machine']) ? $pos['tid_no_of_pos_machine'] : 'Not Provided').'</td> </tr>';
}
echo '</table>';
}