mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Skip time on invoice pdf #2775
This commit is contained in:
parent
dd2019082e
commit
1a10b1400b
1 changed files with 4 additions and 4 deletions
|
@ -149,21 +149,21 @@
|
|||
%hr
|
||||
%dl.dl-horizontal
|
||||
%dt= t(:issue_date)
|
||||
%dd= l(@invoice.created_at)
|
||||
%dd= l(@invoice.created_at, format: :date_long)
|
||||
|
||||
- if @invoice.cancelled?
|
||||
%dt= t(:cancel_date)
|
||||
%dd= l(@invoice.cancelled_at)
|
||||
%dd= l(@invoice.cancelled_at, format: :date_long)
|
||||
|
||||
%dt= t(:due_date)
|
||||
- if @invoice.cancelled?
|
||||
%dd= t(:cancelled)
|
||||
- else
|
||||
%dd= l(@invoice.due_date)
|
||||
%dd= l(@invoice.due_date, format: :date_long)
|
||||
|
||||
%dt= t(:receipt_date)
|
||||
- if @invoice.binded?
|
||||
%dd= l(@invoice.receipt_date)
|
||||
%dd= l(@invoice.receipt_date, format: :date_long)
|
||||
- elsif @invoice.cancelled?
|
||||
%dd= t(:cancelled)
|
||||
- else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue