Sha256: 89845f4982ee5863e24a98806d2122f688f6911238771f5b59d3e0031092a4af
Contents?: true
Size: 843 Bytes
Versions: 2
Compression:
Stored size: 843 Bytes
Contents
<% groups = [] groups.push( { title: 'Labor', lines: @invoice.lines.time_entry, footer: 'skus_table_labor_group_footer' } ) if @invoice.lines.time_entry.any? groups.push( { title: 'Non Labor', lines: @invoice.lines.product } ) if @invoice.lines.product.any? -%> % % % \begin{document} <%= partial( 'header', { location: @invoice.location, date: @invoice.invoice_date, form_title: "Invoice # #{@invoice.visible_id}" } ) %> \textbf{Invoice To:} \medskip \hspace*{3ex}{ <%=partial 'address', :address=>@invoice.billing_address %> \medskip <%=partial 'skus_table_invoice_info_line', invoice: @invoice -%> % <%=partial 'skus_table', line_template: 'skus_table_labor_line', headings_template: 'skus_table_labor_col_hdr', groups: groups.many? ? groups : false, record: @invoice, lines: @invoice.lines -%> % \end{document}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stockor-0.3.0 | templates/print/types/invoice/labor.tex.erb |
stockor-0.2 | templates/print/types/invoice/labor.tex.erb |