Sha256: 570b0a84737db9d0d26811e54ea1e9e53e2596c1be18a1ef505b0affd8052953

Contents?: true

Size: 623 Bytes

Versions: 1

Compression:

Stored size: 623 Bytes

Contents

= contextual_links

%h1= t_title

= render 'persons/show', :vcard => resource.vcard

.contextual
  = icon_link_to :new, new_debit_invoice_path(:invoice => {:customer_id => resource})

%h2= t('title.open_invoices')
= render 'debit_invoices/list', :debit_invoices => @open_debit_invoices

%h2= t('title.paid_invoices')
= render 'debit_invoices/list', :debit_invoices => @paid_debit_invoices

.contextual
  = icon_link_to :new, new_customer_attachment_path(resource), :remote => true
%h3= t('title.attachments')

- @attachments = resource.attachments
#attachments_list
  = render 'attachments/list' unless @attachments.empty?

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bookyt-0.0.1 app/views/customers/show.html.haml