app/views/tb_checkout/admin/transactions/show.html.erb in tb_checkout-1.0.5 vs app/views/tb_checkout/admin/transactions/show.html.erb in tb_checkout-1.0.6
- old
+ new
@@ -6,19 +6,21 @@
<th>User</th>
<th>Invoice Number</th>
<th>Transaction ID</th>
<th>Card</th>
<th>Amount Charged</th>
+ <th>Date</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<td><%= @transaction.cart.user_full_name %></td>
<td><%= @transaction.invoice_num %></td>
<td><%= @transaction.gateway_transaction_id %></td>
<td><%= @transaction.card_display %> (<%= @transaction.card_type %>)</td>
<td><%= number_to_currency @transaction.amount_charged %></td>
+ <td><%= @transaction.created_at.strftime('%D %-l:%M %p') %></td>
<td><%= tb_checkout_status_label_for_transaction(@transaction.status) %></td>
</tbody>
</table>
</div>
@@ -72,5 +74,9 @@
<td><%= number_to_currency @transaction.cart.total_price %></td>
</tr>
</tfoot>
</table>
</div>
+
+<h3>API Response Text</h3>
+
+<%= debug @transaction.response_json %>