       <span class='ttag #{data.status}'>#{data.status.toUpperCase()}</span>
     </td>
     <td class='ccard'>
-      <span class='icon #{data.cardType.toLowerCase().replace(' ', '-')}'></span>...#{data.cardNumber.split("...")[1]}
+      <span class='icon #{data.cardType.toLowerCase().replace(' ', '-')}'></span>...#{data.cardNumber}
     </td>
     """

    @removeAllItems()
    @showLazyLoader no

    transactions = []
    JPayment.fetchTransactions (err, trans=[]) =>
      warn err  if err

      for t in trans when t.amount + t.tax > 0
        {status, createdAt, card, cardType, cardNumber, owner, refundable} = t
        amount = @utils.formatMoney (t.amount + t.tax) / 100
        transactions.push {
          status, cardType, cardNumber, owner, refundable, amount
          currency : 'USD'
          paidVia  : card or ''
        }

      @instantiateListItems transactions
      @hideLazyLoader()

  loadView:->


  viewAppended:->
    super

    @addSubView editLink = new KDCustomHTMLView
      tagName      : 'a'
      partial      : 'View invoice'
