'Representation method for the payment details field
@param data: the payment data (from get_payment_data)'

def payment_data_represent(self, data):

    if data:
        output = TABLE(_class='payment-details')
        for payment in data:
            details = TR(TD(payment['d'], _class='payment-date'), TD(payment['c'], _class='payment-currency'), TD(payment['a'], _class='payment-amount'))
            output.append(details)
    else:
        output = current.T('No    pending    payments')
    return output
