<tr class="payment-<?php echo strtolower($payment->res); ?>"> <?php if(Sentry::getUser()->hasAccess('admin.order.edit')): ?> <td class="col-xs-2"><?php echo link_to_route('admin.order.edit', $payment->vs, [$payment->vs], ['class' => 'order']); ?></td> <?php elseif(Sentry::getUser()->hasAccess('admin.order.show')): ?> <td class="col-xs-2"><?php echo link_to_route('admin.order.show', $payment->vs, [$payment->vs], ['class' => 'order']); ?></td> <?php else: ?> <td class="col-xs-2"><?php echo $payment->vs; ?></td> <?php endif; ?> <td class="col-xs-4"><?php echo date('d.m.Y H:i:s', strtotime($payment->created_at)); ?></td> <td class="col-xs-3 text-right"><?php echo number_format($payment->amt, 2, ',', ' '); ?> &euro;</td> <td class="col-xs-1 text-center"><?php echo $payment->res; ?></td> </tr>