diff --git a/api/application/helpers/authorization_helper.php b/api/application/helpers/authorization_helper.php index 7738c7b5..54deff2a 100644 --- a/api/application/helpers/authorization_helper.php +++ b/api/application/helpers/authorization_helper.php @@ -9,7 +9,7 @@ class AUTHORIZATION if (!array_key_exists("Token",$headersData)) { - set_status_header(REST_CONTROLLER::HTTP_UNAUTHORIZED,"OK"); + set_status_header(REST_CONTROLLER::HTTP_UNAUTHORIZED,"Unauthorized"); $response['status']=false; $response['error']="Token not found!"; $custom_log_info = 'Token not found! '.'Token for Authendication Not Found. Request INFO - '. self::apiRequestInfo(); diff --git a/api/application/views/report_templates/JSONTOREPORT_CLIX.php b/api/application/views/report_templates/JSONTOREPORT_CLIX.php index be977dc4..72f1a9cf 100644 --- a/api/application/views/report_templates/JSONTOREPORT_CLIX.php +++ b/api/application/views/report_templates/JSONTOREPORT_CLIX.php @@ -1350,7 +1350,13 @@ defined('BASEPATH') OR exit('No direct script access allowed'); $bindEachResult["family_members_involved"]=$getFamilyMembers; } - $bindEachResult['total_per_of_export'] = $businessRow['export_sale_of_total_sales']; + $bindEachResult['total_per_of_export'] = $businessRow['export_sale_of_total_sales']; + + $bindEachResult['applicant_use_mobile_wallets'] = $businessRow['applicant_use_mobile_wallets']; + $bindEachResult['applicant_use_pos_machines'] = $businessRow['applicant_use_pos_machines']; + //$bindEachResult['applicant_use_pos_machines'] = $businessRow['applicant_use_pos_machines']; + $bindEachResult['pos_machines_details'] = isset($businessRow['pos_machines_details']) ? $businessRow['pos_machines_details']: null; + $bindEachResult['no_of_pos_machines'] = isset($businessRow['no_of_pos_machines']) ? $businessRow['no_of_pos_machines'] : null; // this is for manufacturing activities @@ -1813,6 +1819,34 @@ defined('BASEPATH') OR exit('No direct script access allowed'); + + As per Person(s) met, the applicant is using Mobile Wallets/UPI for business transactions.
'; + }//else + //{ + // echo 'As per person`s met,applicant using Mobile Wallets/UPI for business transactions.
' + //} + if(!strcasecmp($fetchRow['applicant_use_pos_machines'],'yes')) + { + echo 'The applicant has the following POS machines:
'; + echo '| Name of the Financial Insitution | TID Number of POS machine |
|---|---|
| '.($pos['pos_machines_financial_institution_name'] ? $pos['pos_machines_financial_institution_name'] : 'Not Provided').' | '.(is_numeric($pos['tid_no_of_pos_machine']) ? $pos['tid_no_of_pos_machine'] : 'Not Provided').' |
Out of total sales done by ".$name_of_the_company .", ".$vals[0]."% is done on credit.
"; } + else + { + $activities = ''; + foreach ($done_on_credit as $dkey => $dvalue) + { + $activities .= $dkey.' '.$dvalue.'%, '; + } + $activities = substr_replace($activities,' ', -2); + $activities = substr_replace($activities,' and ',strripos($activities,','),2); + + echo "Out of total sales done by ".$name_of_the_company .", ".$activities."are done on credit.
"; + } + + } //CLient Photo Section @@ -2939,15 +3021,21 @@ defined('BASEPATH') OR exit('No direct script access allowed'); echo $supplier_third_row; echo $supplier_fourth_row; - if($pd_master_details[0]['product_abbr'] != 'BL' && $pd_master_details[0]['product_abbr'] != 'LAEP') + if($pd_master_details[0]['lender_short_name'] == 'MWISE') { echo $supplier_fifth_row; echo $supplier_sixth_row; echo $supplier_seventh_row; - echo $supplier_eigth_row; + } ?> + + @@ -4008,7 +4096,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); The table below lists the details of Existing Loan Obligations of the Loan Applicants.