Files
2025-03-12 17:06:23 +01:00

10 lines
319 B
PHP

<?php
if ($type == 'list')
{
echo $gift_card->getCurrency();
}
else
{
echo object_select_tag($gift_card->getCurrency() ? $gift_card->getCurrency() : stCurrency::getInstance($sf_context)->getBackendMainCurrency(), 'getId', array('control_name' => 'gift_card[currency_id]', 'related_class' => 'Currency'));
}
?>