first commit

This commit is contained in:
2025-03-12 17:06:23 +01:00
commit 2241f7131f
13185 changed files with 1692479 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
class stProductEdit
{
public static function getCurrency()
{
$arr = array();
$currencies = CurrencyPeer::doSelect(new Criteria());
foreach ($currencies as $currency)
{
if ($currency->getIsSystemCurrency())
{
$arr['system_currency_id'] = $currency->getId();
}
$arr['exchange_rates'][$currency->getId()] = $currency->getExchangeBackend();
$arr['select_options'][$currency->getId()] = $currency->getNameBackend();
}
$arr['exchange_rates'] = json_encode($arr['exchange_rates']);
return $arr;
}
}