mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Remove unused db column
This commit is contained in:
parent
d34e6430a2
commit
5a68035818
5 changed files with 20 additions and 31 deletions
|
@ -3,7 +3,6 @@ class Invoice < ActiveRecord::Base
|
|||
include Concerns::Invoice::Cancellable
|
||||
include Concerns::Invoice::Payable
|
||||
|
||||
belongs_to :seller, class_name: 'Registrar'
|
||||
belongs_to :buyer, class_name: 'Registrar'
|
||||
has_one :account_activity
|
||||
has_many :items, class_name: 'InvoiceItem', dependent: :destroy
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
%th{class: 'col-xs-3'}= t(:total)
|
||||
%tbody
|
||||
- @invoices.each do |invoice|
|
||||
%tr.invoice
|
||||
%tr
|
||||
%td= link_to(invoice, [:registrar, invoice])
|
||||
- if invoice.paid?
|
||||
%td= l invoice.receipt_date
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue