![]() |
iLink App - Backoffice
2.0.0
|
Variables | |
$context = new \Brick\Money\Context\AutoContext() | |
$baseCurrency = 'USD' | |
$pdo = new PDO('mysql:host=' . $this->db->hostname . ';dbname=' . $this->db->database, $this->db->username, $this->db->password) | |
$configuration = new PDOProviderConfiguration() | |
$configuration | tableName = 'exchange_rate' |
$configuration | exchangeRateColumnName = 'exchange_rate' |
$configuration | targetCurrencyColumnName = 'target_currency' |
$configuration | sourceCurrencyCode = $baseCurrency |
$provider = new PDOProvider($pdo, $configuration) | |
$converter = new CurrencyConverter($provider) | |
$site_url = base_url() | |
if ( $alert=="ok") | |
$result = $countries | |
if($result) | else |
if($showResult) if(isset($error_simulateur)) if(isset($message_code)) if(isset($montant_retrait)) | $currency = @$d->currency_code ? @$d->currency_code : 'XAF' |
$moneyComAg = Money::of(round(@$com_ag, 2),$currency,$context) | |
$moneyComSup = Money::of(round(@$com_sup, 2),$currency,$context) | |
$moneyComHyp = Money::of(round(@$com_hyp, 2),$currency,$context) | |
$moneyComBq = Money::of(round(@$com_bq, 2),$currency,$context) | |
$baseCurrency = 'USD' |
$configuration = new PDOProviderConfiguration() |
$context = new \Brick\Money\Context\AutoContext() |
$converter = new CurrencyConverter($provider) |
if ( $showResult) if (isset( $error_simulateur)) if (isset( $message_code)) if (isset( $montant_retrait)) $currency = @$d->currency_code ? @$d->currency_code : 'XAF' |
$moneyComAg = Money::of(round(@$com_ag, 2),$currency,$context) |
$moneyComBq = Money::of(round(@$com_bq, 2),$currency,$context) |
$moneyComHyp = Money::of(round(@$com_hyp, 2),$currency,$context) |
$moneyComSup = Money::of(round(@$com_sup, 2),$currency,$context) |
$pdo = new PDO('mysql:host=' . $this->db->hostname . ';dbname=' . $this->db->database, $this->db->username, $this->db->password) |
$provider = new PDOProvider($pdo, $configuration) |
$result = $countries |
$site_url = base_url() |
if ( $result) else |
$configuration exchangeRateColumnName = 'exchange_rate' |
if($alert=="ok") |
$configuration sourceCurrencyCode = $baseCurrency |
$configuration tableName = 'exchange_rate' |
$configuration targetCurrencyColumnName = 'target_currency' |