CFPL docs changes in report : ps

This commit is contained in:
Sanjeev 2021-04-17 12:17:03 +05:30
parent 2801535a9e
commit 35988fa761
4 changed files with 36 additions and 29 deletions

View File

@ -52,7 +52,13 @@ public static function getanchordetails($loan_form){
$anchor_details_display[] = array('particulars' => "Reason for such debit/credit notes",'details' => ucfirst($loan_form['debitcredit_notes']) );
}
$anchor_details_display[] = array('particulars' => "Value of stock related to Anchor (".$rupee_symbol.")",'details' => $rupee_symbol." ".$stock_related_amt.' ('.MYUTIL::numtowords($loan_form['stock_related_anchor']).')');
$anchor_details_display[] = array('particulars' => "Observations on Sample Invoices",'details' => $loan_form['sample_invoices'] );
$anchor_details_display[] = array('particulars' => "Observations on Sample Invoices",'details' => ucfirst($loan_form['sample_invoices']) );
if($loan_form['sample_invoices']=='yes'){
$anchor_details_display[] = array('particulars' => "Observations on Invoice and lorry receipts",'details' => ucfirst($loan_form['sampleinvoices_yes']) );
}
if($loan_form['sample_invoices']=='no'){
$anchor_details_display[] = array('particulars' => "Reason for no sample invoices",'details' => ucfirst($loan_form['sampleinvoices_no']) );
}
return $anchor_details_display;
// print_r($anchor_details_display);
}

View File

