DIRCHECK SALES PD APP ID
This commit is contained in:
parent
9a8792c731
commit
6adeda862a
@ -9,24 +9,24 @@ class EXTERNAL_DIR_CHECK
|
|||||||
public static function checkExternalDirectory($pd_id = null) //$msg,$data,$log_type
|
public static function checkExternalDirectory($pd_id = null) //$msg,$data,$log_type
|
||||||
{
|
{
|
||||||
//echo 'EXTERNAL_DIR_CHECK called';
|
//echo 'EXTERNAL_DIR_CHECK called';
|
||||||
$path = $_SERVER['DOCUMENT_ROOT'].'/ssa_external_data';
|
$path = XLPATH;
|
||||||
if(!file_exists($path))
|
if(!file_exists($path))
|
||||||
{
|
{
|
||||||
mkdir($path,0761);
|
mkdir($path,0777);
|
||||||
}
|
}
|
||||||
|
|
||||||
$path .='/'.ENVIRONMENT;
|
// $path .='/'.ENVIRONMENT;
|
||||||
if(!file_exists($path))
|
// if(!file_exists($path))
|
||||||
{
|
// {
|
||||||
mkdir($path,0761);
|
// mkdir($path,0761);
|
||||||
}
|
// }
|
||||||
|
|
||||||
$array = array($path.'/ci_logs',$path.'/api_request_logs',$path.'/app_logs',$path.'/pd_reports',$path.'/sales_pd',$path.'/sales_pd_logs');
|
$array = array($path.'/ci_logs',$path.'/api_request_logs',$path.'/app_logs',$path.'/pd_reports',$path.'/sales_pd',$path.'/sales_pd_logs');
|
||||||
foreach ($array as $key => $value)
|
foreach ($array as $key => $value)
|
||||||
{
|
{
|
||||||
if(!file_exists($value))
|
if(!file_exists($value))
|
||||||
{
|
{
|
||||||
mkdir($value,0761);
|
mkdir($value,0777);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -84,7 +84,9 @@ public static function getOtherLoanDetails($data,$pdid){
|
|||||||
|
|
||||||
$first_row .= $tag['loan_type']==1 ? '<td class="customtd">'.$tag['others_loan_type'].'</td>' : '<td class="customtd">'.$tag['loan_type_master'] .'</td>';
|
$first_row .= $tag['loan_type']==1 ? '<td class="customtd">'.$tag['others_loan_type'].'</td>' : '<td class="customtd">'.$tag['loan_type_master'] .'</td>';
|
||||||
|
|
||||||
$second_row .= '<td class="customtd">'.$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($tag['loan_amount']).'</td>';
|
|
||||||
|
$loan_amt = $tag['loan_amount'] ? $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($tag['loan_amount']) : 'Not Provided';
|
||||||
|
$second_row .= '<td class="customtd">'.$loan_amt.'</td>';
|
||||||
|
|
||||||
//$third_row = '<td class="customtd">'.MYUTIL::customIndianNumberFormat($tag['loan_amount']).'</td>';
|
//$third_row = '<td class="customtd">'.MYUTIL::customIndianNumberFormat($tag['loan_amount']).'</td>';
|
||||||
|
|
||||||
|
|||||||
@ -115,7 +115,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="3"> Application ID</td>
|
<td colspan="3"> Application ID</td>
|
||||||
<td class = "tdcenteralign" colspan="7"> <?php echo $section1['application_id']?> </td>
|
<td class = "tdcenteralign" colspan="7"> <?php echo $section1['application_id'] ? $section1['application_id'] : 'Not Provided'?> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user