{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 isset($smarty.session.Kunde->sdExpiredBonusesList) }
                        <small>
                        {foreach from=$smarty.session.Kunde->sdExpiredBonusesList item=value}

                               {if $value->expiredAt}
                                   {$sdDigitalTranslations.expiredBonusMessage|printf:{$value->nGuthaben|number_format:2:",":"."}:"":{substr($value->expiredAt,0,10)|date_format:"%d.%m.%Y"}|substr:0:-2}
                                   <br>
                               {/if}

                        {/foreach}
                        </small>
                    {/if}
                </div>
            </div>
        </div>
    </div>
{/block}