mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Invoice cancelling
This commit is contained in:
parent
56d7f9f2e2
commit
a26ce110b2
17 changed files with 113 additions and 25 deletions
|
@ -21,9 +21,15 @@
|
|||
%tr
|
||||
%td= link_to(x, [:admin, x])
|
||||
%td= link_to(x.buyer_name, admin_registrar_path(x.buyer_id))
|
||||
%td= l(x.due_date)
|
||||
- if x.cancelled?
|
||||
%td.text-grey= t('cancelled')
|
||||
- else
|
||||
%td= l(x.due_date)
|
||||
|
||||
- if x.binded?
|
||||
%td= l(x.receipt_date)
|
||||
- elsif x.cancelled?
|
||||
%td.text-grey= t('cancelled')
|
||||
- else
|
||||
%td.text-danger= t('unpaid')
|
||||
.row
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue