{block name="account-credit"}
    <div class="row">
        <div class="col-xs-12 col-sm-12">
            <div class="panel panel-default">
                <div class="panel-body">
                    {$sdDigitalTranslations.digitalMoneyMyAccountTitle}
                    <strong>{$smarty.session.Kunde->sdDigitalMoneyCount|number_format:2:",":"."}</strong>
                    {if $smarty.session.Kunde->sdDigitalMoneyCount > 0}
                        &nbsp;{$sdDigitalTranslations.digitalMoneyFor}&nbsp;
                        <strong>{$smarty.session.Kunde->sdDigitalMoney}</strong>
                    {/if}
                    <br> <br>
                    {if !empty($sdExpiredBonusesList) }
                        {foreach $sdExpiredBonusesList  as $value}
                            <div>
                                <small>
                                    {$sdDigitalTranslations.expiredBonusMessage|printf:{$value->nGuthaben|number_format:2:",":"."}:"":{substr($value->expiredAt,0,10)|date_format:"%d.%m.%Y"}|substr:0:-2}
                                </small>
                            </div>
                        {/foreach}
                    {/if}
                </div>
            </div>
        </div>
    </div>
{/block}