@ -1358,6 +1358,7 @@ if ( isset($pdf) ) {
$loan_table_dispaly_rows[] = array('particulars' => 'Address of the property','details' => $address_of_owner_seller_property );
}
//print_r($loan_table_dispaly_rows);
if($pd_master_details[0]['lender_short_name'] != 'CFPL'){
?>
<br><br>
<table class="scorecard_table_resonal_assest">
@ -1371,11 +1372,8 @@ if ( isset($pdf) ) {
?>
</tbody>
</table>
<?php
//
echo "<br><br>".$loan_form['loandetails_remarks'];
?>
<?php if($pd_master_details[0]['lender_short_name'] == 'CFPL'){
<?php }
if($pd_master_details[0]['lender_short_name'] == 'CFPL'){
$anchor_details_display = array();
$anchor_details_display=Loanform::getanchordetails($loan_form);
?>
@ -1391,7 +1389,10 @@ if ( isset($pdf) ) {
?>
</tbody>
</table>
<?php } ?>
<?php }
//
echo "<br><br>".$loan_form['loandetails_remarks'];
?>
<!-- ####################### End of Loan Details Details Section ############################-->
@ -2261,9 +2262,9 @@ if($total_no_of_business > 0) {
if($pd_master_details[0]['lender_short_name'] == 'CFPL'){
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Turnover in last completed Year",'details' => isset($businessFinancialRow['turnover_lastcomplete_year'])?$businessFinancialRow['turnover_lastcomplete_year']: null );
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "YTD turnover (till last month)",'details' => isset($businessFinancialRow['ytd_turnover'])?$businessFinancialRow['ytd_turnover']: null );
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall debtor collection period",'details' => isset($businessFinancialRow['deptor_collection_period'])?$businessFinancialRow['deptor_collection_period']: null );
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall Inventory holding period",'details' => isset($businessFinancialRow['inventory_holding_period'])?$businessFinancialRow['inventory_holding_period']: null );
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall creditor payment period",'details' => isset($businessFinancialRow['creditor_payment_period'])?$businessFinancialRow['creditor_payment_period']: null );
// $bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall debtor collection period",'details' => isset($businessFinancialRow['deptor_collection_period'])?$businessFinancialRow['deptor_collection_period']: null );
// $bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall Inventory holding period",'details' => isset($businessFinancialRow['inventory_holding_period'])?$businessFinancialRow['inventory_holding_period']: null );
// $bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall creditor payment period",'details' => isset($businessFinancialRow['creditor_payment_period'])?$businessFinancialRow['creditor_payment_period']: null );
}
array_push($businessFinancialResult,$bindBusinessFinancial);

View File

@ -1352,7 +1352,7 @@ if ( isset($pdf) ) {
$loan_table_dispaly_rows[] = array('particulars' => 'Address of the property','details' => $address_of_owner_seller_property );
}
//print_r($loan_table_dispaly_rows);
?>
if($pd_master_details[0]['lender_short_name'] != 'CFPL'){ ?>
<br><br>
<table class="scorecard_table_resonal_assest">
<tr> <th style="text-align:center;">S.No</th> <th><?php echo $loan_word;?> Particulars</th> <th><?php echo $loan_word;?> Particular Details</th> </tr>
@ -1365,11 +1365,8 @@ if ( isset($pdf) ) {
?>
</tbody>
</table>
<?php
//
echo "<br><br>".$loan_form['loandetails_remarks'];
?>
<?php if($pd_master_details[0]['lender_short_name'] == 'CFPL'){
<?php }
if($pd_master_details[0]['lender_short_name'] == 'CFPL'){
$anchor_details_display = array();
$anchor_details_display=Loanform::getanchordetails($loan_form);
?>
@ -1385,7 +1382,9 @@ if ( isset($pdf) ) {
?>
</tbody>
</table>
<?php } ?>
<?php }
echo "<br><br>".$loan_form['loandetails_remarks'];
?>
<!-- ####################### End of Loan Details Details Section ############################-->
@ -2255,9 +2254,9 @@ if($total_no_of_business > 0) {
if($pd_master_details[0]['lender_short_name'] == 'CFPL'){
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Turnover in last completed Year",'details' => isset($businessFinancialRow['turnover_lastcomplete_year'])?$businessFinancialRow['turnover_lastcomplete_year']: null );
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "YTD turnover (till last month)",'details' => isset($businessFinancialRow['ytd_turnover'])?$businessFinancialRow['ytd_turnover']: null );
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall debtor collection period",'details' => isset($businessFinancialRow['deptor_collection_period'])?$businessFinancialRow['deptor_collection_period']: null );
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall Inventory holding period",'details' => isset($businessFinancialRow['inventory_holding_period'])?$businessFinancialRow['inventory_holding_period']: null );
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall creditor payment period",'details' => isset($businessFinancialRow['creditor_payment_period'])?$businessFinancialRow['creditor_payment_period']: null );
// $bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall debtor collection period",'details' => isset($businessFinancialRow['deptor_collection_period'])?$businessFinancialRow['deptor_collection_period']: null );
// $bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall Inventory holding period",'details' => isset($businessFinancialRow['inventory_holding_period'])?$businessFinancialRow['inventory_holding_period']: null );
// $bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall creditor payment period",'details' => isset($businessFinancialRow['creditor_payment_period'])?$businessFinancialRow['creditor_payment_period']: null );
}
array_push($businessFinancialResult,$bindBusinessFinancial);

View File

@ -1355,6 +1355,7 @@ if ( isset($pdf) ) {
$loan_table_dispaly_rows[] = array('particulars' => 'Address of the property','details' => $address_of_owner_seller_property );
}
//print_r($loan_table_dispaly_rows);
if($pd_master_details[0]['lender_short_name'] != 'CFPL'){
?>
<br><br>
<table class="scorecard_table_resonal_assest">
@ -1368,11 +1369,8 @@ if ( isset($pdf) ) {
?>
</tbody>
</table>
<?php
//
echo "<br><br>".$loan_form['loandetails_remarks'];
?>
<?php if($pd_master_details[0]['lender_short_name'] == 'CFPL'){
<?php }
if($pd_master_details[0]['lender_short_name'] == 'CFPL'){
$anchor_details_display = array();
$anchor_details_display=Loanform::getanchordetails($loan_form);
?>
@ -1388,7 +1386,10 @@ if ( isset($pdf) ) {
?>
</tbody>
</table>
<?php } ?>
<?php }
//
echo "<br><br>".$loan_form['loandetails_remarks'];
?>
<!-- ####################### End of Loan Details Details Section ############################-->
@ -2259,9 +2260,9 @@ if($total_no_of_business > 0) {
if($pd_master_details[0]['lender_short_name'] == 'CFPL'){
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Turnover in last completed Year",'details' => isset($businessFinancialRow['turnover_lastcomplete_year'])?$businessFinancialRow['turnover_lastcomplete_year']: null );
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "YTD turnover (till last month)",'details' => isset($businessFinancialRow['ytd_turnover'])?$businessFinancialRow['ytd_turnover']: null );
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall debtor collection period",'details' => isset($businessFinancialRow['deptor_collection_period'])?$businessFinancialRow['deptor_collection_period']: null );
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall Inventory holding period",'details' => isset($businessFinancialRow['inventory_holding_period'])?$businessFinancialRow['inventory_holding_period']: null );
$bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall creditor payment period",'details' => isset($businessFinancialRow['creditor_payment_period'])?$businessFinancialRow['creditor_payment_period']: null );
// $bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall debtor collection period",'details' => isset($businessFinancialRow['deptor_collection_period'])?$businessFinancialRow['deptor_collection_period']: null );
// $bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall Inventory holding period",'details' => isset($businessFinancialRow['inventory_holding_period'])?$businessFinancialRow['inventory_holding_period']: null );
// $bindBusinessFinancial['cfpl_lender_details'][] = array('name' => "Overall creditor payment period",'details' => isset($businessFinancialRow['creditor_payment_period'])?$businessFinancialRow['creditor_payment_period']: null );
}
array_push($businessFinancialResult,$bindBusinessFinancial);