require_once('BLL/IsinBLL.php'); require_once('BLL/CurrencyBLL.php'); require_once('BLL/FundPortFolioBLL.php'); $objISIN=new IsinClass($db); $arrISIN=$objISIN->GetIsinUsingArray(); $objCurrency=new CurrencyClass($db); $arrCurrency=$objCurrency->GetCurrencyUsingArray(); if(isset($_POST['fund_transfer'])){ $msg=""; if($_POST['Client-ID']!="") { $objFP=new FundPortfolioClass($db); $objFP->id_client=$_POST['Client-ID']; $objFP->id_isin=$_POST['security1']; $objFP->currency=$_POST['currency_hid']; $objFP->fund_name=$_POST['Name']; $objFP->custody_ac=$_POST['custody-ac']; $objFP->credit=$_POST['credit']; $objFP->credit_date=$_POST['valuec']; $objFP->credit_ref=$_POST['reference_c']; $objFP->debit=$_POST['debit']; $objFP->debit_date=$_POST['valued']; $objFP->debit_ref=$_POST['reference_d']; $objFP->created_by=$_SESSION['login'];
$isin=$_POST['security1']; $objFundPortFolio=new FundPortfolioClass($db); $objFundPortFolio->id_client=$client; if($isin!="" && $isin>0)