mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
Added monthly status to invoices
This commit is contained in:
parent
00b6c3aa49
commit
1ab66e68df
5 changed files with 11 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<%= f.label t(:status) %>
|
||||
<%= select_tag :status, options_for_select(%w(Paid Unpaid Cancelled),params[:status]),
|
||||
<%= select_tag :status, options_for_select(%w(Paid Unpaid Cancelled Monthly),params[:status]),
|
||||
{ multiple: false, include_blank: true, selected: params[:status], class: 'form-control selectize'} %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
%td= l invoice.receipt_date
|
||||
- elsif invoice.cancelled?
|
||||
%td.text-grey= t(:cancelled)
|
||||
- elsif invoice.monthly_invoice
|
||||
%td= l invoice.issue_date
|
||||
- else
|
||||
%td.text-danger= t(:unpaid)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue