Gab Social. All are welcome.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
%tr
|
||||
%td= transaction.id
|
||||
%td= transaction.created_at
|
||||
%td= transaction.payment_type
|
||||
%td= transaction.provider_type
|
||||
%td= number_to_currency(transaction.amount / 100)
|
||||
%td
|
||||
= table_link_to 'download', t('billing.transactions.download_invoice'), "test"
|
||||
22
app/views/settings/billing/transactions/index.html.haml
Normal file
22
app/views/settings/billing/transactions/index.html.haml
Normal file
@@ -0,0 +1,22 @@
|
||||
- content_for :page_title do
|
||||
= t('settings.transactions')
|
||||
|
||||
%p= t('billing.transactions.explanation_html')
|
||||
%p= "You are PRO and your subscription ends at " + current_account.pro_expires_at.to_s if current_account.is_pro
|
||||
|
||||
- unless @transactions.empty?
|
||||
%hr.spacer/
|
||||
|
||||
.table-wrapper
|
||||
%table.table
|
||||
%thead
|
||||
%tr
|
||||
%th= t('billing.transactions.id')
|
||||
%th= t('billing.transactions.date')
|
||||
%th= t('billing.transactions.type')
|
||||
%th= t('billing.transactions.provider_type')
|
||||
%th= t('billing.transactions.amount')
|
||||
%th= t('billing.transactions.status')
|
||||
%th
|
||||
%tbody
|
||||
= render partial: 'settings/billing/transactions/transaction', collection: @transactions, as: :transaction
|
||||
4
app/views/settings/billing/upgrade/index.html.haml
Normal file
4
app/views/settings/billing/upgrade/index.html.haml
Normal file
@@ -0,0 +1,4 @@
|
||||
- content_for :page_title do
|
||||
= t('settings.upgrade')
|
||||
|
||||
%p= t('billing.upgrade.explanation_html')
|
||||
Reference in New Issue
Block a user