app/views/dorsale/expense_gun/expenses/show.html.slim in dorsale-3.1.7 vs app/views/dorsale/expense_gun/expenses/show.html.slim in dorsale-3.2.0

- old
+ new

@@ -1,7 +1,7 @@ .expense_gun - .actions.top.hidden-print + .actions.top - if policy(@expense).update? = update_button dorsale.edit_expense_gun_expense_path(@expense) - if policy(@expense).copy? = copy_button dorsale.copy_expense_gun_expense_path(@expense) @@ -22,11 +22,11 @@ .panel.panel-default .panel-heading: .panel-title = @expense.t = " : " - = @expense.name + = @expense .panel-body = info @expense, :date = info @expense, :user = info @expense, :state @@ -59,7 +59,7 @@ = info @expense, :total_employee_payback, helper: :euros = info @expense, :total_vat_deductible, helper: :euros hr - .attachments-panel.hidden-print + .attachments-panel = attachments_for(@expense)