<tr class="payment-<?php echo strtolower($payment->response); ?>"> <?php if(Sentry::getUser()->hasAccess('admin.order.edit')): ?> <td class="col-xs-2"><?php echo link_to_route('admin.order.edit', $payment->oid, [$payment->oid], ['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->oid, [$payment->oid], ['class' => 'order']); ?></td> <?php else: ?> <td class="col-xs-2"><?php echo $payment->oid; ?></td> <?php endif; ?> <td class="col-xs-2"><?php echo date('d.m.Y H:i:s', strtotime($payment->created_at)); ?></td> <td class="col-xs-2 text-right"><?php echo number_format($payment->amount, 2, ',', ' '); ?> &euro;</td> <td class="col-xs-1 text-center"><?php echo trans('admin.statuses.' . $payment->response); ?></td> <?php if(Sentry::getUser()->hasAccess('admin.payment-' . $tab . '.show')): ?> <td class="col-xs-1"> <?php echo Button::normal(trans('admin.buttons.details'))->asLinkTo(route('admin.payment-' . $tab . '.show', [$payment->id]))->extraSmall()->prependIcon(Icon::search()); ?> </td> <?php endif; ?> </tr>